Type Definitions
Course
Properties:
Name | Type | Description |
---|---|---|
The |
string | id of this course. |
learningLanguage |
Language | The language taught in this course. |
fromLanguage |
Language | The native/UI language of this course. |
phase |
integer | The release state of the course:
|
progress |
integer | How complete the course is. |
usersCount |
integer | The number of users taking the course. |
Item
Properties:
Name | Type | Description |
---|---|---|
id |
string | The item's id. |
type |
string | The item's category, e.g. "misc" or "outfit". |
name |
string | The item's display name. |
description |
string | The item's description. |
price |
integer | The cost to purchase this item. |
Language
Properties:
Name | Type | Description |
---|---|---|
id |
string | The id of this language. |
name |
string | The display name of this language. |
LoginResult
Properties:
Name | Type | Description |
---|---|---|
jwt |
string | The JWT secret for the user. |
userId |
integer | The user's id. |
Skill
Properties:
Name | Type | Description |
---|---|---|
id |
string | The unique skill id. |
title |
string | The course-scoped display name of this skill. |
urlTitle |
string | The course-scoped URL path of this skill. |
User
Properties:
Name | Type | Description |
---|---|---|
id |
integer | The user's id. |
username |
string | The user's username. |
displayName |
string | The user's display name. |
hasPlus |
boolean | Is this user a Plus subscriber? |
streak |
integer | The user's streak length. |
currentCourseId |
string | The id of the course that is currently active for this user. |
courses |
Array.<UserCourse> | The courses started by this user. |
UserCourse
Properties:
Name | Type | Description |
---|---|---|
id |
string | The course id. |
points |
integer | The experience earned in this course. |