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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user