H-3869: документация LMS-модуля в v2 swagger #41
+12
-11
@@ -8947,9 +8947,10 @@ paths:
|
|||||||
tags: [admin-lms-attempt]
|
tags: [admin-lms-attempt]
|
||||||
summary: Сбросить (удалить) попытку
|
summary: Сбросить (удалить) попытку
|
||||||
description: |
|
description: |
|
||||||
Soft-delete попытки. Если попытка в статусе `finishing` (фоновый
|
Soft-delete попытки. Если попытка ещё завершается (статус
|
||||||
воркер ещё может её менять) — возвращается HTTP 422 с
|
`finishing`, фоновый воркер может её менять) — возвращается
|
||||||
`HttpJsonResult` (`success: false`, `message.error`).
|
HTTP 422 с `HttpJsonResult` (`success: false`,
|
||||||
|
`message.error = "Попытка сейчас завершается, попробуйте позже"`).
|
||||||
operationId: adminLmsAttemptDelete
|
operationId: adminLmsAttemptDelete
|
||||||
parameters:
|
parameters:
|
||||||
- name: id
|
- name: id
|
||||||
@@ -8966,7 +8967,7 @@ paths:
|
|||||||
404:
|
404:
|
||||||
description: Попытка не найдена.
|
description: Попытка не найдена.
|
||||||
422:
|
422:
|
||||||
description: Попытка находится в статусе `finishing` — сброс невозможен.
|
description: Попытка ещё завершается — сброс невозможен.
|
||||||
|
|
||||||
/admin/lms/lms-attempt/assessment:
|
/admin/lms/lms-attempt/assessment:
|
||||||
get:
|
get:
|
||||||
@@ -9540,7 +9541,7 @@ paths:
|
|||||||
# =========================================================================
|
# =========================================================================
|
||||||
# LMS — Редактор шаблонов сертификатов (admin)
|
# LMS — Редактор шаблонов сертификатов (admin)
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
/admin/lms/lms-certificate-editor:
|
/admin/lms-certificate-editor:
|
||||||
get:
|
get:
|
||||||
tags: [admin-lms-certificate-editor]
|
tags: [admin-lms-certificate-editor]
|
||||||
summary: Список шаблонов сертификатов
|
summary: Список шаблонов сертификатов
|
||||||
@@ -9562,7 +9563,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/LmsCertificateTemplateList'
|
$ref: '#/components/schemas/LmsCertificateTemplateList'
|
||||||
|
|
||||||
/admin/lms/lms-certificate-editor/view:
|
/admin/lms-certificate-editor/view:
|
||||||
get:
|
get:
|
||||||
tags: [admin-lms-certificate-editor]
|
tags: [admin-lms-certificate-editor]
|
||||||
summary: Один шаблон
|
summary: Один шаблон
|
||||||
@@ -9582,7 +9583,7 @@ paths:
|
|||||||
404:
|
404:
|
||||||
description: Шаблон сертификата не найден.
|
description: Шаблон сертификата не найден.
|
||||||
|
|
||||||
/admin/lms/lms-certificate-editor/create:
|
/admin/lms-certificate-editor/create:
|
||||||
post:
|
post:
|
||||||
tags: [admin-lms-certificate-editor]
|
tags: [admin-lms-certificate-editor]
|
||||||
summary: Создать шаблон сертификата
|
summary: Создать шаблон сертификата
|
||||||
@@ -9604,7 +9605,7 @@ paths:
|
|||||||
- $ref: '#/components/schemas/LmsCertificateTemplate'
|
- $ref: '#/components/schemas/LmsCertificateTemplate'
|
||||||
- $ref: '#/components/schemas/LmsAdminHttpJsonResult'
|
- $ref: '#/components/schemas/LmsAdminHttpJsonResult'
|
||||||
|
|
||||||
/admin/lms/lms-certificate-editor/update:
|
/admin/lms-certificate-editor/update:
|
||||||
post:
|
post:
|
||||||
tags: [admin-lms-certificate-editor]
|
tags: [admin-lms-certificate-editor]
|
||||||
summary: Обновить шаблон сертификата
|
summary: Обновить шаблон сертификата
|
||||||
@@ -9632,7 +9633,7 @@ paths:
|
|||||||
404:
|
404:
|
||||||
description: Шаблон не найден.
|
description: Шаблон не найден.
|
||||||
|
|
||||||
/admin/lms/lms-certificate-editor/delete:
|
/admin/lms-certificate-editor/delete:
|
||||||
delete:
|
delete:
|
||||||
tags: [admin-lms-certificate-editor]
|
tags: [admin-lms-certificate-editor]
|
||||||
summary: Удалить шаблон сертификата
|
summary: Удалить шаблон сертификата
|
||||||
@@ -9654,7 +9655,7 @@ paths:
|
|||||||
404:
|
404:
|
||||||
description: Шаблон не найден.
|
description: Шаблон не найден.
|
||||||
|
|
||||||
/admin/lms/lms-certificate-editor/field-types:
|
/admin/lms-certificate-editor/field-types:
|
||||||
get:
|
get:
|
||||||
tags: [admin-lms-certificate-editor]
|
tags: [admin-lms-certificate-editor]
|
||||||
summary: Доступные типы полей для шаблонов сертификатов
|
summary: Доступные типы полей для шаблонов сертификатов
|
||||||
@@ -9671,7 +9672,7 @@ paths:
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
/admin/lms/lms-certificate-editor/names:
|
/admin/lms-certificate-editor/names:
|
||||||
get:
|
get:
|
||||||
tags: [admin-lms-certificate-editor]
|
tags: [admin-lms-certificate-editor]
|
||||||
summary: Список названий шаблонов для фильтра
|
summary: Список названий шаблонов для фильтра
|
||||||
|
|||||||
Reference in New Issue
Block a user