{ "components": { "schemas": { "AssignmentLifecycleResponse": { "additionalProperties": false, "properties": { "active": { "minimum": 0.0, "title": "Active", "type": "integer" }, "cancelled": { "minimum": 0.0, "title": "Cancelled", "type": "integer" }, "closed": { "minimum": 0.0, "title": "Closed", "type": "integer" } }, "required": [ "active", "closed", "cancelled" ], "title": "AssignmentLifecycleResponse", "type": "object" }, "AttemptResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "attempt_id": { "format": "uuid", "title": "Attempt Id", "type": "string" }, "attempt_number": { "title": "Attempt Number", "type": "integer" }, "class_ref": { "title": "Class Ref", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "last_saved_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Last Saved At" }, "lifecycle_state": { "title": "Lifecycle State", "type": "string" }, "responses": { "items": { "$ref": "#/components/schemas/AttemptResponseItemResponse" }, "title": "Responses", "type": "array" }, "started_at": { "format": "date-time", "title": "Started At", "type": "string" }, "submission_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Submission Id" }, "submitted_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Submitted At" }, "teaching_assignment_id": { "format": "uuid", "title": "Teaching Assignment Id", "type": "string" } }, "required": [ "attempt_id", "teaching_assignment_id", "content_id", "content_version_id", "class_ref", "attempt_number", "lifecycle_state", "started_at", "last_saved_at", "submitted_at", "submission_id", "aggregate_revision", "responses" ], "title": "AttemptResponse", "type": "object" }, "AttemptResponseItemResponse": { "additionalProperties": false, "properties": { "boolean_value": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Boolean Value" }, "choice_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Choice Value" }, "question_id": { "title": "Question Id", "type": "string" }, "response_kind": { "title": "Response Kind", "type": "string" }, "text_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Text Value" } }, "required": [ "question_id", "response_kind", "choice_value", "text_value", "boolean_value" ], "title": "AttemptResponseItemResponse", "type": "object" }, "AttemptResponseWriteRequest": { "additionalProperties": false, "properties": { "boolean_value": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Boolean Value" }, "choice_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Choice Value" }, "question_id": { "minLength": 1, "title": "Question Id", "type": "string" }, "response_kind": { "minLength": 1, "title": "Response Kind", "type": "string" }, "text_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Text Value" } }, "required": [ "question_id", "response_kind" ], "title": "AttemptResponseWriteRequest", "type": "object" }, "AttemptResponsesReplaceRequest": { "additionalProperties": false, "properties": { "responses": { "items": { "$ref": "#/components/schemas/AttemptResponseWriteRequest" }, "title": "Responses", "type": "array" } }, "title": "AttemptResponsesReplaceRequest", "type": "object" }, "CapabilityRouteResponse": { "additionalProperties": false, "properties": { "capability_id": { "maxLength": 128, "minLength": 1, "title": "Capability Id", "type": "string" }, "display_name": { "maxLength": 128, "minLength": 1, "title": "Display Name", "type": "string" }, "model_id": { "maxLength": 128, "minLength": 1, "title": "Model Id", "type": "string" }, "provider_id": { "maxLength": 64, "minLength": 1, "title": "Provider Id", "type": "string" } }, "required": [ "capability_id", "display_name", "provider_id", "model_id" ], "title": "CapabilityRouteResponse", "type": "object" }, "ClassroomAssessmentCorrectRequest": { "additionalProperties": false, "properties": { "class_result_level": { "maxLength": 64, "minLength": 1, "title": "Class Result Level", "type": "string" }, "class_result_note": { "anyOf": [ { "maxLength": 4096, "type": "string" }, { "type": "null" } ], "title": "Class Result Note" } }, "required": [ "class_result_level" ], "title": "ClassroomAssessmentCorrectRequest", "type": "object" }, "ClassroomAssessmentListResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/ClassroomAssessmentResponse" }, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "ClassroomAssessmentListResponse", "type": "object" }, "ClassroomAssessmentRecordRequest": { "additionalProperties": false, "properties": { "assignment_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Assignment Id" }, "class_ref": { "maxLength": 512, "minLength": 1, "title": "Class Ref", "type": "string" }, "class_result_level": { "maxLength": 64, "minLength": 1, "title": "Class Result Level", "type": "string" }, "class_result_note": { "anyOf": [ { "maxLength": 4096, "type": "string" }, { "type": "null" } ], "title": "Class Result Note" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "execution_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Execution Id" }, "work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Work Id" } }, "required": [ "class_ref", "content_id", "content_version_id", "class_result_level" ], "title": "ClassroomAssessmentRecordRequest", "type": "object" }, "ClassroomAssessmentResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "assessment_id": { "format": "uuid", "title": "Assessment Id", "type": "string" }, "assignment_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Assignment Id" }, "class_ref": { "title": "Class Ref", "type": "string" }, "class_result_level": { "title": "Class Result Level", "type": "string" }, "class_result_note": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Class Result Note" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "execution_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Execution Id" }, "lifecycle_state": { "title": "Lifecycle State", "type": "string" }, "recorded_at": { "format": "date-time", "title": "Recorded At", "type": "string" }, "teacher_principal_id": { "format": "uuid", "title": "Teacher Principal Id", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "voided_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Voided At" }, "work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Work Id" } }, "required": [ "assessment_id", "teacher_principal_id", "class_ref", "content_id", "content_version_id", "class_result_level", "class_result_note", "lifecycle_state", "work_id", "execution_id", "assignment_id", "aggregate_revision", "recorded_at", "voided_at", "created_at", "updated_at" ], "title": "ClassroomAssessmentResponse", "type": "object" }, "ContentCreateRequest": { "additionalProperties": false, "properties": { "content_type": { "minLength": 1, "title": "Content Type", "type": "string" }, "description": { "title": "Description", "type": "string" }, "locale": { "minLength": 1, "title": "Locale", "type": "string" }, "title": { "minLength": 1, "title": "Title", "type": "string" } }, "required": [ "content_type", "title", "description", "locale" ], "title": "ContentCreateRequest", "type": "object" }, "ContentListResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/ContentResponse" }, "title": "Items", "type": "array" }, "next_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Cursor" } }, "required": [ "items", "next_cursor" ], "title": "ContentListResponse", "type": "object" }, "ContentPublishRequest": { "additionalProperties": false, "properties": { "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "version_id" ], "title": "ContentPublishRequest", "type": "object" }, "ContentResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "archived_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Archived At" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "current_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Current Version Id" }, "description": { "title": "Description", "type": "string" }, "locale": { "title": "Locale", "type": "string" }, "published_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Published Version Id" }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "title": { "title": "Title", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "content_id", "content_type", "title", "description", "locale", "stewardship_state", "current_version_id", "published_version_id", "aggregate_revision", "created_at", "updated_at", "archived_at" ], "title": "ContentResponse", "type": "object" }, "ContentVersionAppendRequest": { "additionalProperties": false, "properties": { "asset_refs": { "items": { "$ref": "#/components/schemas/VersionAssetRefRequest" }, "title": "Asset Refs", "type": "array" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" }, "schema_id": { "minLength": 1, "title": "Schema Id", "type": "string" }, "schema_version": { "minimum": 1.0, "title": "Schema Version", "type": "integer" } }, "required": [ "schema_id", "schema_version", "payload" ], "title": "ContentVersionAppendRequest", "type": "object" }, "ContentVersionResponse": { "additionalProperties": false, "properties": { "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "origin": { "title": "Origin", "type": "string" }, "parent_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Parent Version Id" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" }, "payload_sha256": { "title": "Payload Sha256", "type": "string" }, "schema_id": { "title": "Schema Id", "type": "string" }, "schema_version": { "title": "Schema Version", "type": "integer" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" }, "version_number": { "title": "Version Number", "type": "integer" } }, "required": [ "version_id", "content_id", "version_number", "parent_version_id", "schema_id", "schema_version", "payload", "payload_sha256", "origin", "created_at" ], "title": "ContentVersionResponse", "type": "object" }, "ContinueWorkSummaryResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "class_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Class Label" }, "goal_text": { "title": "Goal Text", "type": "string" }, "intent_type": { "title": "Intent Type", "type": "string" }, "subject": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Subject" }, "target_date": { "format": "date", "title": "Target Date", "type": "string" }, "topic": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Topic" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "work_id": { "format": "uuid", "title": "Work Id", "type": "string" } }, "required": [ "work_id", "intent_type", "goal_text", "class_label", "subject", "topic", "target_date", "aggregate_revision", "updated_at" ], "title": "ContinueWorkSummaryResponse", "type": "object" }, "EducationalQualityCheckResponse": { "additionalProperties": false, "properties": { "code": { "title": "Code", "type": "string" }, "explanation": { "title": "Explanation", "type": "string" }, "passed": { "title": "Passed", "type": "boolean" } }, "required": [ "code", "passed", "explanation" ], "title": "EducationalQualityCheckResponse", "type": "object" }, "EducationalQualityResponse": { "additionalProperties": false, "properties": { "checks": { "items": { "$ref": "#/components/schemas/EducationalQualityCheckResponse" }, "title": "Checks", "type": "array" }, "status": { "title": "Status", "type": "string" } }, "required": [ "status", "checks" ], "title": "EducationalQualityResponse", "type": "object" }, "EvaluationCoverageAmongSubmittedResponse": { "additionalProperties": false, "properties": { "current_policy_evaluated_count": { "minimum": 0.0, "title": "Current Policy Evaluated Count", "type": "integer" }, "submitted_count": { "minimum": 0.0, "title": "Submitted Count", "type": "integer" } }, "required": [ "submitted_count", "current_policy_evaluated_count" ], "title": "EvaluationCoverageAmongSubmittedResponse", "type": "object" }, "GeneratedArtifactResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "title": { "title": "Title", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "content_id", "version_id", "content_type", "title", "stewardship_state", "aggregate_revision" ], "title": "GeneratedArtifactResponse", "type": "object" }, "HeroActionResponse": { "additionalProperties": false, "properties": { "kind": { "title": "Kind", "type": "string" }, "work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Work Id" } }, "required": [ "kind", "work_id" ], "title": "HeroActionResponse", "type": "object" }, "LearnerAssessmentEvaluationItemResponse": { "additionalProperties": false, "properties": { "evaluation_method": { "title": "Evaluation Method", "type": "string" }, "objective_ids": { "items": { "type": "string" }, "title": "Objective Ids", "type": "array" }, "outcome": { "title": "Outcome", "type": "string" }, "question_id": { "title": "Question Id", "type": "string" }, "question_type": { "title": "Question Type", "type": "string" }, "response_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Response Kind" } }, "required": [ "question_id", "question_type", "outcome", "evaluation_method", "objective_ids" ], "title": "LearnerAssessmentEvaluationItemResponse", "type": "object" }, "LearnerAssessmentEvaluationResponse": { "additionalProperties": false, "properties": { "attempt_id": { "format": "uuid", "title": "Attempt Id", "type": "string" }, "class_ref": { "title": "Class Ref", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "evaluated_at": { "format": "date-time", "title": "Evaluated At", "type": "string" }, "evaluation_id": { "format": "uuid", "title": "Evaluation Id", "type": "string" }, "evaluation_policy_id": { "title": "Evaluation Policy Id", "type": "string" }, "evaluation_policy_version": { "title": "Evaluation Policy Version", "type": "integer" }, "items": { "items": { "$ref": "#/components/schemas/LearnerAssessmentEvaluationItemResponse" }, "title": "Items", "type": "array" }, "learner_principal_id": { "format": "uuid", "title": "Learner Principal Id", "type": "string" }, "objective_evidence": { "items": { "$ref": "#/components/schemas/LearnerAssessmentObjectiveEvidenceResponse" }, "title": "Objective Evidence", "type": "array" }, "submission_id": { "format": "uuid", "title": "Submission Id", "type": "string" }, "teaching_assignment_id": { "format": "uuid", "title": "Teaching Assignment Id", "type": "string" } }, "required": [ "evaluation_id", "learner_principal_id", "submission_id", "attempt_id", "teaching_assignment_id", "content_id", "content_version_id", "class_ref", "evaluation_policy_id", "evaluation_policy_version", "evaluated_at", "created_at", "items", "objective_evidence" ], "title": "LearnerAssessmentEvaluationResponse", "type": "object" }, "LearnerAssessmentObjectiveEvidenceResponse": { "additionalProperties": false, "properties": { "objective_id": { "title": "Objective Id", "type": "string" }, "result": { "title": "Result", "type": "string" } }, "required": [ "objective_id", "result" ], "title": "LearnerAssessmentObjectiveEvidenceResponse", "type": "object" }, "LearnerHintItemResponse": { "additionalProperties": false, "properties": { "hint_text": { "minLength": 1, "title": "Hint Text", "type": "string" }, "question_id": { "minLength": 1, "title": "Question Id", "type": "string" } }, "required": [ "question_id", "hint_text" ], "title": "LearnerHintItemResponse", "type": "object" }, "LearnerHintsResponse": { "additionalProperties": false, "properties": { "attempt_id": { "format": "uuid", "title": "Attempt Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "hints": { "items": { "$ref": "#/components/schemas/LearnerHintItemResponse" }, "title": "Hints", "type": "array" } }, "required": [ "attempt_id", "content_version_id", "hints" ], "title": "LearnerHintsResponse", "type": "object" }, "LearnerObjectiveResponse": { "additionalProperties": false, "properties": { "id": { "title": "Id", "type": "string" }, "text": { "title": "Text", "type": "string" } }, "required": [ "id", "text" ], "title": "LearnerObjectiveResponse", "type": "object" }, "LearnerQuestionResponse": { "additionalProperties": false, "properties": { "id": { "title": "Id", "type": "string" }, "options": { "items": { "type": "string" }, "title": "Options", "type": "array" }, "prompt": { "title": "Prompt", "type": "string" }, "question_type": { "title": "Question Type", "type": "string" } }, "required": [ "id", "prompt", "question_type", "options" ], "title": "LearnerQuestionResponse", "type": "object" }, "LearnerResourceResponse": { "additionalProperties": false, "properties": { "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "instructions": { "title": "Instructions", "type": "string" }, "learning_objectives": { "items": { "$ref": "#/components/schemas/LearnerObjectiveResponse" }, "title": "Learning Objectives", "type": "array" }, "questions": { "items": { "$ref": "#/components/schemas/LearnerQuestionResponse" }, "title": "Questions", "type": "array" }, "schema_id": { "title": "Schema Id", "type": "string" }, "schema_version": { "title": "Schema Version", "type": "integer" }, "title": { "title": "Title", "type": "string" } }, "required": [ "content_id", "content_version_id", "content_type", "schema_id", "schema_version", "title", "learning_objectives", "instructions", "questions" ], "title": "LearnerResourceResponse", "type": "object" }, "ParentAssignmentStatusResponse": { "additionalProperties": false, "properties": { "assignment_id": { "format": "uuid", "title": "Assignment Id", "type": "string" }, "attempt_status": { "title": "Attempt Status", "type": "string" }, "available_from": { "format": "date-time", "title": "Available From", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "due_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Due At" }, "submitted_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Submitted At" }, "title": { "title": "Title", "type": "string" } }, "required": [ "assignment_id", "title", "content_type", "available_from", "due_at", "attempt_status", "submitted_at" ], "title": "ParentAssignmentStatusResponse", "type": "object" }, "ParentChildCardResponse": { "additionalProperties": false, "properties": { "assignments": { "items": { "$ref": "#/components/schemas/ParentAssignmentStatusResponse" }, "title": "Assignments", "type": "array" }, "learner_principal_id": { "format": "uuid", "title": "Learner Principal Id", "type": "string" } }, "required": [ "learner_principal_id" ], "title": "ParentChildCardResponse", "type": "object" }, "ParentIntelligenceResponse": { "additionalProperties": false, "properties": { "children": { "items": { "$ref": "#/components/schemas/ParentChildCardResponse" }, "title": "Children", "type": "array" }, "generated_at": { "format": "date-time", "title": "Generated At", "type": "string" }, "projection_mode": { "title": "Projection Mode", "type": "string" }, "time_window": { "$ref": "#/components/schemas/ParentIntelligenceTimeWindowResponse" } }, "required": [ "generated_at", "projection_mode", "time_window" ], "title": "ParentIntelligenceResponse", "type": "object" }, "ParentIntelligenceTimeWindowResponse": { "additionalProperties": false, "properties": { "end": { "format": "date-time", "title": "End", "type": "string" }, "mode": { "title": "Mode", "type": "string" }, "start": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Start" } }, "required": [ "mode", "start", "end" ], "title": "ParentIntelligenceTimeWindowResponse", "type": "object" }, "PreparationArtifactResponse": { "additionalProperties": false, "description": "One of the exact-six preparation Generic Content projections.", "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "artifact_kind": { "title": "Artifact Kind", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "generation_run_id": { "format": "uuid", "title": "Generation Run Id", "type": "string" }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "title": { "title": "Title", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "artifact_kind", "content_id", "version_id", "content_type", "title", "stewardship_state", "aggregate_revision", "generation_run_id" ], "title": "PreparationArtifactResponse", "type": "object" }, "PreparationProjectionResponse": { "additionalProperties": false, "properties": { "active_work_count": { "title": "Active Work Count", "type": "integer" }, "continue_work": { "anyOf": [ { "$ref": "#/components/schemas/ContinueWorkSummaryResponse" }, { "type": "null" } ] } }, "required": [ "active_work_count", "continue_work" ], "title": "PreparationProjectionResponse", "type": "object" }, "PreparationStatusResponse": { "additionalProperties": false, "description": "Derived preparation status. No persisted preparation-status column.", "properties": { "status": { "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "PreparationStatusResponse", "type": "object" }, "PrincipalSchoolIntelligenceClassCardResponse": { "additionalProperties": false, "properties": { "assignment_lifecycle": { "$ref": "#/components/schemas/AssignmentLifecycleResponse" }, "assignments_with_recorded_classroom_assessment_count": { "minimum": 0.0, "title": "Assignments With Recorded Classroom Assessment Count", "type": "integer" }, "class_ref": { "title": "Class Ref", "type": "string" }, "completed_teaching_execution_count": { "minimum": 0.0, "title": "Completed Teaching Execution Count", "type": "integer" }, "current_policy_evaluation_count": { "minimum": 0.0, "title": "Current Policy Evaluation Count", "type": "integer" }, "display_label": { "title": "Display Label", "type": "string" }, "evaluation_coverage_among_submitted": { "$ref": "#/components/schemas/EvaluationCoverageAmongSubmittedResponse" }, "has_assignment_activity": { "title": "Has Assignment Activity", "type": "boolean" }, "has_recorded_classroom_assessment": { "title": "Has Recorded Classroom Assessment", "type": "boolean" }, "learner_submission_count": { "minimum": 0.0, "title": "Learner Submission Count", "type": "integer" }, "remediation_activity_count": { "minimum": 0.0, "title": "Remediation Activity Count", "type": "integer" }, "submitted_but_not_current_policy_evaluated_count": { "minimum": 0.0, "title": "Submitted But Not Current Policy Evaluated Count", "type": "integer" }, "teaching_assignment_count": { "minimum": 0.0, "title": "Teaching Assignment Count", "type": "integer" } }, "required": [ "class_ref", "display_label", "has_assignment_activity", "teaching_assignment_count", "assignment_lifecycle", "learner_submission_count", "current_policy_evaluation_count", "submitted_but_not_current_policy_evaluated_count", "evaluation_coverage_among_submitted", "has_recorded_classroom_assessment", "assignments_with_recorded_classroom_assessment_count", "completed_teaching_execution_count", "remediation_activity_count" ], "title": "PrincipalSchoolIntelligenceClassCardResponse", "type": "object" }, "PrincipalSchoolIntelligenceResponse": { "additionalProperties": false, "properties": { "classes": { "items": { "$ref": "#/components/schemas/PrincipalSchoolIntelligenceClassCardResponse" }, "title": "Classes", "type": "array" }, "evaluation_policy": { "$ref": "#/components/schemas/SchoolIntelligenceEvaluationPolicyResponse" }, "generated_at": { "format": "date-time", "title": "Generated At", "type": "string" }, "projection_mode": { "title": "Projection Mode", "type": "string" }, "sources": { "items": { "type": "string" }, "title": "Sources", "type": "array" }, "summary": { "$ref": "#/components/schemas/PrincipalSchoolIntelligenceSummaryResponse" }, "time_window": { "$ref": "#/components/schemas/SchoolIntelligenceTimeWindowResponse" } }, "required": [ "generated_at", "projection_mode", "time_window", "evaluation_policy", "sources", "summary", "classes" ], "title": "PrincipalSchoolIntelligenceResponse", "type": "object" }, "PrincipalSchoolIntelligenceSummaryResponse": { "additionalProperties": false, "properties": { "assignment_lifecycle": { "$ref": "#/components/schemas/AssignmentLifecycleResponse" }, "assignments_with_recorded_classroom_assessment_count": { "minimum": 0.0, "title": "Assignments With Recorded Classroom Assessment Count", "type": "integer" }, "classes_with_assignment_activity_count": { "minimum": 0.0, "title": "Classes With Assignment Activity Count", "type": "integer" }, "classes_with_recorded_classroom_assessment_count": { "minimum": 0.0, "title": "Classes With Recorded Classroom Assessment Count", "type": "integer" }, "completed_teaching_execution_count": { "minimum": 0.0, "title": "Completed Teaching Execution Count", "type": "integer" }, "current_policy_evaluation_count": { "minimum": 0.0, "title": "Current Policy Evaluation Count", "type": "integer" }, "evaluation_coverage_among_submitted": { "$ref": "#/components/schemas/EvaluationCoverageAmongSubmittedResponse" }, "in_scope_class_count": { "minimum": 0.0, "title": "In Scope Class Count", "type": "integer" }, "learner_submission_count": { "minimum": 0.0, "title": "Learner Submission Count", "type": "integer" }, "remediation_activity_count": { "minimum": 0.0, "title": "Remediation Activity Count", "type": "integer" }, "submitted_but_not_current_policy_evaluated_count": { "minimum": 0.0, "title": "Submitted But Not Current Policy Evaluated Count", "type": "integer" }, "teaching_assignment_count": { "minimum": 0.0, "title": "Teaching Assignment Count", "type": "integer" } }, "required": [ "in_scope_class_count", "classes_with_assignment_activity_count", "teaching_assignment_count", "assignment_lifecycle", "learner_submission_count", "current_policy_evaluation_count", "submitted_but_not_current_policy_evaluated_count", "evaluation_coverage_among_submitted", "classes_with_recorded_classroom_assessment_count", "assignments_with_recorded_classroom_assessment_count", "completed_teaching_execution_count", "remediation_activity_count" ], "title": "PrincipalSchoolIntelligenceSummaryResponse", "type": "object" }, "ProblemDetails": { "$defs": { "ProblemErrorItem": { "additionalProperties": false, "properties": { "code": { "title": "Code", "type": "string" }, "detail": { "title": "Detail", "type": "string" }, "pointer": { "title": "Pointer", "type": "string" } }, "required": [ "pointer", "code", "detail" ], "title": "ProblemErrorItem", "type": "object" } }, "additionalProperties": false, "properties": { "code": { "title": "Code", "type": "string" }, "correlation_id": { "format": "uuid", "title": "Correlation Id", "type": "string" }, "detail": { "title": "Detail", "type": "string" }, "errors": { "anyOf": [ { "items": { "$ref": "#/components/schemas/ProblemErrorItem" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Errors" }, "instance": { "title": "Instance", "type": "string" }, "request_id": { "format": "uuid", "title": "Request Id", "type": "string" }, "status": { "title": "Status", "type": "integer" }, "title": { "title": "Title", "type": "string" }, "type": { "title": "Type", "type": "string" } }, "required": [ "type", "title", "status", "detail", "instance", "code", "request_id", "correlation_id" ], "title": "ProblemDetails", "type": "object" }, "ProblemErrorItem": { "additionalProperties": false, "properties": { "code": { "title": "Code", "type": "string" }, "detail": { "title": "Detail", "type": "string" }, "pointer": { "title": "Pointer", "type": "string" } }, "required": [ "pointer", "code", "detail" ], "title": "ProblemErrorItem", "type": "object" }, "ProviderAggregatorResponse": { "additionalProperties": false, "properties": { "active_model_id": { "maxLength": 128, "minLength": 1, "title": "Active Model Id", "type": "string" }, "active_provider_id": { "maxLength": 64, "minLength": 1, "title": "Active Provider Id", "type": "string" }, "capability_routes": { "items": { "$ref": "#/components/schemas/CapabilityRouteResponse" }, "title": "Capability Routes", "type": "array" }, "mode": { "maxLength": 64, "minLength": 1, "title": "Mode", "type": "string" }, "providers": { "items": { "$ref": "#/components/schemas/ProviderCandidateResponse" }, "title": "Providers", "type": "array" } }, "required": [ "active_provider_id", "active_model_id", "mode", "providers", "capability_routes" ], "title": "ProviderAggregatorResponse", "type": "object" }, "ProviderCandidateResponse": { "additionalProperties": false, "properties": { "active": { "title": "Active", "type": "boolean" }, "configured": { "title": "Configured", "type": "boolean" }, "development_only": { "title": "Development Only", "type": "boolean" }, "display_name": { "maxLength": 128, "minLength": 1, "title": "Display Name", "type": "string" }, "model_id": { "anyOf": [ { "maxLength": 128, "type": "string" }, { "type": "null" } ], "title": "Model Id" }, "provider_id": { "maxLength": 64, "minLength": 1, "title": "Provider Id", "type": "string" } }, "required": [ "provider_id", "display_name", "configured", "active", "development_only" ], "title": "ProviderCandidateResponse", "type": "object" }, "PublicationResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "approval_decision_id": { "format": "uuid", "title": "Approval Decision Id", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "publication_id": { "format": "uuid", "title": "Publication Id", "type": "string" }, "published_at": { "format": "date-time", "title": "Published At", "type": "string" }, "published_version_id": { "format": "uuid", "title": "Published Version Id", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "publication_id", "content_id", "version_id", "approval_decision_id", "published_at", "published_version_id", "aggregate_revision" ], "title": "PublicationResponse", "type": "object" }, "RemediationTeachingWorkCreateRequest": { "additionalProperties": false, "description": "Strict Assessment-origin remediation request.", "properties": { "assessment_id": { "format": "uuid", "title": "Assessment Id", "type": "string" }, "expected_assessment_aggregate_revision": { "minimum": 0.0, "title": "Expected Assessment Aggregate Revision", "type": "integer" }, "goal_text": { "maxLength": 2000, "minLength": 1, "title": "Goal Text", "type": "string" }, "locale": { "maxLength": 255, "minLength": 1, "title": "Locale", "type": "string" }, "subject": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Subject" }, "target_date": { "format": "date", "title": "Target Date", "type": "string" }, "topic": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Topic" } }, "required": [ "assessment_id", "expected_assessment_aggregate_revision", "goal_text", "target_date", "locale" ], "title": "RemediationTeachingWorkCreateRequest", "type": "object" }, "ResourceRefRequest": { "additionalProperties": false, "properties": { "resource_id": { "format": "uuid", "title": "Resource Id", "type": "string" }, "resource_revision": { "anyOf": [ { "minimum": 0.0, "type": "integer" }, { "type": "null" } ], "title": "Resource Revision" }, "resource_type": { "title": "Resource Type", "type": "string" } }, "required": [ "resource_type", "resource_id" ], "title": "ResourceRefRequest", "type": "object" }, "ReviewDecisionRequest": { "additionalProperties": false, "properties": { "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Comment" }, "reason_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Reason Code" } }, "title": "ReviewDecisionRequest", "type": "object" }, "ReviewDecisionResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Comment" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "decided_at": { "format": "date-time", "title": "Decided At", "type": "string" }, "decision": { "title": "Decision", "type": "string" }, "reason_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Reason Code" }, "review_decision_id": { "format": "uuid", "title": "Review Decision Id", "type": "string" }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "review_decision_id", "content_id", "version_id", "decision", "reason_code", "comment", "decided_at", "stewardship_state", "aggregate_revision" ], "title": "ReviewDecisionResponse", "type": "object" }, "ReviewProjectionResponse": { "additionalProperties": false, "properties": { "pending_count": { "title": "Pending Count", "type": "integer" } }, "required": [ "pending_count" ], "title": "ReviewProjectionResponse", "type": "object" }, "ReviewSubmissionResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "content_id", "version_id", "stewardship_state", "aggregate_revision" ], "title": "ReviewSubmissionResponse", "type": "object" }, "SchoolContextClassItemResponse": { "additionalProperties": false, "description": "Opaque ClassRef + display label. Not Class master data ownership.", "properties": { "class_ref": { "title": "Class Ref", "type": "string" }, "display_label": { "title": "Display Label", "type": "string" } }, "required": [ "class_ref", "display_label" ], "title": "SchoolContextClassItemResponse", "type": "object" }, "SchoolContextClassesResponse": { "additionalProperties": false, "description": "Current-authority assignable class list. Not durable CREATE authorization.", "properties": { "items": { "items": { "$ref": "#/components/schemas/SchoolContextClassItemResponse" }, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "SchoolContextClassesResponse", "type": "object" }, "SchoolIntelligenceEvaluationPolicyResponse": { "additionalProperties": false, "properties": { "policy_id": { "title": "Policy Id", "type": "string" }, "policy_version": { "minimum": 1.0, "title": "Policy Version", "type": "integer" } }, "required": [ "policy_id", "policy_version" ], "title": "SchoolIntelligenceEvaluationPolicyResponse", "type": "object" }, "SchoolIntelligenceTimeWindowResponse": { "additionalProperties": false, "properties": { "end": { "format": "date-time", "title": "End", "type": "string" }, "mode": { "title": "Mode", "type": "string" }, "start": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Start" } }, "required": [ "mode", "start", "end" ], "title": "SchoolIntelligenceTimeWindowResponse", "type": "object" }, "StudentAssignmentListResponse": { "additionalProperties": false, "properties": { "has_more": { "title": "Has More", "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/StudentAssignmentResponse" }, "title": "Items", "type": "array" }, "next_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Cursor" } }, "required": [ "items", "next_cursor", "has_more" ], "title": "StudentAssignmentListResponse", "type": "object" }, "StudentAssignmentResponse": { "additionalProperties": false, "properties": { "assignment_id": { "format": "uuid", "title": "Assignment Id", "type": "string" }, "attempt_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Attempt Id" }, "attempt_summary": { "title": "Attempt Summary", "type": "string" }, "available_from": { "format": "date-time", "title": "Available From", "type": "string" }, "class_ref": { "title": "Class Ref", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "currently_consumable": { "title": "Currently Consumable", "type": "boolean" }, "due_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Due At" }, "lifecycle_state": { "title": "Lifecycle State", "type": "string" }, "resource": { "anyOf": [ { "$ref": "#/components/schemas/LearnerResourceResponse" }, { "type": "null" } ] } }, "required": [ "assignment_id", "class_ref", "available_from", "due_at", "lifecycle_state", "currently_consumable", "content_id", "content_version_id", "attempt_summary", "attempt_id" ], "title": "StudentAssignmentResponse", "type": "object" }, "StudentHomeResponse": { "additionalProperties": false, "properties": { "current_assignment_count": { "title": "Current Assignment Count", "type": "integer" }, "items": { "items": { "$ref": "#/components/schemas/StudentAssignmentResponse" }, "title": "Items", "type": "array" } }, "required": [ "current_assignment_count", "items" ], "title": "StudentHomeResponse", "type": "object" }, "TeacherAssessmentIntelligenceFrequentlyMissedResponse": { "additionalProperties": false, "properties": { "incorrect_count": { "title": "Incorrect Count", "type": "integer" }, "question_id": { "title": "Question Id", "type": "string" } }, "required": [ "question_id", "incorrect_count" ], "title": "TeacherAssessmentIntelligenceFrequentlyMissedResponse", "type": "object" }, "TeacherAssessmentIntelligenceLearnerResponse": { "additionalProperties": false, "properties": { "evaluated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Evaluated At" }, "evaluation_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Evaluation Id" }, "evaluation_policy_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Evaluation Policy Id" }, "evaluation_policy_version": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Evaluation Policy Version" }, "evaluation_state": { "title": "Evaluation State", "type": "string" }, "items": { "items": { "$ref": "#/components/schemas/LearnerAssessmentEvaluationItemResponse" }, "title": "Items", "type": "array" }, "learner_principal_id": { "format": "uuid", "title": "Learner Principal Id", "type": "string" }, "objective_evidence": { "items": { "$ref": "#/components/schemas/LearnerAssessmentObjectiveEvidenceResponse" }, "title": "Objective Evidence", "type": "array" }, "submission_id": { "format": "uuid", "title": "Submission Id", "type": "string" } }, "required": [ "learner_principal_id", "submission_id", "evaluation_state", "items", "objective_evidence" ], "title": "TeacherAssessmentIntelligenceLearnerResponse", "type": "object" }, "TeacherAssessmentIntelligenceObjectiveRollupResponse": { "additionalProperties": false, "properties": { "demonstrated_on_submitted_items": { "title": "Demonstrated On Submitted Items", "type": "integer" }, "insufficient_evidence": { "title": "Insufficient Evidence", "type": "integer" }, "mixed_on_submitted_items": { "title": "Mixed On Submitted Items", "type": "integer" }, "not_yet_demonstrated_on_submitted_items": { "title": "Not Yet Demonstrated On Submitted Items", "type": "integer" }, "objective_id": { "title": "Objective Id", "type": "string" } }, "required": [ "objective_id", "insufficient_evidence", "demonstrated_on_submitted_items", "mixed_on_submitted_items", "not_yet_demonstrated_on_submitted_items" ], "title": "TeacherAssessmentIntelligenceObjectiveRollupResponse", "type": "object" }, "TeacherAssessmentIntelligenceQuestionDistributionResponse": { "additionalProperties": false, "properties": { "correct": { "title": "Correct", "type": "integer" }, "incorrect": { "title": "Incorrect", "type": "integer" }, "open_response_unevaluated": { "title": "Open Response Unevaluated", "type": "integer" }, "question_id": { "title": "Question Id", "type": "string" }, "unanswered": { "title": "Unanswered", "type": "integer" }, "unevaluated_policy_reject": { "title": "Unevaluated Policy Reject", "type": "integer" } }, "required": [ "question_id", "correct", "incorrect", "unanswered", "open_response_unevaluated", "unevaluated_policy_reject" ], "title": "TeacherAssessmentIntelligenceQuestionDistributionResponse", "type": "object" }, "TeacherAssessmentIntelligenceResponse": { "additionalProperties": false, "properties": { "class_ref": { "title": "Class Ref", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "evaluated_learner_count": { "title": "Evaluated Learner Count", "type": "integer" }, "evaluation_policy_id": { "title": "Evaluation Policy Id", "type": "string" }, "evaluation_policy_version": { "title": "Evaluation Policy Version", "type": "integer" }, "frequently_missed_questions": { "items": { "$ref": "#/components/schemas/TeacherAssessmentIntelligenceFrequentlyMissedResponse" }, "title": "Frequently Missed Questions", "type": "array" }, "learners": { "items": { "$ref": "#/components/schemas/TeacherAssessmentIntelligenceLearnerResponse" }, "title": "Learners", "type": "array" }, "objective_evidence_rollups": { "items": { "$ref": "#/components/schemas/TeacherAssessmentIntelligenceObjectiveRollupResponse" }, "title": "Objective Evidence Rollups", "type": "array" }, "question_distributions": { "items": { "$ref": "#/components/schemas/TeacherAssessmentIntelligenceQuestionDistributionResponse" }, "title": "Question Distributions", "type": "array" }, "submitted_learner_count": { "title": "Submitted Learner Count", "type": "integer" }, "teaching_assignment_id": { "format": "uuid", "title": "Teaching Assignment Id", "type": "string" } }, "required": [ "teaching_assignment_id", "class_ref", "content_id", "content_version_id", "evaluation_policy_id", "evaluation_policy_version", "submitted_learner_count", "evaluated_learner_count", "learners", "question_distributions", "frequently_missed_questions", "objective_evidence_rollups" ], "title": "TeacherAssessmentIntelligenceResponse", "type": "object" }, "TeacherLibraryDetailResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "current_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Current Version Id" }, "published_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Published Version Id" }, "review_navigation": { "anyOf": [ { "$ref": "#/components/schemas/TeacherLibraryReviewNavigation" }, { "type": "null" } ] }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "teaching_work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Teaching Work Id" }, "title": { "title": "Title", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "content_id", "content_type", "title", "created_at", "updated_at", "stewardship_state", "current_version_id", "published_version_id", "teaching_work_id", "review_navigation", "aggregate_revision" ], "title": "TeacherLibraryDetailResponse", "type": "object" }, "TeacherLibraryItemResponse": { "additionalProperties": false, "properties": { "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "current_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Current Version Id" }, "published_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Published Version Id" }, "review_navigation": { "anyOf": [ { "$ref": "#/components/schemas/TeacherLibraryReviewNavigation" }, { "type": "null" } ] }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "teaching_work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Teaching Work Id" }, "title": { "title": "Title", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "content_id", "content_type", "title", "created_at", "updated_at", "stewardship_state", "current_version_id", "published_version_id", "teaching_work_id", "review_navigation" ], "title": "TeacherLibraryItemResponse", "type": "object" }, "TeacherLibraryListResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/TeacherLibraryItemResponse" }, "title": "Items", "type": "array" }, "next_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Cursor" } }, "required": [ "items", "next_cursor" ], "title": "TeacherLibraryListResponse", "type": "object" }, "TeacherLibraryReviewNavigation": { "additionalProperties": false, "properties": { "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "content_id", "version_id" ], "title": "TeacherLibraryReviewNavigation", "type": "object" }, "TeacherLibraryVersionResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "current_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Current Version Id" }, "origin": { "title": "Origin", "type": "string" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" }, "payload_sha256": { "title": "Payload Sha256", "type": "string" }, "published_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Published Version Id" }, "schema_id": { "title": "Schema Id", "type": "string" }, "schema_version": { "title": "Schema Version", "type": "integer" }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "teaching_work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Teaching Work Id" }, "title": { "title": "Title", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" }, "version_number": { "title": "Version Number", "type": "integer" } }, "required": [ "content_id", "version_id", "version_number", "content_type", "title", "stewardship_state", "schema_id", "schema_version", "payload", "payload_sha256", "origin", "created_at", "published_version_id", "current_version_id", "teaching_work_id", "aggregate_revision" ], "title": "TeacherLibraryVersionResponse", "type": "object" }, "TeacherMemoryCreateRequest": { "additionalProperties": false, "properties": { "preferences": { "$ref": "#/components/schemas/TeacherMemoryPreferencesBody" } }, "title": "TeacherMemoryCreateRequest", "type": "object" }, "TeacherMemoryPreferencesBody": { "additionalProperties": false, "description": "Closed Teacher Memory preference vocabulary (schema_version = 1).", "properties": { "include_differentiation": { "default": false, "title": "Include Differentiation", "type": "boolean" }, "output_format": { "default": "structured", "enum": [ "structured", "print_friendly" ], "title": "Output Format", "type": "string" }, "preferred_difficulty": { "default": "standard", "enum": [ "supportive", "standard", "challenging" ], "title": "Preferred Difficulty", "type": "string" }, "preparation_detail": { "default": "balanced", "enum": [ "concise", "balanced", "detailed" ], "title": "Preparation Detail", "type": "string" }, "teaching_style": { "default": "balanced", "enum": [ "balanced", "direct_instruction", "inquiry_led", "collaborative" ], "title": "Teaching Style", "type": "string" } }, "title": "TeacherMemoryPreferencesBody", "type": "object" }, "TeacherMemoryResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "memory_id": { "format": "uuid", "title": "Memory Id", "type": "string" }, "preferences": { "$ref": "#/components/schemas/TeacherMemoryPreferencesBody" }, "schema_version": { "title": "Schema Version", "type": "integer" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "memory_id", "schema_version", "preferences", "aggregate_revision", "created_at", "updated_at" ], "title": "TeacherMemoryResponse", "type": "object" }, "TeacherMemoryUpdateRequest": { "additionalProperties": false, "properties": { "preferences": { "$ref": "#/components/schemas/TeacherMemoryPreferencesBody" } }, "required": [ "preferences" ], "title": "TeacherMemoryUpdateRequest", "type": "object" }, "TeacherOsAssistantHistoryTurn": { "additionalProperties": false, "description": "Conversation material only \u2014 never business authority.", "properties": { "content": { "maxLength": 2000, "minLength": 1, "title": "Content", "type": "string" }, "role": { "enum": [ "user", "assistant" ], "title": "Role", "type": "string" } }, "required": [ "role", "content" ], "title": "TeacherOsAssistantHistoryTurn", "type": "object" }, "TeacherOsAssistantRequest": { "additionalProperties": false, "description": "Bounded Assistant turn request. No client context snapshots.", "properties": { "history": { "items": { "$ref": "#/components/schemas/TeacherOsAssistantHistoryTurn" }, "maxItems": 12, "title": "History", "type": "array" }, "message": { "maxLength": 4000, "minLength": 1, "title": "Message", "type": "string" }, "mission_date": { "anyOf": [ { "format": "date", "type": "string" }, { "type": "null" } ], "title": "Mission Date" }, "teaching_work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Teaching Work Id" } }, "required": [ "message" ], "title": "TeacherOsAssistantRequest", "type": "object" }, "TeacherOsAssistantResponse": { "additionalProperties": false, "description": "READ / REASON / SUGGEST response. Suggestions do not execute commands.", "properties": { "answer": { "title": "Answer", "type": "string" }, "context_summary": { "title": "Context Summary", "type": "string" }, "generated_at": { "format": "date-time", "title": "Generated At", "type": "string" }, "suggested_next_step": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Suggested Next Step" }, "suggested_questions": { "items": { "type": "string" }, "title": "Suggested Questions", "type": "array" }, "teaching_work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Teaching Work Id" } }, "required": [ "answer", "suggested_questions", "suggested_next_step", "teaching_work_id", "context_summary", "generated_at" ], "title": "TeacherOsAssistantResponse", "type": "object" }, "TeacherOsMissionResponse": { "additionalProperties": false, "description": "Derived projection. No mission row exists behind this response.", "properties": { "hero_action": { "$ref": "#/components/schemas/HeroActionResponse" }, "mission_date": { "format": "date", "title": "Mission Date", "type": "string" }, "preparation": { "$ref": "#/components/schemas/PreparationProjectionResponse" }, "review": { "$ref": "#/components/schemas/ReviewProjectionResponse" } }, "required": [ "mission_date", "review", "preparation", "hero_action" ], "title": "TeacherOsMissionResponse", "type": "object" }, "TeacherOsTeachContextResponse": { "additionalProperties": false, "description": "Teacher OS Teach composition projection. No durable write behind this response.", "properties": { "artifacts": { "items": { "$ref": "#/components/schemas/WorkArtifactItemResponse" }, "title": "Artifacts", "type": "array" }, "assignments": { "items": { "$ref": "#/components/schemas/TeachingAssignmentResponse" }, "title": "Assignments", "type": "array" }, "class_ref": { "title": "Class Ref", "type": "string" }, "display_label": { "title": "Display Label", "type": "string" }, "executions": { "items": { "$ref": "#/components/schemas/TeachingExecutionResponse" }, "title": "Executions", "type": "array" }, "work": { "$ref": "#/components/schemas/ContinueWorkSummaryResponse" } }, "required": [ "work", "class_ref", "display_label", "artifacts", "assignments", "executions" ], "title": "TeacherOsTeachContextResponse", "type": "object" }, "TeacherReviewQueueDetailResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "artifact_status": { "title": "Artifact Status", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "description": { "title": "Description", "type": "string" }, "locale": { "title": "Locale", "type": "string" }, "origin": { "title": "Origin", "type": "string" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" }, "payload_sha256": { "title": "Payload Sha256", "type": "string" }, "published_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Published Version Id" }, "schema_id": { "title": "Schema Id", "type": "string" }, "schema_version": { "title": "Schema Version", "type": "integer" }, "submitted_at": { "format": "date-time", "title": "Submitted At", "type": "string" }, "title": { "title": "Title", "type": "string" }, "version_created_at": { "format": "date-time", "title": "Version Created At", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" }, "version_number": { "title": "Version Number", "type": "integer" } }, "required": [ "content_id", "version_id", "version_number", "content_type", "title", "description", "locale", "artifact_status", "origin", "aggregate_revision", "submitted_at", "version_created_at", "published_version_id", "schema_id", "schema_version", "payload", "payload_sha256" ], "title": "TeacherReviewQueueDetailResponse", "type": "object" }, "TeacherReviewQueueItemResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "artifact_status": { "title": "Artifact Status", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "description": { "title": "Description", "type": "string" }, "locale": { "title": "Locale", "type": "string" }, "origin": { "title": "Origin", "type": "string" }, "published_version_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Published Version Id" }, "submitted_at": { "format": "date-time", "title": "Submitted At", "type": "string" }, "title": { "title": "Title", "type": "string" }, "version_created_at": { "format": "date-time", "title": "Version Created At", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" }, "version_number": { "title": "Version Number", "type": "integer" } }, "required": [ "content_id", "version_id", "version_number", "content_type", "title", "description", "locale", "artifact_status", "origin", "aggregate_revision", "submitted_at", "version_created_at", "published_version_id" ], "title": "TeacherReviewQueueItemResponse", "type": "object" }, "TeacherReviewQueueListResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/TeacherReviewQueueItemResponse" }, "title": "Items", "type": "array" }, "next_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Cursor" } }, "required": [ "items", "next_cursor" ], "title": "TeacherReviewQueueListResponse", "type": "object" }, "TeachingAssignmentCreateRequest": { "additionalProperties": false, "properties": { "available_from": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Available From" }, "class_ref": { "title": "Class Ref", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "due_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Due At" }, "source_work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Source Work Id" } }, "required": [ "content_id", "content_version_id", "class_ref" ], "title": "TeachingAssignmentCreateRequest", "type": "object" }, "TeachingAssignmentDueUpdateRequest": { "additionalProperties": false, "properties": { "due_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Due At" } }, "title": "TeachingAssignmentDueUpdateRequest", "type": "object" }, "TeachingAssignmentListResponse": { "additionalProperties": false, "properties": { "has_more": { "title": "Has More", "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/TeachingAssignmentResponse" }, "title": "Items", "type": "array" } }, "required": [ "items", "has_more" ], "title": "TeachingAssignmentListResponse", "type": "object" }, "TeachingAssignmentResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "assigned_at": { "format": "date-time", "title": "Assigned At", "type": "string" }, "assignment_id": { "format": "uuid", "title": "Assignment Id", "type": "string" }, "audience_display_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Audience Display Label" }, "audience_type": { "title": "Audience Type", "type": "string" }, "available_from": { "format": "date-time", "title": "Available From", "type": "string" }, "cancelled_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Cancelled At" }, "class_ref": { "title": "Class Ref", "type": "string" }, "closed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Closed At" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "due_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Due At" }, "lifecycle_state": { "title": "Lifecycle State", "type": "string" }, "source_work_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Source Work Id" }, "teacher_principal_id": { "format": "uuid", "title": "Teacher Principal Id", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "assignment_id", "teacher_principal_id", "content_id", "content_version_id", "audience_type", "class_ref", "audience_display_label", "source_work_id", "lifecycle_state", "assigned_at", "available_from", "due_at", "closed_at", "cancelled_at", "aggregate_revision", "created_at", "updated_at" ], "title": "TeachingAssignmentResponse", "type": "object" }, "TeachingExecutionContentBindingRequest": { "additionalProperties": false, "properties": { "artifact_kind": { "minLength": 1, "title": "Artifact Kind", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" } }, "required": [ "content_id", "content_version_id", "artifact_kind" ], "title": "TeachingExecutionContentBindingRequest", "type": "object" }, "TeachingExecutionContentBindingResponse": { "additionalProperties": false, "properties": { "artifact_kind": { "title": "Artifact Kind", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_version_id": { "format": "uuid", "title": "Content Version Id", "type": "string" } }, "required": [ "content_id", "content_version_id", "artifact_kind" ], "title": "TeachingExecutionContentBindingResponse", "type": "object" }, "TeachingExecutionListResponse": { "additionalProperties": false, "properties": { "has_more": { "title": "Has More", "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/TeachingExecutionResponse" }, "title": "Items", "type": "array" } }, "required": [ "items", "has_more" ], "title": "TeachingExecutionListResponse", "type": "object" }, "TeachingExecutionObservationCorrectRequest": { "additionalProperties": false, "properties": { "body": { "minLength": 1, "title": "Body", "type": "string" } }, "required": [ "body" ], "title": "TeachingExecutionObservationCorrectRequest", "type": "object" }, "TeachingExecutionObservationCreateRequest": { "additionalProperties": false, "properties": { "body": { "minLength": 1, "title": "Body", "type": "string" }, "observation_kind": { "minLength": 1, "title": "Observation Kind", "type": "string" } }, "required": [ "observation_kind", "body" ], "title": "TeachingExecutionObservationCreateRequest", "type": "object" }, "TeachingExecutionObservationResponse": { "additionalProperties": false, "properties": { "body": { "title": "Body", "type": "string" }, "execution_id": { "format": "uuid", "title": "Execution Id", "type": "string" }, "observation_id": { "format": "uuid", "title": "Observation Id", "type": "string" }, "observation_kind": { "title": "Observation Kind", "type": "string" }, "recorded_at": { "format": "date-time", "title": "Recorded At", "type": "string" }, "revision": { "title": "Revision", "type": "integer" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "observation_id", "execution_id", "observation_kind", "body", "recorded_at", "updated_at", "revision" ], "title": "TeachingExecutionObservationResponse", "type": "object" }, "TeachingExecutionResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "bindings": { "items": { "$ref": "#/components/schemas/TeachingExecutionContentBindingResponse" }, "title": "Bindings", "type": "array" }, "cancelled_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Cancelled At" }, "class_ref": { "title": "Class Ref", "type": "string" }, "completed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Completed At" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "execution_id": { "format": "uuid", "title": "Execution Id", "type": "string" }, "lifecycle_state": { "title": "Lifecycle State", "type": "string" }, "observations": { "items": { "$ref": "#/components/schemas/TeachingExecutionObservationResponse" }, "title": "Observations", "type": "array" }, "started_at": { "format": "date-time", "title": "Started At", "type": "string" }, "teacher_principal_id": { "format": "uuid", "title": "Teacher Principal Id", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "work_id": { "format": "uuid", "title": "Work Id", "type": "string" } }, "required": [ "execution_id", "teacher_principal_id", "work_id", "class_ref", "lifecycle_state", "started_at", "completed_at", "cancelled_at", "aggregate_revision", "created_at", "updated_at", "bindings" ], "title": "TeachingExecutionResponse", "type": "object" }, "TeachingExecutionStartRequest": { "additionalProperties": false, "description": "Start request. Tenant/teacher/started_at/assignment_id are not client-settable.", "properties": { "bindings": { "items": { "$ref": "#/components/schemas/TeachingExecutionContentBindingRequest" }, "title": "Bindings", "type": "array" }, "class_ref": { "minLength": 1, "title": "Class Ref", "type": "string" }, "work_id": { "format": "uuid", "title": "Work Id", "type": "string" } }, "required": [ "work_id", "class_ref" ], "title": "TeachingExecutionStartRequest", "type": "object" }, "TeachingWorkArtifactsResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/WorkArtifactItemResponse" }, "title": "Items", "type": "array" }, "work_id": { "format": "uuid", "title": "Work Id", "type": "string" } }, "required": [ "work_id", "items" ], "title": "TeachingWorkArtifactsResponse", "type": "object" }, "TeachingWorkCreateRequest": { "additionalProperties": false, "description": "A Teaching Intent request. Accepting it creates a durable Work.", "properties": { "class_label": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Class Label" }, "goal_text": { "maxLength": 2000, "minLength": 1, "title": "Goal Text", "type": "string" }, "intent_type": { "minLength": 1, "title": "Intent Type", "type": "string" }, "locale": { "maxLength": 255, "minLength": 1, "title": "Locale", "type": "string" }, "subject": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Subject" }, "target_date": { "format": "date", "title": "Target Date", "type": "string" }, "topic": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Topic" } }, "required": [ "intent_type", "goal_text", "target_date", "locale" ], "title": "TeachingWorkCreateRequest", "type": "object" }, "TeachingWorkGenerateResponse": { "additionalProperties": false, "properties": { "artifact": { "$ref": "#/components/schemas/GeneratedArtifactResponse" }, "educational_quality": { "$ref": "#/components/schemas/EducationalQualityResponse" }, "generation_run_id": { "format": "uuid", "title": "Generation Run Id", "type": "string" }, "work_id": { "format": "uuid", "title": "Work Id", "type": "string" } }, "required": [ "work_id", "generation_run_id", "artifact", "educational_quality" ], "title": "TeachingWorkGenerateResponse", "type": "object" }, "TeachingWorkListResponse": { "additionalProperties": false, "properties": { "has_more": { "title": "Has More", "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/TeachingWorkResponse" }, "title": "Items", "type": "array" } }, "required": [ "items", "has_more" ], "title": "TeachingWorkListResponse", "type": "object" }, "TeachingWorkPrepareResponse": { "additionalProperties": false, "description": "Additive prepare command response. Exact six artifacts required.", "properties": { "artifacts": { "items": { "$ref": "#/components/schemas/PreparationArtifactResponse" }, "title": "Artifacts", "type": "array" }, "educational_quality": { "$ref": "#/components/schemas/EducationalQualityResponse" }, "generation_run_id": { "format": "uuid", "title": "Generation Run Id", "type": "string" }, "preparation": { "$ref": "#/components/schemas/PreparationStatusResponse" }, "work_id": { "format": "uuid", "title": "Work Id", "type": "string" } }, "required": [ "work_id", "generation_run_id", "preparation", "artifacts", "educational_quality" ], "title": "TeachingWorkPrepareResponse", "type": "object" }, "TeachingWorkRefineRequest": { "additionalProperties": false, "description": "PATCH body. Omitted fields are unchanged; explicit null clears a field.", "properties": { "class_label": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Class Label" }, "goal_text": { "anyOf": [ { "maxLength": 2000, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Goal Text" }, "locale": { "anyOf": [ { "maxLength": 255, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Locale" }, "subject": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Subject" }, "target_date": { "anyOf": [ { "format": "date", "type": "string" }, { "type": "null" } ], "title": "Target Date" }, "topic": { "anyOf": [ { "maxLength": 255, "type": "string" }, { "type": "null" } ], "title": "Topic" } }, "title": "TeachingWorkRefineRequest", "type": "object" }, "TeachingWorkResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "archived_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Archived At" }, "class_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Class Label" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "goal_text": { "title": "Goal Text", "type": "string" }, "intent_type": { "title": "Intent Type", "type": "string" }, "locale": { "title": "Locale", "type": "string" }, "subject": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Subject" }, "target_date": { "format": "date", "title": "Target Date", "type": "string" }, "topic": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Topic" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "work_id": { "format": "uuid", "title": "Work Id", "type": "string" } }, "required": [ "work_id", "intent_type", "goal_text", "class_label", "subject", "topic", "target_date", "locale", "aggregate_revision", "created_at", "updated_at", "archived_at" ], "title": "TeachingWorkResponse", "type": "object" }, "VersionAssetRefRequest": { "additionalProperties": false, "properties": { "ordinal": { "minimum": 0.0, "title": "Ordinal", "type": "integer" }, "required": { "title": "Required", "type": "boolean" }, "resource_ref": { "$ref": "#/components/schemas/ResourceRefRequest" }, "role": { "title": "Role", "type": "string" } }, "required": [ "resource_ref", "role", "ordinal", "required" ], "title": "VersionAssetRefRequest", "type": "object" }, "WorkArtifactItemResponse": { "additionalProperties": false, "properties": { "aggregate_revision": { "title": "Aggregate Revision", "type": "integer" }, "artifact_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Artifact Kind" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "content_type": { "title": "Content Type", "type": "string" }, "educational_quality": { "anyOf": [ { "$ref": "#/components/schemas/EducationalQualityResponse" }, { "type": "null" } ] }, "generation_run_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Generation Run Id" }, "origin": { "title": "Origin", "type": "string" }, "stewardship_state": { "title": "Stewardship State", "type": "string" }, "title": { "title": "Title", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "content_id", "version_id", "content_type", "title", "origin", "stewardship_state", "aggregate_revision" ], "title": "WorkArtifactItemResponse", "type": "object" }, "WorksheetHintAttestationQuestionOutcomeRequest": { "additionalProperties": false, "properties": { "hard_block_clear": { "title": "Hard Block Clear", "type": "boolean" }, "human_review_pass": { "title": "Human Review Pass", "type": "boolean" }, "question_id": { "minLength": 1, "title": "Question Id", "type": "string" } }, "required": [ "question_id", "hard_block_clear", "human_review_pass" ], "title": "WorksheetHintAttestationQuestionOutcomeRequest", "type": "object" }, "WorksheetLearnerHintAttestationRecordRequest": { "additionalProperties": false, "properties": { "per_question_outcomes": { "items": { "$ref": "#/components/schemas/WorksheetHintAttestationQuestionOutcomeRequest" }, "minItems": 1, "title": "Per Question Outcomes", "type": "array" } }, "required": [ "per_question_outcomes" ], "title": "WorksheetLearnerHintAttestationRecordRequest", "type": "object" }, "WorksheetLearnerHintAttestationRecordResponse": { "additionalProperties": false, "properties": { "attestation_id": { "format": "uuid", "title": "Attestation Id", "type": "string" }, "content_id": { "format": "uuid", "title": "Content Id", "type": "string" }, "version_id": { "format": "uuid", "title": "Version Id", "type": "string" } }, "required": [ "attestation_id", "content_id", "version_id" ], "title": "WorksheetLearnerHintAttestationRecordResponse", "type": "object" }, "WorksheetLearnerHintVersionAppendRequest": { "additionalProperties": false, "properties": { "asset_refs": { "items": { "$ref": "#/components/schemas/VersionAssetRefRequest" }, "title": "Asset Refs", "type": "array" }, "authoring_class_ref": { "minLength": 1, "title": "Authoring Class Ref", "type": "string" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" } }, "required": [ "authoring_class_ref", "payload" ], "title": "WorksheetLearnerHintVersionAppendRequest", "type": "object" } }, "securitySchemes": { "AIEOSBearerAuth": { "bearerFormat": "JWT", "description": "ADR-AIEOS-030 JWT access token (RS256). Authentication of principal identity only; not tenant authority or capability authorization.", "scheme": "bearer", "type": "http" } } }, "info": { "description": "AIEOS HTTP foundation (GCI-I12, TOS-DEV02, TOS-DEV03, TOS-DEV04, TOS-DEV06-I01). Content create, version append, review, publish, Teacher OS Review Queue reads, Teaching Work preparation, Today's Mission projection, School Context ClassRef reads, AI worksheet generation, and preparation-kit prepare are development/test foundations only and MUST NOT be authorized for production until required security-audit intent persistence is integrated alongside the transactional outbox.", "title": "AIEOS HTTP API", "version": "0.1.0" }, "openapi": "3.1.0", "paths": { "/api/v1/assessment/assignments/{assignment_id}/actions/ensure-evaluations": { "post": { "operationId": "assessment_assignment_evaluations_ensure", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "204": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Assignment Evaluations Ensure", "tags": [ "assessment" ] } }, "/api/v1/assessment/assignments/{assignment_id}/intelligence": { "get": { "operationId": "assessment_assignment_intelligence", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherAssessmentIntelligenceResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Assignment Intelligence", "tags": [ "assessment" ] } }, "/api/v1/assessment/classroom-assessments": { "get": { "operationId": "assessment_classroom_list", "parameters": [ { "in": "query", "name": "class_ref", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Class Ref" } }, { "in": "query", "name": "work_id", "required": false, "schema": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Work Id" } }, { "in": "query", "name": "execution_id", "required": false, "schema": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Execution Id" } }, { "in": "query", "name": "assignment_id", "required": false, "schema": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Assignment Id" } }, { "in": "query", "name": "lifecycle_state", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Lifecycle State" } }, { "in": "query", "name": "limit", "required": false, "schema": { "default": 50, "maximum": 100, "minimum": 1, "title": "Limit", "type": "integer" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassroomAssessmentListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Classroom List", "tags": [ "assessment" ] }, "post": { "operationId": "assessment_classroom_record", "parameters": [ { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassroomAssessmentRecordRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassroomAssessmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Classroom Record", "tags": [ "assessment" ] } }, "/api/v1/assessment/classroom-assessments/{assessment_id}": { "get": { "operationId": "assessment_classroom_get", "parameters": [ { "in": "path", "name": "assessment_id", "required": true, "schema": { "format": "uuid", "title": "Assessment Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassroomAssessmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Classroom Get", "tags": [ "assessment" ] } }, "/api/v1/assessment/classroom-assessments/{assessment_id}/actions/correct": { "post": { "operationId": "assessment_classroom_correct", "parameters": [ { "in": "path", "name": "assessment_id", "required": true, "schema": { "format": "uuid", "title": "Assessment Id", "type": "string" } }, { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "If-Match", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassroomAssessmentCorrectRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassroomAssessmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Classroom Correct", "tags": [ "assessment" ] } }, "/api/v1/assessment/classroom-assessments/{assessment_id}/actions/void": { "post": { "operationId": "assessment_classroom_void", "parameters": [ { "in": "path", "name": "assessment_id", "required": true, "schema": { "format": "uuid", "title": "Assessment Id", "type": "string" } }, { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "If-Match", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClassroomAssessmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Classroom Void", "tags": [ "assessment" ] } }, "/api/v1/assessment/submissions/{submission_id}/actions/evaluate": { "post": { "operationId": "assessment_learner_evaluation_ensure", "parameters": [ { "in": "path", "name": "submission_id", "required": true, "schema": { "format": "uuid", "title": "Submission Id", "type": "string" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LearnerAssessmentEvaluationResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Assessment Learner Evaluation Ensure", "tags": [ "assessment" ] } }, "/api/v1/contents": { "get": { "operationId": "content_list", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "cursor", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Cursor" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content List", "tags": [ "contents" ] }, "post": { "operationId": "content_create", "parameters": [ { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "Location": { "description": "Canonical Content URL", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Create", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}": { "get": { "operationId": "content_get", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Get", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/actions/publish": { "post": { "operationId": "content_publish", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentPublishRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublicationResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Publish", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/versions": { "post": { "operationId": "content_version_append", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentVersionAppendRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentVersionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "Location": { "description": "Canonical ContentVersion URL", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Version Append", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/versions/{version_id}": { "get": { "operationId": "content_version_get", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentVersionResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Version Get", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/versions/{version_id}/actions/approve": { "post": { "operationId": "content_review_approve", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReviewDecisionRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReviewDecisionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Review Approve", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/versions/{version_id}/actions/record-worksheet-hint-attestation": { "post": { "operationId": "content_worksheet_hint_attestation_record", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorksheetLearnerHintAttestationRecordRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorksheetLearnerHintAttestationRecordResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Worksheet Hint Attestation Record", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/versions/{version_id}/actions/reject": { "post": { "operationId": "content_review_reject", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReviewDecisionRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReviewDecisionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Review Reject", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/versions/{version_id}/actions/request-changes": { "post": { "operationId": "content_review_request_changes", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReviewDecisionRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReviewDecisionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Review Request Changes", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/versions/{version_id}/actions/submit-for-review": { "post": { "operationId": "content_review_submit", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReviewSubmissionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Review Submit", "tags": [ "contents" ] } }, "/api/v1/contents/{content_id}/worksheet-learner-hint-versions": { "post": { "operationId": "content_worksheet_hint_version_append", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorksheetLearnerHintVersionAppendRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentVersionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "Location": { "description": "Canonical ContentVersion URL", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Content Worksheet Hint Version Append", "tags": [ "contents" ] } }, "/api/v1/learning/assignments/{assignment_id}/attempts": { "post": { "operationId": "learning_attempt_start", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttemptResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "Location": { "description": "Canonical LearnerAttempt URL", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Learning Attempt Start", "tags": [ "learning" ] } }, "/api/v1/learning/attempts/{attempt_id}": { "get": { "operationId": "learning_attempt_get", "parameters": [ { "in": "path", "name": "attempt_id", "required": true, "schema": { "format": "uuid", "title": "Attempt Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttemptResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Learning Attempt Get", "tags": [ "learning" ] } }, "/api/v1/learning/attempts/{attempt_id}/actions/submit": { "post": { "operationId": "learning_attempt_submit", "parameters": [ { "in": "path", "name": "attempt_id", "required": true, "schema": { "format": "uuid", "title": "Attempt Id", "type": "string" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttemptResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Learning Attempt Submit", "tags": [ "learning" ] } }, "/api/v1/learning/attempts/{attempt_id}/learner-hints": { "get": { "operationId": "learning_attempt_learner_hints_get", "parameters": [ { "in": "path", "name": "attempt_id", "required": true, "schema": { "format": "uuid", "title": "Attempt Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LearnerHintsResponse" } } }, "description": "Successful Response", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "Cache-Control": { "description": "Learner hints must not be stored in shared HTTP caches", "example": "private, no-store", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Learning Attempt Learner Hints Get", "tags": [ "learning" ] } }, "/api/v1/learning/attempts/{attempt_id}/responses": { "put": { "operationId": "learning_attempt_save_responses", "parameters": [ { "in": "path", "name": "attempt_id", "required": true, "schema": { "format": "uuid", "title": "Attempt Id", "type": "string" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttemptResponsesReplaceRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttemptResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Learning Attempt Save Responses", "tags": [ "learning" ] } }, "/api/v1/parent-os/children/{learner_principal_id}": { "get": { "operationId": "parent_os_child_get", "parameters": [ { "in": "path", "name": "learner_principal_id", "required": true, "schema": { "format": "uuid", "title": "Learner Principal Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ParentIntelligenceResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Parent Os Child Get", "tags": [ "parent-os" ] } }, "/api/v1/parent-os/home": { "get": { "operationId": "parent_os_home_get", "parameters": [ { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ParentIntelligenceResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Parent Os Home Get", "tags": [ "parent-os" ] } }, "/api/v1/platform/ai/providers": { "get": { "description": "Read-only runtime projection of the active Model Gateway provider.", "operationId": "platform_ai_providers_get", "parameters": [ { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProviderAggregatorResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Platform Ai Providers Get", "tags": [ "platform-ai" ] } }, "/api/v1/principal-os/school-intelligence": { "get": { "operationId": "principal_os_school_intelligence_get", "parameters": [ { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrincipalSchoolIntelligenceResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Principal Os School Intelligence Get", "tags": [ "principal-os" ] } }, "/api/v1/student-os/assignments": { "get": { "operationId": "student_os_assignment_list", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "cursor", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Cursor" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StudentAssignmentListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Student Os Assignment List", "tags": [ "learning" ] } }, "/api/v1/student-os/assignments/{assignment_id}": { "get": { "operationId": "student_os_assignment_get", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StudentAssignmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Student Os Assignment Get", "tags": [ "learning" ] } }, "/api/v1/student-os/home": { "get": { "operationId": "student_os_home", "parameters": [ { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StudentHomeResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Student Os Home", "tags": [ "learning" ] } }, "/api/v1/teacher-os/assistant": { "post": { "description": "Contextual Teacher OS Assistant turn. READ / REASON / SUGGEST only.\n\nDoes not persist chat. Does not mutate Memory, Publish, Assign, Teach,\nAssess, or create remediation. Client context snapshots are rejected \u2014\nteaching_work_id is re-read and re-authorized server-side when supplied.", "operationId": "teacher_os_assistant_respond", "parameters": [ { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherOsAssistantRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherOsAssistantResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "502": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Assistant Respond", "tags": [ "teaching", "teacher-os" ] } }, "/api/v1/teacher-os/library": { "get": { "operationId": "teacher_os_library_list", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "cursor", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Cursor" } }, { "in": "query", "name": "content_type", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content Type" } }, { "in": "query", "name": "stewardship_state", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stewardship State" } }, { "in": "query", "name": "published_only", "required": false, "schema": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Published Only" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherLibraryListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Library List", "tags": [ "contents", "teacher-os" ] } }, "/api/v1/teacher-os/library/{content_id}": { "get": { "operationId": "teacher_os_library_get", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherLibraryDetailResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Library Get", "tags": [ "contents", "teacher-os" ] } }, "/api/v1/teacher-os/library/{content_id}/versions/{version_id}": { "get": { "operationId": "teacher_os_library_version_get", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherLibraryVersionResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Library Version Get", "tags": [ "contents", "teacher-os" ] } }, "/api/v1/teacher-os/memory": { "get": { "description": "Read the authenticated teacher's Memory profile. Never creates.", "operationId": "teacher_os_memory_get", "parameters": [ { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherMemoryResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Memory Get", "tags": [ "teaching", "teacher-os" ] }, "post": { "description": "Create the authenticated teacher's Memory. Ownership is never client-supplied.", "operationId": "teacher_os_memory_create", "parameters": [ { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherMemoryCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherMemoryResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Memory Create", "tags": [ "teaching", "teacher-os" ] }, "put": { "description": "Replace preferences for the authenticated teacher's Memory.", "operationId": "teacher_os_memory_update", "parameters": [ { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherMemoryUpdateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherMemoryResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Memory Update", "tags": [ "teaching", "teacher-os" ] } }, "/api/v1/teacher-os/review-queue": { "get": { "operationId": "teacher_os_review_queue_list", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "cursor", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Cursor" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherReviewQueueListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Review Queue List", "tags": [ "contents", "teacher-os" ] } }, "/api/v1/teacher-os/review-queue/{content_id}/versions/{version_id}": { "get": { "operationId": "teacher_os_review_queue_get", "parameters": [ { "in": "path", "name": "content_id", "required": true, "schema": { "format": "uuid", "title": "Content Id", "type": "string" } }, { "in": "path", "name": "version_id", "required": true, "schema": { "format": "uuid", "title": "Version Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherReviewQueueDetailResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Review Queue Get", "tags": [ "contents", "teacher-os" ] } }, "/api/v1/teacher-os/school-context/classes": { "get": { "description": "Current-authority assignable ClassRef list for Teacher OS Assign UX.\n\nAdvisory read only. Does not authorize TeachingAssignment CREATE.\nTenant and teacher Principal come only from resolve_trusted_context.", "operationId": "teacher_os_school_context_classes_list", "parameters": [ { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SchoolContextClassesResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os School Context Classes List", "tags": [ "teaching", "teacher-os" ] } }, "/api/v1/teacher-os/teach/context": { "get": { "operationId": "teacher_os_teach_context_get", "parameters": [ { "in": "query", "name": "work_id", "required": true, "schema": { "format": "uuid", "title": "Work Id", "type": "string" } }, { "in": "query", "name": "class_ref", "required": true, "schema": { "minLength": 1, "title": "Class Ref", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherOsTeachContextResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Teach Context Get", "tags": [ "teaching", "teacher-os" ] } }, "/api/v1/teacher-os/today/mission": { "get": { "operationId": "teacher_os_today_mission", "parameters": [ { "description": "Local educational day as YYYY-MM-DD. TOS-DEV02 temporary contract: the client supplies the date because no teacher time-zone System of Record exists yet.", "in": "query", "name": "mission_date", "required": true, "schema": { "description": "Local educational day as YYYY-MM-DD. TOS-DEV02 temporary contract: the client supplies the date because no teacher time-zone System of Record exists yet.", "format": "date", "title": "Mission Date", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeacherOsMissionResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teacher Os Today Mission", "tags": [ "teaching", "teacher-os" ] } }, "/api/v1/teaching/assignments": { "get": { "operationId": "teaching_assignment_list", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "lifecycle_state", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Lifecycle State" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Assignment List", "tags": [ "teaching" ] }, "post": { "operationId": "teaching_assignment_create", "parameters": [ { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Assignment Create", "tags": [ "teaching" ] } }, "/api/v1/teaching/assignments/{assignment_id}": { "get": { "operationId": "teaching_assignment_get", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Assignment Get", "tags": [ "teaching" ] }, "patch": { "operationId": "teaching_assignment_due_update", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "in": "header", "name": "If-Match", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentDueUpdateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Assignment Due Update", "tags": [ "teaching" ] } }, "/api/v1/teaching/assignments/{assignment_id}/actions/cancel": { "post": { "operationId": "teaching_assignment_cancel", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "in": "header", "name": "If-Match", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Assignment Cancel", "tags": [ "teaching" ] } }, "/api/v1/teaching/assignments/{assignment_id}/actions/close": { "post": { "operationId": "teaching_assignment_close", "parameters": [ { "in": "path", "name": "assignment_id", "required": true, "schema": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, { "in": "header", "name": "If-Match", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingAssignmentResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Assignment Close", "tags": [ "teaching" ] } }, "/api/v1/teaching/executions": { "get": { "operationId": "teaching_execution_list", "parameters": [ { "in": "query", "name": "work_id", "required": false, "schema": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Work Id" } }, { "in": "query", "name": "class_ref", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Class Ref" } }, { "in": "query", "name": "lifecycle_state", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Lifecycle State" } }, { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Execution List", "tags": [ "teaching" ] }, "post": { "operationId": "teaching_execution_start", "parameters": [ { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionStartRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "Location": { "description": "Canonical TeachingExecution URL", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Execution Start", "tags": [ "teaching" ] } }, "/api/v1/teaching/executions/{execution_id}": { "get": { "operationId": "teaching_execution_get", "parameters": [ { "in": "path", "name": "execution_id", "required": true, "schema": { "format": "uuid", "title": "Execution Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Execution Get", "tags": [ "teaching" ] } }, "/api/v1/teaching/executions/{execution_id}/actions/cancel": { "post": { "operationId": "teaching_execution_cancel", "parameters": [ { "in": "path", "name": "execution_id", "required": true, "schema": { "format": "uuid", "title": "Execution Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Execution Cancel", "tags": [ "teaching" ] } }, "/api/v1/teaching/executions/{execution_id}/actions/complete": { "post": { "operationId": "teaching_execution_complete", "parameters": [ { "in": "path", "name": "execution_id", "required": true, "schema": { "format": "uuid", "title": "Execution Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Execution Complete", "tags": [ "teaching" ] } }, "/api/v1/teaching/executions/{execution_id}/observations": { "post": { "operationId": "teaching_execution_observation_create", "parameters": [ { "in": "path", "name": "execution_id", "required": true, "schema": { "format": "uuid", "title": "Execution Id", "type": "string" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionObservationCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionObservationResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Execution Observation Create", "tags": [ "teaching" ] } }, "/api/v1/teaching/executions/{execution_id}/observations/{observation_id}": { "patch": { "operationId": "teaching_execution_observation_correct", "parameters": [ { "in": "path", "name": "execution_id", "required": true, "schema": { "format": "uuid", "title": "Execution Id", "type": "string" } }, { "in": "path", "name": "observation_id", "required": true, "schema": { "format": "uuid", "title": "Observation Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionObservationCorrectRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingExecutionObservationResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Execution Observation Correct", "tags": [ "teaching" ] } }, "/api/v1/teaching/works": { "get": { "operationId": "teaching_work_list", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "include_archived", "required": false, "schema": { "default": false, "title": "Include Archived", "type": "boolean" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkListResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work List", "tags": [ "teaching" ] }, "post": { "operationId": "teaching_work_create", "parameters": [ { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "Location": { "description": "Canonical Teaching Work URL", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work Create", "tags": [ "teaching" ] } }, "/api/v1/teaching/works/from-classroom-assessment": { "post": { "operationId": "teaching_work_from_classroom_assessment_create", "parameters": [ { "in": "header", "name": "Idempotency-Key", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RemediationTeachingWorkCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work From Classroom Assessment Create", "tags": [ "teaching" ] } }, "/api/v1/teaching/works/{work_id}": { "get": { "operationId": "teaching_work_get", "parameters": [ { "in": "path", "name": "work_id", "required": true, "schema": { "format": "uuid", "title": "Work Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work Get", "tags": [ "teaching" ] }, "patch": { "operationId": "teaching_work_refine", "parameters": [ { "in": "path", "name": "work_id", "required": true, "schema": { "format": "uuid", "title": "Work Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkRefineRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkResponse" } } }, "description": "Successful Response", "headers": { "ETag": { "description": "Opaque aggregate revision validator", "schema": { "type": "string" } }, "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work Refine", "tags": [ "teaching" ] } }, "/api/v1/teaching/works/{work_id}/actions/generate": { "post": { "operationId": "teaching_work_generate", "parameters": [ { "in": "path", "name": "work_id", "required": true, "schema": { "format": "uuid", "title": "Work Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkGenerateResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "502": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work Generate", "tags": [ "teaching" ] } }, "/api/v1/teaching/works/{work_id}/actions/prepare": { "post": { "operationId": "teaching_work_prepare", "parameters": [ { "in": "path", "name": "work_id", "required": true, "schema": { "format": "uuid", "title": "Work Id", "type": "string" } }, { "description": "Required strong aggregate revision validator, e.g. \"r0\".", "in": "header", "name": "If-Match", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "If-Match" } }, { "description": "Required retry key. Bounded, not stored in PostgreSQL.", "in": "header", "name": "Idempotency-Key", "required": true, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Idempotency-Key" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkPrepareResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "409": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "412": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "428": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "502": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work Prepare", "tags": [ "teaching" ] } }, "/api/v1/teaching/works/{work_id}/artifacts": { "get": { "operationId": "teaching_work_artifacts_list", "parameters": [ { "in": "path", "name": "work_id", "required": true, "schema": { "format": "uuid", "title": "Work Id", "type": "string" } }, { "in": "header", "name": "X-AIEOS-Tenant-ID", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "X-Aieos-Tenant-Id" } }, { "description": "Optional correlation identifier. Malformed values are rejected. The server generates a UUIDv7 when absent. Distinct from request_id.", "in": "header", "name": "X-AIEOS-Correlation-ID", "required": false, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TeachingWorkArtifactsResponse" } } }, "description": "Successful Response", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "400": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "401": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "403": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "404": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "422": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "500": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } }, "503": { "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } }, "description": "RFC 9457 Problem Details", "headers": { "X-AIEOS-Correlation-ID": { "description": "Correlation identifier preserved or generated by the server.", "schema": { "format": "uuid", "type": "string" } }, "X-AIEOS-Request-ID": { "description": "Server-generated UUIDv7 request identifier. Callers cannot choose it.", "schema": { "format": "uuid", "type": "string" } } } } }, "security": [ { "AIEOSBearerAuth": [] } ], "summary": "Teaching Work Artifacts List", "tags": [ "teaching" ] } } }, "security": [ { "AIEOSBearerAuth": [] } ] }