Download OpenAPI specification:
Get all subjects of a user.
| username required | string |
| perPage | integer <int32> [ 5 .. 20 ] Default: 5 |
| pageNumber | integer <int32> >= 1 |
{- "maximumPage": 0,
- "subjects": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}Create a new subject for a user.
| username required | string |
| name required | string |
| bookId required | string <uuid> |
{- "name": "string",
- "bookId": "710266f4-0087-48f9-97e1-4b13ac48f353"
}{- "registrationCode": "string"
}Join a subject as a user.
| username required | string |
| registrationCode required | string = 6 characters |
{- "registrationCode": "string"
}{- "messages": [
- "string"
]
}Get details of a subject of a user.
| username required | string |
| subjectId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "book": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isbn": "string",
- "title": "string",
- "publisher": "string"
}
}Get all exercises of a subject of a user.
| username required | string |
| subjectId required | string <uuid> |
| perPage | integer <int32> [ 10 .. 100 ] Default: 50 |
| pageNumber | integer <int32> >= 1 |
{- "maximumPage": 0,
- "exercises": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
}
]
}Create a new exercise for a subject of a user.
| username required | string |
| subjectId required | string <uuid> |
| exerciseTemplateId required | string <uuid> |
| type required | string |
| presentation | string Enum: "TextAskForeignLanguage" "TextAskNativeLanguage" "TextRandom" "Pairs" |
| selectedVocabularyWordNumbers | Array of integers <int32> [ items <int32 > ] |
| numberOfCorrectAnswersForCompletion | integer <int32> |
{- "exerciseTemplateId": "ba726942-509e-4c25-8bde-74e97f667f09",
- "type": "string",
- "presentation": "TextAskForeignLanguage",
- "selectedVocabularyWordNumbers": [
- 0
], - "numberOfCorrectAnswersForCompletion": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Get details of an exercise of a subject of a user.
| username required | string |
| subjectId required | string <uuid> |
| exerciseId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "vocabularyOfChapterExerciseTemplate": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "vocabulary": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "foreignLanguage": "string",
- "nativeLanguage": "string",
- "chapter": "string",
- "number": 0,
- "image": "string",
- "audio": "string"
}
]
}, - "presentation": "TextAskForeignLanguage",
- "selectedVocabularyWordNumbers": [
- 0
], - "numberOfCorrectAnswersForCompletion": 0
}Get all books.
| perPage | integer <int32> [ 5 .. 20 ] Default: 5 |
| pageNumber | integer <int32> >= 1 |
{- "maximumPage": 0,
- "books": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isbn": "string",
- "title": "string",
- "publisher": "string"
}
]
}Get all exercise templates of a book.
| bookId required | string <uuid> |
| chapter | string |
| perPage | integer <int32> [ 10 .. 100 ] Default: 50 |
| pageNumber | integer <int32> >= 1 |
{- "maximumPage": 0,
- "exerciseTemplates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}, - {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "chapter": "string",
- "type": "string"
}
]
}