Learning DTO
Описание сущностей и типов из src/dto/learning/.
Обогащено snapshot-данными бэкенд-DTO (38 из 38 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).
Содержание
- CourseDto · backend ✓
- CourseModuleDto · backend ✓
- CourseProgressDto · backend ✓
- CourseRegionDto · backend ✓
- CourseSectionDto · backend ✓
- CourseStatusDto · backend ✓
- CreateAnswerOptionDto · backend ✓
- CreateCourseDto · backend ✓
- CreateModuleDto · backend ✓
- CreateQuestionDto · backend ✓
- CreateQuizDto · backend ✓
- CreateSectionDto · backend ✓
- ProctoringResultDto · backend ✓
- QuestionTypeDto · backend ✓
- QuizAnswerOptionDto · backend ✓
- QuizAnswerOptionEditDto · backend ✓
- QuizAttemptDto · backend ✓
- QuizDto · backend ✓
- QuizEditDto · backend ✓
- QuizQuestionDto · backend ✓
- QuizQuestionEditDto · backend ✓
- QuizSummaryDto · backend ✓
- ReorderItemDto · backend ✓
- ReorderModulesDto · backend ✓
- ReorderQuestionsDto · backend ✓
- ReorderSectionsDto · backend ✓
- SectionFileDto · backend ✓
- StartAttemptDto · backend ✓
- StartAttemptResultDto · backend ✓
- SubmitAnswerDto · backend ✓
- SubmitAttemptDto · backend ✓
- SubmitAttemptResultDto · backend ✓
- UpdateAnswerOptionDto · backend ✓
- UpdateCourseDto · backend ✓
- UpdateModuleDto · backend ✓
- UpdateQuestionDto · backend ✓
- UpdateQuizDto · backend ✓
- UpdateSectionDto · backend ✓
CourseDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/CourseDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
title | string | да | — | string |
description | string | null | нет | — | string? |
isArchived | boolean | да | — | bool |
requireProctoring | boolean | да | — | bool |
regions | CourseRegionDto[] | да | — | List<CourseRegionDto> |
modules | CourseModuleDto[] | да | — | List<CourseModuleDto> |
quiz | QuizSummaryDto | null | нет | — | QuizSummaryDto? |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
Пример
{
"id": 0,
"title": "string",
"description": "string",
"isArchived": false,
"requireProctoring": false,
"regions": [],
"modules": [],
"quiz": "<quizsummarydto>",
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z"
}CourseModuleDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/CourseModuleDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
courseId | number | да | — | int |
title | string | да | — | string |
order | number | да | — | int |
sections | CourseSectionDto[] | да | — | List<CourseSectionDto> |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
Пример
{
"id": 0,
"courseId": 0,
"title": "string",
"order": 0,
"sections": [],
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z"
}CourseProgressDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Progress/CourseProgressDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
status | CourseStatusDto | да | — | CourseStatusDto |
lastSectionId | number | null | нет | — | int? |
completedSectionIds | number[] | да | — | List<int> |
completedAt | string | null | нет | — | DateTime? |
proctorToken | string | null | нет | — | string? |
proctoring | ProctoringResultDto | null | нет | — | ProctoringResultDto? |
Пример
{
"status": "<CourseStatusDto>",
"lastSectionId": 0,
"completedSectionIds": [],
"completedAt": "2026-05-05T08:00:00Z",
"proctorToken": "string",
"proctoring": "<proctoringresultdto>"
}CourseRegionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/CourseRegionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
regionCodeId | number | да | — | int |
Пример
{
"id": 0,
"regionCodeId": 0
}CourseSectionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/CourseSectionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
moduleId | number | да | — | int |
title | string | да | — | string |
order | number | да | — | int |
contentHtml | string | null | нет | — | string? |
videoUrl | string | null | нет | — | string? |
files | SectionFileDto[] | да | — | List<SectionFileDto> |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
Пример
{
"id": 0,
"moduleId": 0,
"title": "string",
"order": 0,
"contentHtml": "string",
"videoUrl": "https://...",
"files": [],
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z"
}CourseStatusDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Progress/Enums/CourseStatusDto.cs (feature.learningservice).
Значения
| Имя | Значение (TS) | Описание | Код (C#) |
|---|---|---|---|
NotStarted | 0 | — | 0 |
InProgress | 1 | — | 1 |
Completed | 2 | — | 2 |
Пример
0CreateAnswerOptionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/CreateAnswerOptionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
text | string | да | — | string |
isCorrect | boolean | да | — | bool |
order | number | да | — | int |
Пример
{
"text": "string",
"isCorrect": false,
"order": 0
}CreateCourseDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/CreateCourseDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
title | string | да | — | string |
description | string | null | нет | — | string? |
requireProctoring | boolean | да | — | bool |
regionCodeIds | number[] | да | — | List<int> |
Пример
{
"title": "string",
"description": "string",
"requireProctoring": false,
"regionCodeIds": []
}CreateModuleDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/CreateModuleDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
title | string | да | — | string |
order | number | да | — | int |
Пример
{
"title": "string",
"order": 0
}CreateQuestionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/CreateQuestionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
text | string | да | — | string |
type | QuestionTypeDto | да | — | QuestionTypeDto |
order | number | да | — | int |
options | CreateAnswerOptionDto[] | да | — | List<CreateAnswerOptionDto> |
Пример
{
"text": "string",
"type": "<QuestionTypeDto>",
"order": 0,
"options": []
}CreateQuizDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/CreateQuizDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
courseId | number | да | — | int |
title | string | да | — | string |
passingScorePercent | number | да | — | int |
maxAttempts | number | да | — | int |
requireRecording | boolean | да | — | bool |
requireVerification | boolean | да | — | bool |
proctorMetrics | string[] | да | — | List<string>? |
proctorThreshold | number | null | нет | — | double? |
proctorTimeoutMinutes | number | null | нет | — | int? |
Пример
{
"courseId": 0,
"title": "string",
"passingScorePercent": 0,
"maxAttempts": 0,
"requireRecording": false,
"requireVerification": false,
"proctorMetrics": [],
"proctorThreshold": 0,
"proctorTimeoutMinutes": 0
}CreateSectionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/CreateSectionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
title | string | да | — | string |
order | number | да | — | int |
contentHtml | string | null | нет | — | string? |
videoUrl | string | null | нет | — | string? |
Пример
{
"title": "string",
"order": 0,
"contentHtml": "string",
"videoUrl": "https://..."
}ProctoringResultDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/QuizAttempt/ProctoringResultDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
sessionId | string | null | нет | — | string? |
status | string | null | нет | — | string? |
riskLevel | number | null | нет | — | int? |
violationsCount | number | null | нет | — | int? |
reportUrl | string | null | нет | — | string? |
trustProtocolUrl | string | null | нет | — | string? |
Пример
{
"sessionId": "uuid",
"status": "string",
"riskLevel": 0,
"violationsCount": 0,
"reportUrl": "https://...",
"trustProtocolUrl": "https://..."
}QuestionTypeDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Enums/QuestionTypeDto.cs (feature.learningservice).
Значения
| Имя | Значение (TS) | Описание | Код (C#) |
|---|---|---|---|
SingleChoice | 1 | — | 1 |
MultipleChoice | 2 | — | 2 |
Пример
1QuizAnswerOptionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/QuizAnswerOptionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
questionId | number | да | — | int |
text | string | да | — | string |
order | number | да | — | int |
Пример
{
"id": 0,
"questionId": 0,
"text": "string",
"order": 0
}QuizAnswerOptionEditDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/QuizAnswerOptionEditDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
questionId | number | да | — | int |
text | string | да | — | string |
isCorrect | boolean | да | — | bool |
order | number | да | — | int |
Пример
{
"id": 0,
"questionId": 0,
"text": "string",
"isCorrect": false,
"order": 0
}QuizAttemptDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/QuizAttempt/QuizAttemptDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
quizId | number | да | — | int |
userId | number | да | — | int |
attemptNumber | number | да | — | int |
scorePercent | number | null | нет | — | int? |
isPassed | boolean | null | нет | — | bool? |
startedAt | string | да | — | DateTimeOffset |
finishedAt | string | null | нет | — | DateTimeOffset? |
snapshotPassingScore | number | да | — | int |
snapshotMaxAttempts | number | да | — | int |
createDateTime | string | да | — | DateTimeOffset |
proctoring | ProctoringResultDto | null | нет | — | ProctoringResultDto? |
Пример
{
"id": 0,
"quizId": 0,
"userId": 0,
"attemptNumber": 0,
"scorePercent": 0,
"isPassed": false,
"startedAt": "2026-05-05T08:00:00Z",
"finishedAt": "2026-05-05T08:00:00Z",
"snapshotPassingScore": 0,
"snapshotMaxAttempts": 0,
"createDateTime": "2026-05-05T08:00:00Z",
"proctoring": "<proctoringresultdto>"
}QuizDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/QuizDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
courseId | number | да | — | int |
title | string | да | — | string |
passingScorePercent | number | да | — | int |
maxAttempts | number | да | — | int |
requireRecording | boolean | да | — | bool |
requireVerification | boolean | да | — | bool |
isArchived | boolean | да | — | bool |
proctorMetrics | string[] | да | — | List<string>? |
proctorThreshold | number | null | нет | — | double? |
proctorTimeoutMinutes | number | null | нет | — | int? |
questions | QuizQuestionDto[] | да | — | List<QuizQuestionDto> |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
Пример
{
"id": 0,
"courseId": 0,
"title": "string",
"passingScorePercent": 0,
"maxAttempts": 0,
"requireRecording": false,
"requireVerification": false,
"isArchived": false,
"proctorMetrics": [],
"proctorThreshold": 0,
"proctorTimeoutMinutes": 0,
"questions": [],
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z"
}QuizEditDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/QuizEditDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
courseId | number | да | — | int |
title | string | да | — | string |
passingScorePercent | number | да | — | int |
maxAttempts | number | да | — | int |
requireRecording | boolean | да | — | bool |
requireVerification | boolean | да | — | bool |
isArchived | boolean | да | — | bool |
proctorMetrics | string[] | да | — | List<string>? |
proctorThreshold | number | null | нет | — | double? |
proctorTimeoutMinutes | number | null | нет | — | int? |
questions | QuizQuestionEditDto[] | да | — | List<QuizQuestionEditDto> |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
Пример
{
"id": 0,
"courseId": 0,
"title": "string",
"passingScorePercent": 0,
"maxAttempts": 0,
"requireRecording": false,
"requireVerification": false,
"isArchived": false,
"proctorMetrics": [],
"proctorThreshold": 0,
"proctorTimeoutMinutes": 0,
"questions": [],
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z"
}QuizQuestionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/QuizQuestionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
quizId | number | да | — | int |
text | string | да | — | string |
type | QuestionTypeDto | да | — | QuestionTypeDto |
order | number | да | — | int |
options | QuizAnswerOptionDto[] | да | — | List<QuizAnswerOptionDto> |
Пример
{
"id": 0,
"quizId": 0,
"text": "string",
"type": "<QuestionTypeDto>",
"order": 0,
"options": []
}QuizQuestionEditDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/QuizQuestionEditDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
quizId | number | да | — | int |
text | string | да | — | string |
type | QuestionTypeDto | да | — | QuestionTypeDto |
order | number | да | — | int |
options | QuizAnswerOptionEditDto[] | да | — | List<QuizAnswerOptionEditDto> |
Пример
{
"id": 0,
"quizId": 0,
"text": "string",
"type": "<QuestionTypeDto>",
"order": 0,
"options": []
}QuizSummaryDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/QuizSummaryDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
title | string | да | — | string |
passingScorePercent | number | да | — | int |
maxAttempts | number | да | — | int |
Пример
{
"id": 0,
"title": "string",
"passingScorePercent": 0,
"maxAttempts": 0
}ReorderItemDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Common/ReorderItemDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
order | number | да | — | int |
Пример
{
"id": 0,
"order": 0
}ReorderModulesDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/ReorderModulesDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
items | ReorderItemDto[] | да | — | List<ReorderItemDto> |
Пример
{
"items": []
}ReorderQuestionsDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/ReorderQuestionsDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
items | ReorderItemDto[] | да | — | List<ReorderItemDto> |
Пример
{
"items": []
}ReorderSectionsDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/ReorderSectionsDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
items | ReorderItemDto[] | да | — | List<ReorderItemDto> |
Пример
{
"items": []
}SectionFileDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/SectionFileDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
fileName | string | да | — | string |
s3Key | string | да | — | string |
Пример
{
"id": 0,
"fileName": "string",
"s3Key": "string"
}StartAttemptDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/QuizAttempt/Requests/StartAttemptDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
quizId | number | да | — | int |
Пример
{
"quizId": 0
}StartAttemptResultDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/QuizAttempt/StartAttemptResultDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
attemptId | number | да | — | int |
attemptNumber | number | да | — | int |
attemptsLeft | number | null | нет | — | int? |
proctorToken | string | null | нет | — | string? |
Пример
{
"attemptId": 0,
"attemptNumber": 0,
"attemptsLeft": 0,
"proctorToken": "string"
}SubmitAnswerDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/QuizAttempt/Requests/SubmitAnswerDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
questionId | number | да | — | int |
selectedOptionIds | number[] | да | — | List<int> |
Пример
{
"questionId": 0,
"selectedOptionIds": []
}SubmitAttemptDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/QuizAttempt/Requests/SubmitAttemptDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
answers | SubmitAnswerDto[] | да | — | List<SubmitAnswerDto> |
Пример
{
"answers": []
}SubmitAttemptResultDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/QuizAttempt/SubmitAttemptResultDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
scorePercent | number | да | — | int |
isPassed | boolean | да | — | bool |
correctCount | number | да | — | int |
totalCount | number | да | — | int |
attemptsLeft | number | null | нет | — | int? |
proctoring | ProctoringResultDto | null | нет | — | ProctoringResultDto? |
Пример
{
"scorePercent": 0,
"isPassed": false,
"correctCount": 0,
"totalCount": 0,
"attemptsLeft": 0,
"proctoring": "<proctoringresultdto>"
}UpdateAnswerOptionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/UpdateAnswerOptionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | null | нет | — | int? |
text | string | да | — | string |
isCorrect | boolean | да | — | bool |
order | number | да | — | int |
Пример
{
"id": 0,
"text": "string",
"isCorrect": false,
"order": 0
}UpdateCourseDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/UpdateCourseDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | — |
title | string | null | нет | — | string? |
description | string | null | нет | — | string? |
requireProctoring | boolean | null | нет | — | bool? |
regionCodeIds | number[] | да | — | List<int>? |
Пример
{
"id": 0,
"title": "string",
"description": "string",
"requireProctoring": false,
"regionCodeIds": []
}UpdateModuleDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/UpdateModuleDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
title | string | null | нет | — | string? |
order | number | null | нет | — | int? |
Пример
{
"title": "string",
"order": 0
}UpdateQuestionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/UpdateQuestionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
text | string | null | нет | — | string? |
type | QuestionTypeDto | null | нет | — | QuestionTypeDto? |
order | number | null | нет | — | int? |
options | UpdateAnswerOptionDto[] | да | — | List<UpdateAnswerOptionDto>? |
Пример
{
"text": "string",
"type": "<questiontypedto>",
"order": 0,
"options": []
}UpdateQuizDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Quiz/Requests/UpdateQuizDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | — |
courseId | number | null | нет | — | int? |
title | string | null | нет | — | string? |
passingScorePercent | number | null | нет | — | int? |
maxAttempts | number | null | нет | — | int? |
requireRecording | boolean | null | нет | — | bool? |
requireVerification | boolean | null | нет | — | bool? |
proctorMetrics | string[] | да | — | List<string>? |
proctorThreshold | number | null | нет | — | double? |
proctorTimeoutMinutes | number | null | нет | — | int? |
Пример
{
"id": 0,
"courseId": 0,
"title": "string",
"passingScorePercent": 0,
"maxAttempts": 0,
"requireRecording": false,
"requireVerification": false,
"proctorMetrics": [],
"proctorThreshold": 0,
"proctorTimeoutMinutes": 0
}UpdateSectionDto
Backend-источник: feature.learningservice/Feature.LearningService/Nuget.LearningApiClient/Dto/Course/Requests/UpdateSectionDto.cs (feature.learningservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
title | string | null | нет | — | string? |
order | number | null | нет | — | int? |
contentHtml | string | null | нет | — | string? |
videoUrl | string | null | нет | — | string? |
Пример
{
"title": "string",
"order": 0,
"contentHtml": "string",
"videoUrl": "https://..."
}