feat(assessment): record capture hints and keep one window per attempt
This commit is contained in:
1 parent
c975a0d506
commit
bb917bf62e
108 files changed
+6649
-139
No files matched your search
+4
-1
@@ -267,6 +267,8 @@ The `assessment` tag covers the assessment attempts of the current candidate (PR
|
||||
| `GET /api/v1/me/assessment-attempts/{attempt_id}` | `GetMyAssessmentAttempt` | session | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 401, 403 `forbidden`, 404 `not_found` |
|
||||
| `POST /api/v1/me/assessment-attempts/{attempt_id}/sessions` | `StartMyAssessmentAttemptSession` | session and CSRF, Idempotency-Key | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` or `idempotency_in_progress`, 412 `version_conflict`, 422, 429 |
|
||||
| `POST /api/v1/me/assessment-attempts/{attempt_id}/answers` | `SubmitMyAssessmentAnswer` | session and CSRF, Idempotency-Key | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` or `idempotency_in_progress`, 412 `version_conflict`, 422, 429 |
|
||||
| `PUT /api/v1/me/assessment-attempts/{attempt_id}/work-session` | `HoldMyAssessmentWorkSession` | session and CSRF, `X-Attempt-Client` | 200 `AssessmentWorkSession`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` (another page holds it, or the attempt has no work session) |
|
||||
| `DELETE /api/v1/me/assessment-attempts/{attempt_id}/work-session` | `ReleaseMyAssessmentWorkSession` | session and CSRF, `X-Attempt-Client` | 204, `Cache-Control: no-store` | 400, 401, 403, 404 |
|
||||
| `POST /api/v1/me/assessment-attempts/{attempt_id}/finalize` | `FinalizeMyAssessmentAttempt` | session and CSRF, Idempotency-Key | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` or `idempotency_in_progress`, 412 `version_conflict`, 422 |
|
||||
| `GET /api/v1/me/assessment-attempts/{attempt_id}/result` | `GetMyAssessmentResult` | session | 200 `AssessmentResult`, `Cache-Control: no-store` | 401, 403 `forbidden`, 404 `not_found`, 409 `state_conflict` |
|
||||
| `GET /api/v1/me/assessment-results` | `ListMyAssessmentResults` | session | 200 `AssessmentResultHistoryPage`, `Cache-Control: no-store` | 400 `validation_failed`, 401, 403 `forbidden` |
|
||||
@@ -275,7 +277,7 @@ The `assessment` tag covers the assessment attempts of the current candidate (PR
|
||||
|
||||
Every operation also declares the `default` problem response.
|
||||
|
||||
The signal notice (`assessment-signal-notice`) lists the signals collected during a real attempt: browser events (focus loss, copy, paste and cut with a size, fullscreen exit; stored only while C3 is current) and server signals (response time, change of network address, parallel sessions, comparison of answer digests; only one-way keyed digests are stored, never addresses or session tokens). `GET` returns the notice version the server requires and whether the candidate acknowledged it; `PUT` stores the acknowledgement for the account and that version. The acknowledgement is a record that the candidate was informed, not a consent: it does not change C3, and the signal operation neither reads it nor refuses a batch without it. `PUT` needs no Idempotency-Key, because a repeat keeps the first time and answers 200; another version answers 409 `state_conflict`. The notice also lists the measures the page applies during a real attempt (fullscreen, covering the task, blocks on copying, selecting, and printing the task text, the paste rule, and the watermark of the task screen and text); it is text version 3, and an acknowledgement of an earlier version never counts for the current one. The `demo_express` mode collects no signals and needs no acknowledgement.
|
||||
The signal notice (`assessment-signal-notice`) lists the signals collected during a real attempt: browser events (focus loss, copy, paste and cut with a size, fullscreen exit, a screenshot key, and a guess that the developer tools are open; stored only while C3 is current) and server signals (response time, change of network address, parallel sessions, change of User-Agent, comparison of answer digests; only one-way keyed digests are stored, never addresses, User-Agents, or session tokens). `GET` returns the notice version the server requires and whether the candidate acknowledged it; `PUT` stores the acknowledgement for the account and that version. The acknowledgement is a record that the candidate was informed, not a consent: it does not change C3, and the signal operation neither reads it nor refuses a batch without it. `PUT` needs no Idempotency-Key, because a repeat keeps the first time and answers 200; another version answers 409 `state_conflict`. The notice also lists the measures the page applies during a real attempt (fullscreen, covering the task, blocks on copying, selecting, and printing the task text, the paste rule, the one-window rule, and the watermark of the task screen and text) and says plainly that a screenshot or a phone photo cannot be prevented and that signals lead only to a manual check; it is text version 4, and an acknowledgement of an earlier version never counts for the current one. The `demo_express` mode collects no signals and needs no acknowledgement.
|
||||
|
||||
Access:
|
||||
|
||||
@@ -315,6 +317,7 @@ Items and answers:
|
||||
|
||||
- An item has an `id` (the instance), `sequence`, a plain-text `prompt`, and `content` (`ItemContent`) in one of the formats `choice`, `number`, `string`, `order`, `find_error`, `configuration`, and `practice`. It never contains an answer key, a correct option, a score, a family or variant identifier, a seed, or a hidden check, and seed items look like scored ones. `multiple`, `max_selections`, and `max_length` are properties of the format or the task family and never derived from the key. The variant is fixed when first served, so a reload, a retry, or a resumed session returns the same instance.
|
||||
- Watermark. A real attempt (`root` or `corrective`) carries `watermark.code`, a keyed pseudonym of the attempt such as `7K3QD-9XM2T`, which the client shows with the time as a faint tile over the task screen; a `demo_express` attempt omits the field. The `prompt` of a real attempt also carries an invisible mark and interchangeable wordings chosen by the same server secret; they change neither the meaning nor the reference answer, and a client keeps the invisible characters (zero width space, non-joiner, joiner, word joiner) out of the accessibility tree. Neither the code nor the mark names the candidate, and no operation gives either to an employer. See [Watermark of the task text](../docs/en/ARCHITECTURE.md#watermark-of-the-task-text).
|
||||
- One open window. A real attempt allows one open page at a time. The page generates a random identifier when it loads and sends it as `X-Attempt-Client` (16 to 64 characters of `A-Za-z0-9_-`) to `HoldMyAssessmentWorkSession`, which holds the work session for 120 seconds and asks the page to renew every 15 seconds, and to `ReleaseMyAssessmentWorkSession` when it closes. `StartMyAssessmentAttemptSession` and `SubmitMyAssessmentAnswer` take the same header as an optional parameter; while another page holds the session, a request from a different page or from none answers 409 `state_conflict` and changes nothing, and that refusal is not stored under the Idempotency-Key. An attempt that nobody holds, a released hold, and a hold that stopped renewing admit every page. It is a one-page-at-a-time rule, not a security boundary, and it is separate from `sessions` (`used`, `max`, `idle_timeout_seconds`), which count sequential work sessions. The server keeps only keyed digests of the page identifier and of the User-Agent bound to the attempt. No new problem code is added, so the page reads 409 on these operations as "open in another window".
|
||||
- An answer (`AssessmentAnswer`) has the same seven formats and carries only the answer. Unknown fields such as `score`, `duration`, or `seed` answer 400. The server records the times and scores the answer with the key of the item instance; time never enters the grade decision. Responses never say whether an answer was correct.
|
||||
- The practice solution runs asynchronously in the sandbox against three hidden check groups; the client polls the attempt while it is `pending`. The verdict shows only the score 0-3 and the pass state of each group. Every outcome caused by the solution (a compilation or runtime error, a time or memory limit) is `finished` with groups not passed. `failed` (`sandbox_busy` or `sandbox_error`) means only that the infrastructure could not run it; it consumes nothing. This keeps `failed` from acting as an oracle for hidden checks and from allowing endless retries. After `finished` no other solution is accepted.
|
||||
- If the latest submission is still `failed` when the limit passes, the result is `not_determined` with the reason `sandbox_unavailable`. A practice never submitted gives `practice_incomplete`.
|
||||
|
||||
+4
-1
@@ -267,6 +267,8 @@ ML-сервис отвечает на ошибки той же схемой `Pro
|
||||
| `GET /api/v1/me/assessment-attempts/{attempt_id}` | `GetMyAssessmentAttempt` | сессия | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 401, 403 `forbidden`, 404 `not_found` |
|
||||
| `POST /api/v1/me/assessment-attempts/{attempt_id}/sessions` | `StartMyAssessmentAttemptSession` | сессия и CSRF, Idempotency-Key | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` или `idempotency_in_progress`, 412 `version_conflict`, 422, 429 |
|
||||
| `POST /api/v1/me/assessment-attempts/{attempt_id}/answers` | `SubmitMyAssessmentAnswer` | сессия и CSRF, Idempotency-Key | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` или `idempotency_in_progress`, 412 `version_conflict`, 422, 429 |
|
||||
| `PUT /api/v1/me/assessment-attempts/{attempt_id}/work-session` | `HoldMyAssessmentWorkSession` | сессия и CSRF, `X-Attempt-Client` | 200 `AssessmentWorkSession`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` (сеанс занят другой страницей или у попытки нет рабочего сеанса) |
|
||||
| `DELETE /api/v1/me/assessment-attempts/{attempt_id}/work-session` | `ReleaseMyAssessmentWorkSession` | сессия и CSRF, `X-Attempt-Client` | 204, `Cache-Control: no-store` | 400, 401, 403, 404 |
|
||||
| `POST /api/v1/me/assessment-attempts/{attempt_id}/finalize` | `FinalizeMyAssessmentAttempt` | сессия и CSRF, Idempotency-Key | 200 `AssessmentAttempt`, `Cache-Control: no-store` | 400, 401, 403, 404, 409 `state_conflict` или `idempotency_in_progress`, 412 `version_conflict`, 422 |
|
||||
| `GET /api/v1/me/assessment-attempts/{attempt_id}/result` | `GetMyAssessmentResult` | сессия | 200 `AssessmentResult`, `Cache-Control: no-store` | 401, 403 `forbidden`, 404 `not_found`, 409 `state_conflict` |
|
||||
| `GET /api/v1/me/assessment-results` | `ListMyAssessmentResults` | сессия | 200 `AssessmentResultHistoryPage`, `Cache-Control: no-store` | 400 `validation_failed`, 401, 403 `forbidden` |
|
||||
@@ -275,7 +277,7 @@ ML-сервис отвечает на ошибки той же схемой `Pro
|
||||
|
||||
Каждая операция также объявляет problem-ответ `default`.
|
||||
|
||||
Уведомление о сигналах (`assessment-signal-notice`) перечисляет сигналы, которые собираются во время реальной попытки: события браузера (потеря фокуса, копирование, вставка и вырезание с размером, выход из полноэкранного режима, сохраняются только при действующем C3) и серверные (время ответа, смена сетевого адреса, параллельные сессии, сравнение отпечатков ответов; хранятся только односторонние ключевые отпечатки, адреса и токены сессий не хранятся). `GET` возвращает версию уведомления, которую требует сервер, и признак, что кандидат ее подтвердил; `PUT` сохраняет подтверждение для аккаунта и этой версии. Подтверждение - запись о том, что кандидат ознакомлен, а не согласие: оно не меняет C3, и операция приема сигналов его не читает и не отклоняет пакет без него. `PUT` не требует Idempotency-Key: повтор сохраняет первое время и отвечает 200; другая версия отвечает 409 `state_conflict`. Уведомление также перечисляет меры, которые страница применяет во время реальной попытки (полноэкранный режим, скрытие задания, запрет копирования, выделения и печати текста задания, правило вставки и водяной знак экрана и текста задания); это версия 3 текста, и подтверждение более ранней версии для текущей никогда не засчитывается. Режим `demo_express` сигналы не собирает и подтверждения не требует.
|
||||
Уведомление о сигналах (`assessment-signal-notice`) перечисляет сигналы, которые собираются во время реальной попытки: события браузера (потеря фокуса, копирование, вставка и вырезание с размером, выход из полноэкранного режима, сохраняются только при действующем C3) и серверные (время ответа, смена сетевого адреса, параллельные сессии, сравнение отпечатков ответов; хранятся только односторонние ключевые отпечатки, адреса и токены сессий не хранятся). `GET` возвращает версию уведомления, которую требует сервер, и признак, что кандидат ее подтвердил; `PUT` сохраняет подтверждение для аккаунта и этой версии. Подтверждение - запись о том, что кандидат ознакомлен, а не согласие: оно не меняет C3, и операция приема сигналов его не читает и не отклоняет пакет без него. `PUT` не требует Idempotency-Key: повтор сохраняет первое время и отвечает 200; другая версия отвечает 409 `state_conflict`. Уведомление также перечисляет меры, которые страница применяет во время реальной попытки (полноэкранный режим, скрытие задания, запрет копирования, выделения и печати текста задания, правило вставки, правило одного окна и водяной знак экрана и текста задания) и прямо говорит, что снимок экрана или фото телефоном предотвратить нельзя, а сигналы ведут только к ручной проверке; это версия 4 текста, и подтверждение более ранней версии для текущей никогда не засчитывается. Режим `demo_express` сигналы не собирает и подтверждения не требует.
|
||||
|
||||
Доступ:
|
||||
|
||||
@@ -315,6 +317,7 @@ ML-сервис отвечает на ошибки той же схемой `Pro
|
||||
|
||||
- У задания есть `id` (экземпляр), `sequence`, `prompt` простым текстом и `content` (`ItemContent`) в одном из форматов `choice`, `number`, `string`, `order`, `find_error`, `configuration` и `practice`. Оно никогда не содержит ключ ответа, правильный вариант, балл, идентификатор семейства или варианта, seed или скрытую проверку, а посевные задания выглядят так же, как оцениваемые. `multiple`, `max_selections` и `max_length` - свойства формата или семейства заданий и никогда не выводятся из ключа. Вариант фиксируется при первой выдаче, поэтому перезагрузка, повтор запроса и возобновление сессии возвращают тот же экземпляр.
|
||||
- Водяной знак. Реальная попытка (`root` или `corrective`) несет `watermark.code` - ключевой псевдоним попытки вроде `7K3QD-9XM2T`, который клиент показывает вместе со временем бледной плиткой поверх экрана задания; у попытки `demo_express` поля нет. `prompt` реальной попытки также несет невидимую метку и взаимозаменяемые формулировки, выбранные тем же секретом сервера; они не меняют ни смысл, ни эталонный ответ, а клиент держит невидимые символы (пробел нулевой ширины, не-соединитель, соединитель, соединитель слов) вне дерева доступности. Ни код, ни метка не называют кандидата, и ни одна операция не отдает их работодателю. См. [Водяной знак текста задания](../docs/ru/ARCHITECTURE.md#водяной-знак-текста-задания).
|
||||
- Одно открытое окно. Реальная попытка допускает одну открытую страницу за раз. Страница при загрузке создает случайный идентификатор и отправляет его как `X-Attempt-Client` (от 16 до 64 символов `A-Za-z0-9_-`) в `HoldMyAssessmentWorkSession`, который занимает рабочий сеанс на 120 секунд и просит страницу продлевать его раз в 15 секунд, и в `ReleaseMyAssessmentWorkSession` при закрытии. `StartMyAssessmentAttemptSession` и `SubmitMyAssessmentAnswer` принимают тот же заголовок как необязательный параметр; пока сеанс занят другой страницей, запрос от другой страницы или без заголовка получает 409 `state_conflict` и ничего не меняет, а этот отказ не сохраняется под Idempotency-Key. Попытка, которую никто не держит, освобожденное занятие и переставшее продлеваться пускают любую страницу. Это правило "одна страница за раз", а не граница безопасности, и оно отделено от `sessions` (`used`, `max`, `idle_timeout_seconds`), которые считают последовательные рабочие сеансы. Сервер хранит только ключевые отпечатки идентификатора страницы и User-Agent, привязанные к попытке. Новый код ошибки не добавлялся, поэтому страница читает 409 на этих операциях как "открыто в другом окне".
|
||||
- Ответ (`AssessmentAnswer`) имеет те же семь форматов и несет только ответ. Неизвестные поля вроде `score`, `duration` или `seed` дают 400. Сервер сам записывает время и оценивает ответ по ключу экземпляра задания; время не входит в решение о грейде. Ответы API никогда не сообщают, был ли ответ правильным.
|
||||
- Решение практики исполняется в песочнице асинхронно на трех группах скрытых проверок; клиент опрашивает попытку, пока оно `pending`. Вердикт показывает только балл 0-3 и прохождение каждой группы. Любой исход, вызванный самим решением (ошибка компиляции или выполнения, лимит времени или памяти), - это `finished` с непройденными группами. `failed` (`sandbox_busy` или `sandbox_error`) означает только, что инфраструктура не смогла исполнить решение; он ничего не расходует. Так `failed` не становится оракулом для скрытых проверок и не дает бесконечных повторов. После `finished` другое решение не принимается.
|
||||
- Если к истечению лимита последняя отправка все еще `failed`, результат - `not_determined` с причиной `sandbox_unavailable`. Неотправленная практика дает `practice_incomplete`.
|
||||
|
||||
@@ -68,6 +68,34 @@ AssessmentAttemptId:
|
||||
type: string
|
||||
format: uuid
|
||||
example: 01928f7a-3c4d-7e5f-8a9b-0c1d2e3f4a5b
|
||||
AttemptClient:
|
||||
name: X-Attempt-Client
|
||||
in: header
|
||||
required: false
|
||||
description: |-
|
||||
Random identifier that one open page of the assessment attempt generates when it loads and keeps until it closes, 16 to 64 characters of `A-Za-z0-9_-`. It names the page that holds the single active work session of the attempt (see HoldMyAssessmentWorkSession). The server keeps only a one-way keyed digest bound to the attempt, never the value.
|
||||
|
||||
A request that omits the header counts as one anonymous client. It is refused with 409 `state_conflict` while another page holds the work session, and it is accepted while nobody does, so a client that predates the header keeps working until a page holds the session.
|
||||
schema:
|
||||
type: string
|
||||
minLength: 16
|
||||
maxLength: 64
|
||||
pattern: "^[A-Za-z0-9_-]+$"
|
||||
example: 7mK2pQx9Rt4vWc1Zb8NfYd3Ha6Js0LeG
|
||||
AttemptClientRequired:
|
||||
name: X-Attempt-Client
|
||||
in: header
|
||||
required: true
|
||||
description: >-
|
||||
The page identifier described at AttemptClient. It is required here
|
||||
because the operation exists to hold or release the work session of one
|
||||
page.
|
||||
schema:
|
||||
type: string
|
||||
minLength: 16
|
||||
maxLength: 64
|
||||
pattern: "^[A-Za-z0-9_-]+$"
|
||||
example: 7mK2pQx9Rt4vWc1Zb8NfYd3Ha6Js0LeG
|
||||
OrganizationId:
|
||||
name: org_id
|
||||
in: path
|
||||
|
||||
@@ -736,6 +736,22 @@ AssessmentAttemptCommon:
|
||||
$ref: '#/AssessmentPractice'
|
||||
watermark:
|
||||
$ref: '#/AssessmentWatermark'
|
||||
AssessmentWorkSession:
|
||||
type: object
|
||||
description: The work session of a real attempt that the calling page holds. It is a one-page-at-a-time rule for the attempt, not a score or a signal, and it changes no result.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- held_until
|
||||
- renew_after_seconds
|
||||
properties:
|
||||
held_until:
|
||||
$ref: '#/Timestamp'
|
||||
renew_after_seconds:
|
||||
type: integer
|
||||
format: int32
|
||||
minimum: 1
|
||||
maximum: 3600
|
||||
description: How often the page repeats the hold. It is well below the hold time, so a page whose timer is slowed down in the background still renews before its hold expires.
|
||||
AssessmentWatermark:
|
||||
type: object
|
||||
description: 'Visible mark of a real attempt. The client shows `code` with the current time as a faint tile over the task screen, so that a screenshot or a photo of the screen can be traced back to the attempt by an operator. The code is a keyed pseudonym derived on the server: it carries no name, contact, or identifier of the account, and it cannot be computed without the server secret. The task text of such an attempt also carries an invisible mark and interchangeable wordings chosen by the same secret; they change neither the meaning of a task nor its reference answer, and the client keeps the invisible characters out of the accessibility tree. Training runs (`demo_express`) carry no watermark. It is evidence for a manual review and an appeal, never an automatic decision.'
|
||||
@@ -1744,6 +1760,7 @@ AssessmentSignalEvent:
|
||||
- $ref: '#/AssessmentFocusLossSignal'
|
||||
- $ref: '#/AssessmentClipboardSignal'
|
||||
- $ref: '#/AssessmentFullscreenExitSignal'
|
||||
- $ref: '#/AssessmentCaptureSignal'
|
||||
discriminator:
|
||||
propertyName: kind
|
||||
mapping:
|
||||
@@ -1752,6 +1769,8 @@ AssessmentSignalEvent:
|
||||
paste: '#/AssessmentClipboardSignal'
|
||||
cut: '#/AssessmentClipboardSignal'
|
||||
fullscreen_exit: '#/AssessmentFullscreenExitSignal'
|
||||
screenshot_key: '#/AssessmentCaptureSignal'
|
||||
devtools_open: '#/AssessmentCaptureSignal'
|
||||
AssessmentFocusLossSignal:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
@@ -1816,6 +1835,24 @@ AssessmentFullscreenExitSignal:
|
||||
$ref: '#/AssessmentItemId'
|
||||
occurred_at:
|
||||
$ref: '#/Timestamp'
|
||||
AssessmentCaptureSignal:
|
||||
type: object
|
||||
description: 'A hint that the screen may be captured or inspected. `screenshot_key` is a key or key combination that the browser saw and that usually takes a screenshot (PrintScreen, Cmd+Shift+3, 4, or 5 on macOS, Win+Shift+S); `devtools_open` is the result of a heuristic that guesses that the developer tools are open (a docked panel changes the window size, or the console reads an object). Both are weak: a browser does not see every screenshot, an operating system can take one without a key the page sees, a phone photo is invisible to the page, and the heuristic gives false positives. They lead to attention in a manual review at most, never to a score change, and they carry no measurement.'
|
||||
additionalProperties: false
|
||||
required:
|
||||
- kind
|
||||
- item_instance_id
|
||||
- occurred_at
|
||||
properties:
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- screenshot_key
|
||||
- devtools_open
|
||||
item_instance_id:
|
||||
$ref: '#/AssessmentItemId'
|
||||
occurred_at:
|
||||
$ref: '#/Timestamp'
|
||||
AssessmentSignalBatch:
|
||||
type: object
|
||||
description: A bounded batch of client event metadata. The raw request body is limited to 32 KiB before decoding and the batch contains at most 50 events.
|
||||
|
||||
@@ -815,6 +815,28 @@ schemas:
|
||||
$ref: "#/schemas/AssessmentPractice"
|
||||
watermark:
|
||||
$ref: "#/schemas/AssessmentWatermark"
|
||||
AssessmentWorkSession:
|
||||
type: object
|
||||
description: >-
|
||||
The work session of a real attempt that the calling page holds. It is a
|
||||
one-page-at-a-time rule for the attempt, not a score or a signal, and it
|
||||
changes no result.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- held_until
|
||||
- renew_after_seconds
|
||||
properties:
|
||||
held_until:
|
||||
$ref: "./common_schemas.yml#/schemas/Timestamp"
|
||||
renew_after_seconds:
|
||||
type: integer
|
||||
format: int32
|
||||
minimum: 1
|
||||
maximum: 3600
|
||||
description: >-
|
||||
How often the page repeats the hold. It is well below the hold time,
|
||||
so a page whose timer is slowed down in the background still renews
|
||||
before its hold expires.
|
||||
AssessmentWatermark:
|
||||
type: object
|
||||
description: >-
|
||||
|
||||
@@ -8,6 +8,7 @@ schemas:
|
||||
- $ref: "#/schemas/AssessmentFocusLossSignal"
|
||||
- $ref: "#/schemas/AssessmentClipboardSignal"
|
||||
- $ref: "#/schemas/AssessmentFullscreenExitSignal"
|
||||
- $ref: "#/schemas/AssessmentCaptureSignal"
|
||||
discriminator:
|
||||
propertyName: kind
|
||||
mapping:
|
||||
@@ -16,6 +17,8 @@ schemas:
|
||||
paste: "#/schemas/AssessmentClipboardSignal"
|
||||
cut: "#/schemas/AssessmentClipboardSignal"
|
||||
fullscreen_exit: "#/schemas/AssessmentFullscreenExitSignal"
|
||||
screenshot_key: "#/schemas/AssessmentCaptureSignal"
|
||||
devtools_open: "#/schemas/AssessmentCaptureSignal"
|
||||
AssessmentFocusLossSignal:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
@@ -88,6 +91,34 @@ schemas:
|
||||
$ref: "#/schemas/AssessmentItemId"
|
||||
occurred_at:
|
||||
$ref: "#/schemas/Timestamp"
|
||||
AssessmentCaptureSignal:
|
||||
type: object
|
||||
description: >-
|
||||
A hint that the screen may be captured or inspected. `screenshot_key`
|
||||
is a key or key combination that the browser saw and that usually takes
|
||||
a screenshot (PrintScreen, Cmd+Shift+3, 4, or 5 on macOS, Win+Shift+S);
|
||||
`devtools_open` is the result of a heuristic that guesses that the
|
||||
developer tools are open (a docked panel changes the window size, or the
|
||||
console reads an object). Both are weak: a browser does not see every
|
||||
screenshot, an operating system can take one without a key the page
|
||||
sees, a phone photo is invisible to the page, and the heuristic gives
|
||||
false positives. They lead to attention in a manual review at most,
|
||||
never to a score change, and they carry no measurement.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- kind
|
||||
- item_instance_id
|
||||
- occurred_at
|
||||
properties:
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- screenshot_key
|
||||
- devtools_open
|
||||
item_instance_id:
|
||||
$ref: "#/schemas/AssessmentItemId"
|
||||
occurred_at:
|
||||
$ref: "#/schemas/Timestamp"
|
||||
AssessmentSignalBatch:
|
||||
type: object
|
||||
description: >-
|
||||
|
||||
@@ -1014,6 +1014,8 @@ paths:
|
||||
|
||||
If the attempt deadline or session budget has passed, this command commits the due terminal transition and returns the resulting attempt. A pending practice submitted before the limit is graded first. `GetMyAssessmentAttempt` and `GetMyAssessmentResult` remain read-only: they never start a session or commit a due transition. A background transition may persist a due outcome independently; after that, this command returns the stored terminal attempt without changing it.
|
||||
|
||||
One page at a time. While another page holds the work session of this attempt (HoldMyAssessmentWorkSession), a request from a different `X-Attempt-Client`, or from none, answers 409 `state_conflict` and changes nothing; the client tells the candidate that the attempt is open in another window. That refusal is not stored under the Idempotency-Key, because it lasts only until the other page closes or stops renewing. A real attempt that nobody holds is not refused.
|
||||
|
||||
The attempt must belong to the candidate of the session. An attempt of another candidate answers 404 not_found, the same as an unknown identifier. An employer account answers 403 forbidden; no operation gives an employer answers, qualification evidence, or attempt history.
|
||||
security:
|
||||
- sessionCookie: []
|
||||
@@ -1023,6 +1025,7 @@ paths:
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/AssessmentAttemptId'
|
||||
- $ref: '#/components/parameters/IdempotencyKey'
|
||||
- $ref: '#/components/parameters/AttemptClient'
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
@@ -1116,6 +1119,81 @@ paths:
|
||||
$ref: '#/components/responses/TooManyRequests'
|
||||
default:
|
||||
$ref: '#/components/responses/Problem'
|
||||
/api/v1/me/assessment-attempts/{attempt_id}/work-session:
|
||||
put:
|
||||
operationId: HoldMyAssessmentWorkSession
|
||||
summary: Hold the single active work session of a real assessment attempt for this page.
|
||||
description: |-
|
||||
Requires a candidate session, its CSRF token in X-CSRF-Token, an allowed Origin, and the `X-Attempt-Client` header of the page. A real attempt (`root` or `corrective`) allows one open page at a time. The page that works on the attempt calls this operation when the candidate starts or resumes work and then repeats it every `renew_after_seconds`; each call holds the work session until `held_until`.
|
||||
|
||||
- If nobody holds the work session, the previous holder released it, or its hold expired, the page becomes the holder and the answer is 200.
|
||||
- If the same page holds it, the hold is renewed and the answer is 200.
|
||||
- If another page holds it, the answer is 409 `state_conflict` and nothing changes: the second page is refused until the first one releases the session (ReleaseMyAssessmentWorkSession) or stops renewing and its hold expires. The client tells the candidate that the attempt is open in another window and does not show the task.
|
||||
|
||||
The same 409 answers a terminal or expired attempt and a `demo_express` attempt, which has no protected work session. The hold is a one-page-at-a-time rule, not a lock on the candidate: a candidate who closes a page, reloads, or opens the attempt on another device can continue when the hold is released or has expired (at most two minutes after the last renewal). It is not a security boundary: a client that never calls this operation is refused only while another page holds the session. The server stores one-way keyed digests of the page identifier and of the User-Agent, bound to the attempt; it never stores or returns either value. A change of the User-Agent digest during an attempt is a weak server signal for a manual review, never an automatic decision.
|
||||
|
||||
Order of checks: session (401), CSRF and Origin (403 csrf_check_failed), request validation (400), account scenario (403 forbidden), the attempt (404 not_found for an unknown attempt or one of another candidate), then the hold (409 state_conflict).
|
||||
security:
|
||||
- sessionCookie: []
|
||||
sessionCsrf: []
|
||||
tags:
|
||||
- assessment
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/AssessmentAttemptId'
|
||||
- $ref: '#/components/parameters/AttemptClientRequired'
|
||||
responses:
|
||||
'200':
|
||||
description: The page holds the work session until `held_until`.
|
||||
headers:
|
||||
Cache-Control:
|
||||
$ref: '#/components/headers/CacheControlNoStore'
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AssessmentWorkSession'
|
||||
'400':
|
||||
$ref: '#/components/responses/ValidationFailed'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthenticated'
|
||||
'403':
|
||||
$ref: '#/components/responses/CsrfCheckFailedOrForbidden'
|
||||
'404':
|
||||
$ref: '#/components/responses/NotFound'
|
||||
'409':
|
||||
$ref: '#/components/responses/StateConflict'
|
||||
default:
|
||||
$ref: '#/components/responses/Problem'
|
||||
delete:
|
||||
operationId: ReleaseMyAssessmentWorkSession
|
||||
summary: Release the work session that this page holds.
|
||||
description: |-
|
||||
Requires a candidate session, its CSRF token in X-CSRF-Token, an allowed Origin, and the `X-Attempt-Client` header of the page. The page calls it when it closes, so that the candidate can open the attempt in another window at once instead of waiting for the hold to expire. The request is idempotent and reveals nothing: it answers 204 whether this page held the session, another page holds it (which stays held), nobody held it, or the attempt is not held at all, and a repeat after a lost response succeeds. A page that is killed without calling it loses the hold within two minutes.
|
||||
|
||||
Order of checks: session (401), CSRF and Origin (403 csrf_check_failed), request validation (400), account scenario (403 forbidden), the attempt (404 not_found for an unknown attempt or one of another candidate), then the release (204).
|
||||
security:
|
||||
- sessionCookie: []
|
||||
sessionCsrf: []
|
||||
tags:
|
||||
- assessment
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/AssessmentAttemptId'
|
||||
- $ref: '#/components/parameters/AttemptClientRequired'
|
||||
responses:
|
||||
'204':
|
||||
description: This page no longer holds the work session.
|
||||
headers:
|
||||
Cache-Control:
|
||||
$ref: '#/components/headers/CacheControlNoStore'
|
||||
'400':
|
||||
$ref: '#/components/responses/ValidationFailed'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthenticated'
|
||||
'403':
|
||||
$ref: '#/components/responses/CsrfCheckFailedOrForbidden'
|
||||
'404':
|
||||
$ref: '#/components/responses/NotFound'
|
||||
default:
|
||||
$ref: '#/components/responses/Problem'
|
||||
/api/v1/me/assessment-attempts/{attempt_id}/answers:
|
||||
post:
|
||||
operationId: SubmitMyAssessmentAnswer
|
||||
@@ -1129,6 +1207,8 @@ paths:
|
||||
|
||||
Practice: an answer with format `practice` submits the solution of the main or the additional practice. It is stored, and the sandbox runs it asynchronously against the hidden check groups; the response shows the practice `pending`, and the client polls GetMyAssessmentAttempt for the verdict. Only the score 0-3 and the pass state of each group are shown, never the checks, error output, or seeds. Every outcome caused by the solution, such as a compilation error, a crash, or a time or memory limit, is a `finished` verdict. A `failed` verdict means only that the sandbox infrastructure could not run it; it consumes nothing. After `finished` the practice accepts no other solution, so hidden group results cannot be used to tune it. Debug runs of the candidate's own tests and the public examples are unlimited apart from the sandbox rate limit and never show hidden group results; they are planned as a separate operation.
|
||||
|
||||
One page at a time. While another page holds the work session of this attempt (HoldMyAssessmentWorkSession), a request from a different `X-Attempt-Client`, or from none, answers 409 `state_conflict` and stores nothing, so a second window cannot answer. That refusal is not stored under the Idempotency-Key and is checked before the stored answer is replayed.
|
||||
|
||||
Repeats and conflicts, per item:
|
||||
- A retry with the same Idempotency-Key and body within 24 hours replays the stored response.
|
||||
- Sending the answer already stored for the item again, even with a new key or an older `expected_version`, stores nothing, keeps the version, and answers 200 with the current attempt. Each answer format defines equality: sets for `option_ids` and `line_numbers`, the exact sequence for `element_ids`, numeric equality for `number`, identical text without normalization for `text` and `config`, and the same language with identical source for a practice.
|
||||
@@ -1146,6 +1226,7 @@ paths:
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/AssessmentAttemptId'
|
||||
- $ref: '#/components/parameters/IdempotencyKey'
|
||||
- $ref: '#/components/parameters/AttemptClient'
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
@@ -5806,6 +5887,7 @@ components:
|
||||
- $ref: '#/components/schemas/AssessmentFocusLossSignal'
|
||||
- $ref: '#/components/schemas/AssessmentClipboardSignal'
|
||||
- $ref: '#/components/schemas/AssessmentFullscreenExitSignal'
|
||||
- $ref: '#/components/schemas/AssessmentCaptureSignal'
|
||||
discriminator:
|
||||
propertyName: kind
|
||||
mapping:
|
||||
@@ -5814,6 +5896,8 @@ components:
|
||||
paste: '#/components/schemas/AssessmentClipboardSignal'
|
||||
cut: '#/components/schemas/AssessmentClipboardSignal'
|
||||
fullscreen_exit: '#/components/schemas/AssessmentFullscreenExitSignal'
|
||||
screenshot_key: '#/components/schemas/AssessmentCaptureSignal'
|
||||
devtools_open: '#/components/schemas/AssessmentCaptureSignal'
|
||||
AssessmentFocusLossSignal:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
@@ -10773,6 +10857,40 @@ components:
|
||||
- task_language
|
||||
- root_attempt_id
|
||||
- chain_deadline
|
||||
AssessmentCaptureSignal:
|
||||
type: object
|
||||
description: 'A hint that the screen may be captured or inspected. `screenshot_key` is a key or key combination that the browser saw and that usually takes a screenshot (PrintScreen, Cmd+Shift+3, 4, or 5 on macOS, Win+Shift+S); `devtools_open` is the result of a heuristic that guesses that the developer tools are open (a docked panel changes the window size, or the console reads an object). Both are weak: a browser does not see every screenshot, an operating system can take one without a key the page sees, a phone photo is invisible to the page, and the heuristic gives false positives. They lead to attention in a manual review at most, never to a score change, and they carry no measurement.'
|
||||
additionalProperties: false
|
||||
required:
|
||||
- kind
|
||||
- item_instance_id
|
||||
- occurred_at
|
||||
properties:
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- screenshot_key
|
||||
- devtools_open
|
||||
item_instance_id:
|
||||
$ref: '#/components/schemas/AssessmentItemId'
|
||||
occurred_at:
|
||||
$ref: '#/components/schemas/Timestamp'
|
||||
AssessmentWorkSession:
|
||||
type: object
|
||||
description: The work session of a real attempt that the calling page holds. It is a one-page-at-a-time rule for the attempt, not a score or a signal, and it changes no result.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- held_until
|
||||
- renew_after_seconds
|
||||
properties:
|
||||
held_until:
|
||||
$ref: '#/components/schemas/Timestamp'
|
||||
renew_after_seconds:
|
||||
type: integer
|
||||
format: int32
|
||||
minimum: 1
|
||||
maximum: 3600
|
||||
description: How often the page repeats the hold. It is well below the hold time, so a page whose timer is slowed down in the background still renews before its hold expires.
|
||||
AssessmentFinalizeConflictProblem:
|
||||
type: object
|
||||
description: A finalize state conflict. `pending_item_ids` is present only when the attempt still has required questions without answers; it is omitted for other state conflicts and idempotency conflicts.
|
||||
@@ -11719,6 +11837,31 @@ components:
|
||||
type: string
|
||||
format: uuid
|
||||
example: 01928f7a-8b9c-7d0e-9f1a-2b3c4d5e6f70
|
||||
AttemptClient:
|
||||
name: X-Attempt-Client
|
||||
in: header
|
||||
required: false
|
||||
description: |-
|
||||
Random identifier that one open page of the assessment attempt generates when it loads and keeps until it closes, 16 to 64 characters of `A-Za-z0-9_-`. It names the page that holds the single active work session of the attempt (see HoldMyAssessmentWorkSession). The server keeps only a one-way keyed digest bound to the attempt, never the value.
|
||||
|
||||
A request that omits the header counts as one anonymous client. It is refused with 409 `state_conflict` while another page holds the work session, and it is accepted while nobody does, so a client that predates the header keeps working until a page holds the session.
|
||||
schema:
|
||||
type: string
|
||||
minLength: 16
|
||||
maxLength: 64
|
||||
pattern: ^[A-Za-z0-9_-]+$
|
||||
example: 7mK2pQx9Rt4vWc1Zb8NfYd3Ha6Js0LeG
|
||||
AttemptClientRequired:
|
||||
name: X-Attempt-Client
|
||||
in: header
|
||||
required: true
|
||||
description: The page identifier described at AttemptClient. It is required here because the operation exists to hold or release the work session of one page.
|
||||
schema:
|
||||
type: string
|
||||
minLength: 16
|
||||
maxLength: 64
|
||||
pattern: ^[A-Za-z0-9_-]+$
|
||||
example: 7mK2pQx9Rt4vWc1Zb8NfYd3Ha6Js0LeG
|
||||
CandidateHandle:
|
||||
name: candidate_handle
|
||||
in: path
|
||||
|
||||
@@ -135,6 +135,8 @@ paths:
|
||||
$ref: ./routes/candidate_assessment_attempt_sessions.yml
|
||||
/api/v1/me/assessment-attempts/{attempt_id}/signals:
|
||||
$ref: ./routes/candidate_assessment_signals.yml
|
||||
/api/v1/me/assessment-attempts/{attempt_id}/work-session:
|
||||
$ref: ./routes/candidate_assessment_attempt_work_session.yml
|
||||
/api/v1/me/assessment-attempts/{attempt_id}/answers:
|
||||
$ref: ./routes/candidate_assessment_attempt_answers.yml
|
||||
/api/v1/me/assessment-attempts/{attempt_id}/finalize:
|
||||
|
||||
@@ -10,6 +10,8 @@ post:
|
||||
|
||||
Practice: an answer with format `practice` submits the solution of the main or the additional practice. It is stored, and the sandbox runs it asynchronously against the hidden check groups; the response shows the practice `pending`, and the client polls GetMyAssessmentAttempt for the verdict. Only the score 0-3 and the pass state of each group are shown, never the checks, error output, or seeds. Every outcome caused by the solution, such as a compilation error, a crash, or a time or memory limit, is a `finished` verdict. A `failed` verdict means only that the sandbox infrastructure could not run it; it consumes nothing. After `finished` the practice accepts no other solution, so hidden group results cannot be used to tune it. Debug runs of the candidate's own tests and the public examples are unlimited apart from the sandbox rate limit and never show hidden group results; they are planned as a separate operation.
|
||||
|
||||
One page at a time. While another page holds the work session of this attempt (HoldMyAssessmentWorkSession), a request from a different `X-Attempt-Client`, or from none, answers 409 `state_conflict` and stores nothing, so a second window cannot answer. That refusal is not stored under the Idempotency-Key and is checked before the stored answer is replayed.
|
||||
|
||||
Repeats and conflicts, per item:
|
||||
- A retry with the same Idempotency-Key and body within 24 hours replays the stored response.
|
||||
- Sending the answer already stored for the item again, even with a new key or an older `expected_version`, stores nothing, keeps the version, and answers 200 with the current attempt. Each answer format defines equality: sets for `option_ids` and `line_numbers`, the exact sequence for `element_ids`, numeric equality for `number`, identical text without normalization for `text` and `config`, and the same language with identical source for a practice.
|
||||
@@ -27,6 +29,7 @@ post:
|
||||
parameters:
|
||||
- $ref: ../components/parameters.yml#/AssessmentAttemptId
|
||||
- $ref: ../components/parameters.yml#/IdempotencyKey
|
||||
- $ref: ../components/parameters.yml#/AttemptClient
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
||||
@@ -8,6 +8,8 @@ post:
|
||||
|
||||
If the attempt deadline or session budget has passed, this command commits the due terminal transition and returns the resulting attempt. A pending practice submitted before the limit is graded first. `GetMyAssessmentAttempt` and `GetMyAssessmentResult` remain read-only: they never start a session or commit a due transition. A background transition may persist a due outcome independently; after that, this command returns the stored terminal attempt without changing it.
|
||||
|
||||
One page at a time. While another page holds the work session of this attempt (HoldMyAssessmentWorkSession), a request from a different `X-Attempt-Client`, or from none, answers 409 `state_conflict` and changes nothing; the client tells the candidate that the attempt is open in another window. That refusal is not stored under the Idempotency-Key, because it lasts only until the other page closes or stops renewing. A real attempt that nobody holds is not refused.
|
||||
|
||||
The attempt must belong to the candidate of the session. An attempt of another candidate answers 404 not_found, the same as an unknown identifier. An employer account answers 403 forbidden; no operation gives an employer answers, qualification evidence, or attempt history.
|
||||
security:
|
||||
- sessionCookie: []
|
||||
@@ -17,6 +19,7 @@ post:
|
||||
parameters:
|
||||
- $ref: ../components/parameters.yml#/AssessmentAttemptId
|
||||
- $ref: ../components/parameters.yml#/IdempotencyKey
|
||||
- $ref: ../components/parameters.yml#/AttemptClient
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
put:
|
||||
operationId: HoldMyAssessmentWorkSession
|
||||
summary: Hold the single active work session of a real assessment attempt for this page.
|
||||
description: |-
|
||||
Requires a candidate session, its CSRF token in X-CSRF-Token, an allowed Origin, and the `X-Attempt-Client` header of the page. A real attempt (`root` or `corrective`) allows one open page at a time. The page that works on the attempt calls this operation when the candidate starts or resumes work and then repeats it every `renew_after_seconds`; each call holds the work session until `held_until`.
|
||||
|
||||
- If nobody holds the work session, the previous holder released it, or its hold expired, the page becomes the holder and the answer is 200.
|
||||
- If the same page holds it, the hold is renewed and the answer is 200.
|
||||
- If another page holds it, the answer is 409 `state_conflict` and nothing changes: the second page is refused until the first one releases the session (ReleaseMyAssessmentWorkSession) or stops renewing and its hold expires. The client tells the candidate that the attempt is open in another window and does not show the task.
|
||||
|
||||
The same 409 answers a terminal or expired attempt and a `demo_express` attempt, which has no protected work session. The hold is a one-page-at-a-time rule, not a lock on the candidate: a candidate who closes a page, reloads, or opens the attempt on another device can continue when the hold is released or has expired (at most two minutes after the last renewal). It is not a security boundary: a client that never calls this operation is refused only while another page holds the session. The server stores one-way keyed digests of the page identifier and of the User-Agent, bound to the attempt; it never stores or returns either value. A change of the User-Agent digest during an attempt is a weak server signal for a manual review, never an automatic decision.
|
||||
|
||||
Order of checks: session (401), CSRF and Origin (403 csrf_check_failed), request validation (400), account scenario (403 forbidden), the attempt (404 not_found for an unknown attempt or one of another candidate), then the hold (409 state_conflict).
|
||||
security:
|
||||
- sessionCookie: []
|
||||
sessionCsrf: []
|
||||
tags:
|
||||
- assessment
|
||||
parameters:
|
||||
- $ref: ../components/parameters.yml#/AssessmentAttemptId
|
||||
- $ref: ../components/parameters.yml#/AttemptClientRequired
|
||||
responses:
|
||||
"200":
|
||||
description: The page holds the work session until `held_until`.
|
||||
headers:
|
||||
Cache-Control:
|
||||
$ref: ../components/headers.yml#/CacheControlNoStore
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas.yml#/AssessmentWorkSession
|
||||
"400":
|
||||
$ref: ../components/responses.yml#/ValidationFailed
|
||||
"401":
|
||||
$ref: ../components/responses.yml#/Unauthenticated
|
||||
"403":
|
||||
$ref: ../components/responses.yml#/CsrfCheckFailedOrForbidden
|
||||
"404":
|
||||
$ref: ../components/responses.yml#/NotFound
|
||||
"409":
|
||||
$ref: ../components/responses.yml#/StateConflict
|
||||
default:
|
||||
$ref: ../components/responses.yml#/Problem
|
||||
delete:
|
||||
operationId: ReleaseMyAssessmentWorkSession
|
||||
summary: Release the work session that this page holds.
|
||||
description: |-
|
||||
Requires a candidate session, its CSRF token in X-CSRF-Token, an allowed Origin, and the `X-Attempt-Client` header of the page. The page calls it when it closes, so that the candidate can open the attempt in another window at once instead of waiting for the hold to expire. The request is idempotent and reveals nothing: it answers 204 whether this page held the session, another page holds it (which stays held), nobody held it, or the attempt is not held at all, and a repeat after a lost response succeeds. A page that is killed without calling it loses the hold within two minutes.
|
||||
|
||||
Order of checks: session (401), CSRF and Origin (403 csrf_check_failed), request validation (400), account scenario (403 forbidden), the attempt (404 not_found for an unknown attempt or one of another candidate), then the release (204).
|
||||
security:
|
||||
- sessionCookie: []
|
||||
sessionCsrf: []
|
||||
tags:
|
||||
- assessment
|
||||
parameters:
|
||||
- $ref: ../components/parameters.yml#/AssessmentAttemptId
|
||||
- $ref: ../components/parameters.yml#/AttemptClientRequired
|
||||
responses:
|
||||
"204":
|
||||
description: This page no longer holds the work session.
|
||||
headers:
|
||||
Cache-Control:
|
||||
$ref: ../components/headers.yml#/CacheControlNoStore
|
||||
"400":
|
||||
$ref: ../components/responses.yml#/ValidationFailed
|
||||
"401":
|
||||
$ref: ../components/responses.yml#/Unauthenticated
|
||||
"403":
|
||||
$ref: ../components/responses.yml#/CsrfCheckFailedOrForbidden
|
||||
"404":
|
||||
$ref: ../components/responses.yml#/NotFound
|
||||
default:
|
||||
$ref: ../components/responses.yml#/Problem
|
||||
Reference in new issue
Block a user