Files
lincodex/api/core/routes/candidate_assessment_results.yml

42 lines
1.8 KiB
YAML

get:
operationId: ListMyAssessmentResults
summary: List immutable real assessment results of the current candidate.
description: |-
Requires a candidate session. Returns only completed root and corrective results owned by this candidate, newest first by decided_at and attempt_id. demo_express training results never appear. The cursor is opaque and bound to this candidate and listing; a malformed or foreign cursor returns 400 validation_failed.
A v2 result includes the category decision captured when that attempt ended, including the confirmed grade then in force. Legacy v1 results omit category_decision because a later category must not be projected backward. Later policy, bank, review, or category changes do not alter either result. Employers cannot read this history; their separate projection contains only the current permitted category and no answers.
security:
- sessionCookie: []
tags:
- assessment
parameters:
- name: limit
in: query
required: false
description: Maximum number of results per page.
schema:
type: integer
format: int32
minimum: 1
maximum: 50
default: 20
- $ref: ../components/parameters.yml#/PageCursor
responses:
"200":
description: One owner-scoped page of immutable results.
headers:
Cache-Control:
$ref: ../components/headers.yml#/CacheControlNoStore
content:
application/json:
schema:
$ref: ../components/schemas.yml#/AssessmentResultHistoryPage
"400":
$ref: ../components/responses.yml#/ValidationFailed
"401":
$ref: ../components/responses.yml#/Unauthenticated
"403":
$ref: ../components/responses.yml#/Forbidden
default:
$ref: ../components/responses.yml#/Problem