{"openapi":"3.0.0","paths":{"/api/v1/staff/guest-automation":{"get":{"operationId":"GuestWorkflowController_view","parameters":[],"responses":{"200":{"description":""}},"tags":["GuestWorkflow"]}},"/api/v1/staff/guest-automation/readiness":{"get":{"operationId":"GuestWorkflowController_environmentReadiness","parameters":[],"responses":{"200":{"description":""}},"tags":["GuestWorkflow"]}},"/api/v1/staff/guest-automation/readiness/{id}":{"get":{"operationId":"GuestWorkflowController_readiness","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["GuestWorkflow"]}},"/api/v1/staff/guest-automation/configuration":{"post":{"operationId":"GuestWorkflowController_save","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestSettingsDto"}}}},"responses":{"200":{"description":""}},"tags":["GuestWorkflow"]}},"/api/v1/staff/guest-automation/policies/{id}":{"get":{"operationId":"GuestWorkflowController_policy","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["GuestWorkflow"]},"post":{"operationId":"GuestWorkflowController_savePolicy","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestPolicyDto"}}}},"responses":{"200":{"description":""}},"tags":["GuestWorkflow"]}},"/api/v1/staff/guest-automation/jobs/{id}/retry":{"post":{"operationId":"GuestWorkflowController_retry","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["GuestWorkflow"]}},"/api/v1/me/registration-readiness/{id}":{"get":{"operationId":"GuestRegistrationReadinessController_view","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["GuestRegistrationReadiness"]}},"/api/v1/staff/cedarinfo":{"get":{"operationId":"CedarInfoConfigurationController_view","parameters":[],"responses":{"200":{"description":""}},"tags":["CedarInfoConfiguration"]}},"/api/v1/staff/cedarinfo/configuration":{"post":{"operationId":"CedarInfoConfigurationController_save","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CedarInfoConfigurationDto"}}}},"responses":{"200":{"description":""}},"tags":["CedarInfoConfiguration"]}},"/api/v1/staff/canvas-sign-in":{"get":{"operationId":"CanvasSignInSettingsController_view","parameters":[],"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/save":{"post":{"operationId":"CanvasSignInSettingsController_save","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCanvasProfileDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/course-discovery":{"post":{"operationId":"CanvasSignInSettingsController_saveCourseDiscovery","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCanvasCourseDiscoveryDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/enrollment-credential":{"post":{"operationId":"CanvasSignInSettingsController_saveEnrollmentCredential","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCanvasEnrollmentCredentialDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/switch/start":{"post":{"operationId":"CanvasSignInSettingsController_beginSwitch","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeginCanvasProfileSwitchDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/switch/verify":{"post":{"operationId":"CanvasSignInSettingsController_verifySwitch","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteCanvasProfileSwitchDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/switch/review":{"post":{"operationId":"CanvasSignInSettingsController_reviewSwitch","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CanvasSwitchVerificationDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/switch/confirm":{"post":{"operationId":"CanvasSignInSettingsController_confirmSwitch","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CanvasSwitchDecisionDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/canvas-sign-in/switch/cancel":{"post":{"operationId":"CanvasSignInSettingsController_cancelSwitch","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CanvasSwitchDecisionDto"}}}},"responses":{"200":{"description":""}},"tags":["CanvasSignInSettings"]}},"/api/v1/staff/stripe":{"get":{"operationId":"StripeConfigurationController_view","parameters":[],"responses":{"200":{"description":""}},"tags":["StripeConfiguration"]}},"/api/v1/staff/stripe/connect":{"post":{"operationId":"StripeConfigurationController_connect","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectStripeDto"}}}},"responses":{"200":{"description":""}},"tags":["StripeConfiguration"]}},"/api/v1/staff/stripe/activate":{"post":{"operationId":"StripeConfigurationController_activate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateStripeDto"}}}},"responses":{"200":{"description":""}},"tags":["StripeConfiguration"]}},"/api/v1/staff/help":{"get":{"operationId":"StaffHelpController_manual","parameters":[],"responses":{"200":{"description":""}},"tags":["StaffHelp"]}},"/api/v1/me/account":{"get":{"operationId":"LearnerAccountController_account","parameters":[],"responses":{"200":{"description":""}},"tags":["LearnerAccount"]}},"/api/v1/me/account/guest-profile":{"post":{"operationId":"LearnerAccountController_profile","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestProfileDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAccount"]}},"/api/v1/me/email-verification":{"get":{"operationId":"EmailVerificationController_status","parameters":[],"responses":{"200":{"description":""}},"tags":["EmailVerification"]}},"/api/v1/me/email-verification/request":{"post":{"operationId":"EmailVerificationController_request","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestDto"}}}},"responses":{"200":{"description":""}},"tags":["EmailVerification"]}},"/api/v1/me/email-verification/confirm":{"post":{"operationId":"EmailVerificationController_confirm","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmDto"}}}},"responses":{"200":{"description":""}},"tags":["EmailVerification"]}},"/api/v1/staff/system-email/configuration":{"post":{"operationId":"SystemEmailController_configuration","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email":{"get":{"operationId":"SystemEmailController_state","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email/template":{"post":{"operationId":"SystemEmailController_template","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email/settings":{"post":{"operationId":"SystemEmailController_settings","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email/preview":{"post":{"operationId":"SystemEmailController_preview","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email/test":{"post":{"operationId":"SystemEmailController_test","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email/oauth/start":{"post":{"operationId":"SystemEmailController_start","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonceDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email/oauth/complete":{"post":{"operationId":"SystemEmailController_complete","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/staff/system-email/disconnect":{"post":{"operationId":"SystemEmailController_disconnect","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["System email"]}},"/api/v1/footer":{"get":{"operationId":"FooterPublicController_get","parameters":[],"responses":{"200":{"description":""}},"tags":["Footer"]}},"/api/v1/staff/footer":{"get":{"operationId":"FooterAdminController_get","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Footer"]}},"/api/v1/staff/footer/draft":{"post":{"operationId":"FooterAdminController_draft","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FooterDraftDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Footer"]}},"/api/v1/staff/footer/publish":{"post":{"operationId":"FooterAdminController_publish","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FooterVersionDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Footer"]}},"/api/v1/staff/footer/restore":{"post":{"operationId":"FooterAdminController_restore","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FooterRestoreDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Footer"]}},"/api/v1/staff/maintenance":{"get":{"operationId":"ModuleMaintenanceController_status","parameters":[],"responses":{"200":{"description":""}},"tags":["ModuleMaintenance"]}},"/api/v1/staff/maintenance/reauth":{"post":{"operationId":"ModuleMaintenanceController_reauth","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartDto"}}}},"responses":{"200":{"description":""}},"tags":["ModuleMaintenance"]}},"/api/v1/audit":{"get":{"operationId":"AuditLogController_list","parameters":[],"responses":{"200":{"description":""}},"tags":["AuditLog"]}},"/api/v1/audit/export":{"get":{"operationId":"AuditLogController_export","parameters":[],"responses":{"200":{"description":""}},"tags":["AuditLog"]}},"/api/v1/staff/manual-payments":{"get":{"operationId":"ManualPaymentsController_list","parameters":[],"responses":{"200":{"description":""}},"tags":["ManualPayments"]},"post":{"operationId":"ManualPaymentsController_record","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualPaymentDto"}}}},"responses":{"200":{"description":""}},"tags":["ManualPayments"]}},"/api/v1/staff/manual-payments/options":{"get":{"operationId":"ManualPaymentsController_options","parameters":[],"responses":{"200":{"description":""}},"tags":["ManualPayments"]}},"/api/v1/staff/manual-payments/{id}/refunds":{"post":{"operationId":"ManualPaymentsController_refund","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualRecordDto"}}}},"responses":{"200":{"description":""}},"tags":["ManualPayments"]}},"/api/v1/staff/earnings":{"get":{"operationId":"EarningsController_dashboard","parameters":[],"responses":{"200":{"description":""}},"tags":["Earnings"]}},"/api/v1/staff/engagement-impact":{"get":{"operationId":"EngagementImpactController_dashboard","parameters":[],"responses":{"200":{"description":""}},"tags":["EngagementImpact"]}},"/api/v1/staff/alerts":{"get":{"operationId":"LearnerAlertsController_dashboard","parameters":[],"responses":{"200":{"description":""}},"tags":["LearnerAlerts"]}},"/api/v1/staff/alerts/rules":{"post":{"operationId":"LearnerAlertsController_create","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRuleDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAlerts"]}},"/api/v1/staff/alerts/rules/{id}":{"post":{"operationId":"LearnerAlertsController_edit","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRuleDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAlerts"]}},"/api/v1/staff/alerts/rules/{id}/sync":{"post":{"operationId":"LearnerAlertsController_sync","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSyncDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAlerts"]}},"/api/v1/staff/alerts/{id}/action":{"post":{"operationId":"LearnerAlertsController_action","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertActionDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAlerts"]}},"/api/v1/staff/alerts/{id}/history":{"get":{"operationId":"LearnerAlertsController_history","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LearnerAlerts"]}},"/api/v1/staff/records/state":{"get":{"operationId":"ManagedRecordsController_state","parameters":[],"responses":{"200":{"description":""}},"tags":["ManagedRecords"]}},"/api/v1/staff/records/{target}":{"get":{"operationId":"ManagedRecordsController_list","parameters":[{"name":"target","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Active and archived staff management records","tags":["ManagedRecords"]}},"/api/v1/staff/records/{target}/{id}":{"post":{"operationId":"ManagedRecordsController_change","parameters":[{"name":"target","required":true,"in":"path","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordLifecycleDto"}}}},"responses":{"200":{"description":""}},"tags":["ManagedRecords"]}},"/api/v1/me/progress":{"get":{"operationId":"ProgressController_mine","parameters":[],"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress":{"get":{"operationId":"ProgressController_catalog","parameters":[],"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/plans/{id}/report":{"get":{"operationId":"ProgressController_report","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/cohorts/{id}/report":{"get":{"operationId":"ProgressController_cohort","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/participants/{id}/history":{"get":{"operationId":"ProgressController_history","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/plans":{"post":{"operationId":"ProgressController_plan","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressPlanDto"}}}},"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/cohorts":{"post":{"operationId":"ProgressController_createCohort","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressCohortDto"}}}},"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/plans/{id}/participants":{"post":{"operationId":"ProgressController_assign","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressAssignDto"}}}},"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/cohorts/{id}/members":{"post":{"operationId":"ProgressController_member","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressMemberDto"}}}},"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/progress/participants/{id}/evidence":{"post":{"operationId":"ProgressController_evidence","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressEvidenceDto"}}}},"responses":{"200":{"description":""}},"tags":["Progress"]}},"/api/v1/staff/canvas/staff-lookup/{id}":{"post":{"operationId":"CanvasCoursesController_staffLookup","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Find one exact Canvas account for an existing staff record using the caller's own OAuth grant; does not link it","tags":["Canvas courses"]}},"/api/v1/staff/canvas/connection":{"get":{"operationId":"CanvasCoursesController_connection","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Canvas courses"]}},"/api/v1/staff/canvas/courses":{"get":{"operationId":"CanvasCoursesController_list","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Filter the complete Canvas course preview before pagination","tags":["Canvas courses"]}},"/api/v1/staff/canvas/sync":{"post":{"operationId":"CanvasCoursesController_sync","parameters":[{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":""}},"security":[{"bearer":[]}],"summary":"Queue a read using the signed-in staff member's Canvas authorization","tags":["Canvas courses"]}},"/api/v1/staff/canvas/sync-runs/{id}":{"get":{"operationId":"CanvasCoursesController_status","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Canvas courses"]}},"/api/v1/staff/canvas/sync-runs/{id}/save":{"post":{"operationId":"CanvasCoursesController_save","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCoursePreviewDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Explicitly save the caller's reviewed, unexpired course preview","tags":["Canvas courses"]}},"/api/v1/staff/canvas/sync-runs/{id}/sync-courses":{"post":{"operationId":"CanvasCoursesController_syncCourses","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncCoursesDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Sync selected courses from the caller's reviewed preview, preserving other synced courses","tags":["Canvas courses"]}},"/api/v1/staff/canvas/schedule":{"post":{"operationId":"CanvasCoursesController_schedule","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseScheduleDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Canvas courses"]}},"/api/v1/staff/canvas/disconnect":{"post":{"operationId":"CanvasCoursesController_disconnect","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Canvas courses"]}},"/api/v1/health":{"get":{"operationId":"CatalogController_health","parameters":[],"responses":{"200":{"description":""}},"tags":["Catalog"]}},"/api/v1/offerings":{"get":{"operationId":"CatalogController_list","parameters":[{"name":"search","required":false,"in":"query","schema":{"type":"string"}},{"name":"category","required":false,"in":"query","schema":{"type":"string","enum":["Technology","Leadership","Healthcare","Ministry"]}},{"name":"collection","required":false,"in":"query","description":"Published collection or pathway slug","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"List published, listed offerings for public discovery (up to 100)","tags":["Catalog"]},"post":{"operationId":"WorkflowController_create","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferingDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/offerings/{id}":{"get":{"operationId":"CatalogController_detail","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Catalog"]}},"/api/v1/payments/config":{"get":{"operationId":"CatalogController_paymentConfig","parameters":[],"responses":{"200":{"description":""}},"summary":"Payment provider in use: stripe (sandbox Checkout) or simulated","tags":["Catalog"]}},"/api/v1/explore":{"get":{"operationId":"CatalogController_explore","parameters":[],"responses":{"200":{"description":""}},"summary":"Explore tab: up to 5 courses, 3 collections and 3 pathways; staff picks first, then automatic fill","tags":["Catalog"]}},"/api/v1/media/{id}":{"get":{"operationId":"CatalogController_media","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"An uploaded sales page image (public)","tags":["Catalog"]}},"/api/v1/collections":{"get":{"operationId":"CatalogController_collections","parameters":[],"responses":{"200":{"description":""}},"summary":"Published, listed collections and pathways with visible course counts","tags":["Catalog"]},"post":{"operationId":"WorkflowController_createCollection","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Create a draft collection or pathway","tags":["Prototype workflow"]}},"/api/v1/collections/{slug}":{"get":{"operationId":"CatalogController_collection","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"A published collection or pathway with its courses in order","tags":["Catalog"]}},"/api/v1/prototype/users":{"post":{"operationId":"WorkflowController_demoUser","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoUserDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Create or retrieve a demo learner by email; not authentication","tags":["Prototype workflow"]}},"/api/v1/me":{"get":{"operationId":"WorkflowController_me","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/me/learning":{"get":{"operationId":"WorkflowController_learning","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/me/saved-courses":{"get":{"operationId":"WorkflowController_savedCourses","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"The selected learner's private saved courses","tags":["Prototype workflow"]}},"/api/v1/me/saved-courses/{offeringId}":{"post":{"operationId":"WorkflowController_saveCourse","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"offeringId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedCourseDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Save or remove a course; registers nothing","tags":["Prototype workflow"]}},"/api/v1/me/pathways":{"get":{"operationId":"WorkflowController_pathways","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Pathways the selected learner follows, with registration status per course (no completion data)","tags":["Prototype workflow"]}},"/api/v1/me/pathways/{id}":{"post":{"operationId":"WorkflowController_follow","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Follow or stop following a pathway; free and registers nothing","tags":["Prototype workflow"]}},"/api/v1/registrations":{"post":{"operationId":"WorkflowController_register","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/prototype/registrations/{id}/simulate-payment":{"post":{"operationId":"WorkflowController_pay","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":""}},"security":[{"bearer":[]}],"summary":"SIMULATION ONLY: queue fake provisioning; no Stripe charge","tags":["Prototype workflow"]}},"/api/v1/registrations/{id}/progress":{"get":{"operationId":"WorkflowController_registrationProgress","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]},"post":{"operationId":"WorkflowController_advanceRegistration","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/registrations/{id}/checkout":{"post":{"operationId":"WorkflowController_checkout","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Start Stripe-hosted Checkout (sandbox) for a current reservation; returns the Checkout URL. The webhook, not the browser, confirms payment.","tags":["Prototype workflow"]}},"/api/v1/operations/{id}":{"get":{"operationId":"WorkflowController_operation","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/staff/offerings":{"get":{"operationId":"WorkflowController_staffList","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"type":"string"}},{"name":"category","required":false,"in":"query","schema":{"type":"string","enum":["Technology","Leadership","Healthcare","Ministry"]}},{"name":"collection","required":false,"in":"query","description":"Published collection or pathway slug","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/staff/offerings/{id}":{"get":{"operationId":"WorkflowController_staffOffering","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"One offering for staff: details, registration counts by status, sales page status and its activity","tags":["Prototype workflow"]}},"/api/v1/staff/offerings/{id}/registrations":{"get":{"operationId":"WorkflowController_offeringRegistrations","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/staff/offerings/{id}/registrations/{registrationId}/deactivate":{"post":{"operationId":"WorkflowController_deactivateOfferingRegistration","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"registrationId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeactivateRegistrationDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/offerings/{id}/publish":{"post":{"operationId":"WorkflowController_publish","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/offerings/{id}/edit":{"post":{"operationId":"WorkflowController_edit","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferingEditDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Edit an offering (version-checked); published offerings need a reason and keep protected terms","tags":["Prototype workflow"]}},"/api/v1/offerings/{id}/image":{"post":{"operationId":"WorkflowController_changeOfferingImage","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferingImageDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Change the portal-only course image (catalog:write); Canvas is never changed and refreshes preserve the override","tags":["Prototype workflow"]}},"/api/v1/offerings/{id}/unpublish":{"post":{"operationId":"WorkflowController_unpublish","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Stop new registrations and payments; in-progress enrollments continue","tags":["Prototype workflow"]}},"/api/v1/offerings/{id}/prices":{"get":{"operationId":"WorkflowController_prices","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Append-only price history, newest first","tags":["Prototype workflow"]}},"/api/v1/offerings/{id}/settings":{"post":{"operationId":"WorkflowController_settings","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferingSettingsDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Change approval validity, enrollment window and Canvas link (version-checked)","tags":["Prototype workflow"]}},"/api/v1/staff/explore":{"get":{"operationId":"WorkflowController_staffExplore","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Current staff picks for the learner Explore tab","tags":["Prototype workflow"]},"post":{"operationId":"WorkflowController_setExplore","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExploreDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Replace the Explore tab picks (published items only), audited; catalog:write or content:write","tags":["Prototype workflow"]}},"/api/v1/staff/sales-pages/{id}":{"get":{"operationId":"WorkflowController_salesPage","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"An offering's sales page: draft, published page, what blocks publishing, and revisions","tags":["Prototype workflow"]},"post":{"operationId":"WorkflowController_saveSalesPage","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesPageDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Save the sales page draft (version-checked, audited; content:write)","tags":["Prototype workflow"]}},"/api/v1/staff/media":{"post":{"operationId":"WorkflowController_uploadMedia","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaUploadDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Upload a sales page image (PNG, JPEG, WebP or GIF, up to 5 MB; content:write)","tags":["Prototype workflow"]}},"/api/v1/staff/sales-pages/{id}/publish":{"post":{"operationId":"WorkflowController_publishSalesPage","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Publish the draft as a new revision; refused while anything blocks publishing (content:write)","tags":["Prototype workflow"]}},"/api/v1/staff/sales-pages/{id}/unpublish":{"post":{"operationId":"WorkflowController_unpublishSalesPage","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Remove the published page; the course shows its default page (content:write)","tags":["Prototype workflow"]}},"/api/v1/staff/sales-pages/{id}/restore":{"post":{"operationId":"WorkflowController_restoreSalesPage","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesPageRestoreDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Copy a published revision into the draft (content:write)","tags":["Prototype workflow"]}},"/api/v1/staff/transactions":{"get":{"operationId":"WorkflowController_transactions","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Transactions (orders) with refund status, read-only (payments:read)","tags":["Prototype workflow"]}},"/api/v1/staff/transactions/reconcile":{"post":{"operationId":"WorkflowController_reconcilePayments","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Manually reconcile up to five unresolved Stripe Checkout sessions (payments:reconcile)","tags":["Prototype workflow"]}},"/api/v1/staff/transactions/{id}/refund-requests":{"post":{"operationId":"WorkflowController_requestRefund","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundReasonDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Request a refund; Finance issues it in the Stripe Dashboard (refunds:request)","tags":["Prototype workflow"]}},"/api/v1/staff/refund-requests/{id}/cancel":{"post":{"operationId":"WorkflowController_cancelRefundRequest","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundReasonDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Cancel a waiting refund request (refunds:request)","tags":["Prototype workflow"]}},"/api/v1/staff/collections":{"get":{"operationId":"WorkflowController_staffCollections","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"All collections and pathways, including drafts, with follower counts","tags":["Prototype workflow"]}},"/api/v1/collections/{id}/edit":{"post":{"operationId":"WorkflowController_editCollection","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionEditDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Edit title, summary and course order (version-checked)","tags":["Prototype workflow"]}},"/api/v1/collections/{id}/archive":{"post":{"operationId":"WorkflowController_archiveCollection","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Archive and unpublish a group, preserving courses and follows","tags":["Prototype workflow"]}},"/api/v1/collections/{id}/restore":{"post":{"operationId":"WorkflowController_restoreCollection","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Restore an archived group as a draft","tags":["Prototype workflow"]}},"/api/v1/collections/{id}/delete":{"post":{"operationId":"WorkflowController_deleteCollection","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Permanently delete a group and its follows; preserve individual courses and registrations","tags":["Prototype workflow"]}},"/api/v1/collections/{id}/publish":{"post":{"operationId":"WorkflowController_publishCollection","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/collections/{id}/unpublish":{"post":{"operationId":"WorkflowController_unpublishCollection","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Hide a collection or pathway from learners; follows and saved courses are kept","tags":["Prototype workflow"]}},"/api/v1/approval-requests":{"get":{"operationId":"WorkflowController_approvals","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/approval-requests/{id}/decision":{"post":{"operationId":"WorkflowController_decide","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/prototype/simulation":{"get":{"operationId":"WorkflowController_simulation","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"PROTOTYPE ONLY: current simulated provisioning outcome","tags":["Prototype workflow"]},"post":{"operationId":"WorkflowController_setSimulation","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimulationDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"PROTOTYPE ONLY: choose the outcome for newly queued provisioning","tags":["Prototype workflow"]}},"/api/v1/exceptions":{"get":{"operationId":"WorkflowController_exceptions","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Registrations whose provisioning failed after automatic retries","tags":["Prototype workflow"]}},"/api/v1/exceptions/{id}/retry":{"post":{"operationId":"WorkflowController_retry","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExceptionActionDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Queue provisioning again after the cause is fixed","tags":["Prototype workflow"]}},"/api/v1/exceptions/{id}/resolve":{"post":{"operationId":"WorkflowController_resolve","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExceptionActionDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Record that access was granted manually outside the portal","tags":["Prototype workflow"]}},"/api/v1/prototype/staff-sessions":{"post":{"operationId":"WorkflowController_staffSession","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffSessionDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"MOCK MODE ONLY: mock staff sign-in by email (no password); disabled in Canvas mode","tags":["Prototype workflow"]}},"/api/v1/prototype/staff-directory":{"get":{"operationId":"WorkflowController_staffDirectory","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"PROTOTYPE ONLY: active demo staff for mock sign-in","tags":["Prototype workflow"]}},"/api/v1/staff/me":{"get":{"operationId":"WorkflowController_staffMe","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"The selected staff member, roles and scopes","tags":["Prototype workflow"]}},"/api/v1/staff/roles":{"get":{"operationId":"WorkflowController_staffRolesCatalog","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Role catalog: labels, descriptions and scopes","tags":["Prototype workflow"]}},"/api/v1/staff/members":{"get":{"operationId":"WorkflowController_staffMembers","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]},"post":{"operationId":"WorkflowController_createStaff","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffMemberDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/staff/members/{id}/canvas-id":{"post":{"operationId":"WorkflowController_changeStaffCanvasId","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffCanvasChangeDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Recover a verified Canvas identity link; audit the change and revoke staff sessions","tags":["Prototype workflow"]}},"/api/v1/staff/members/{id}/canvas-link":{"post":{"operationId":"WorkflowController_linkStaffCanvas","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffCanvasLinkDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Link an administrator-verified Canvas user ID; preserve roles and refuse identity replacement","tags":["Prototype workflow"]}},"/api/v1/staff/members/{id}":{"post":{"operationId":"WorkflowController_updateStaff","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffUpdateDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Update name, roles or active status (version-checked; keeps one active staff administrator)","tags":["Prototype workflow"]}},"/api/v1/staff/dashboard":{"get":{"operationId":"WorkflowController_dashboard","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"days","required":false,"in":"query","description":"Days back from today; 0 means all time. Default 30.","schema":{"type":"number","enum":[7,30,90,365,0]}},{"name":"offeringId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Sample dashboard: enrollment for all staff; sales with reports:sales; completion after Canvas","tags":["Prototype workflow"]}},"/api/v1/staff/learners":{"get":{"operationId":"WorkflowController_staffLearners","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Learners with registration counts (search by email)","tags":["Prototype workflow"]}},"/api/v1/staff/learners/{id}":{"get":{"operationId":"WorkflowController_staffLearner","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Learner profile, registrations and recent activity","tags":["Prototype workflow"]}},"/api/v1/staff/learners/{id}/access":{"post":{"operationId":"WorkflowController_setLearnerAccess","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearnerAccessDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Deactivate or reactivate a learner account with an audited reason (version-checked)","tags":["Prototype workflow"]}},"/api/v1/staff/learners/{id}/lifecycle":{"post":{"operationId":"WorkflowController_learnerLifecycle","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordLifecycleDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Archive, restore or delete a learner; preserve protected history","tags":["Prototype workflow"]}},"/api/v1/offerings/{id}/lifecycle":{"post":{"operationId":"WorkflowController_offeringLifecycle","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordLifecycleDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Archive, restore or delete a offering; preserve protected history","tags":["Prototype workflow"]}},"/api/v1/reconciliation":{"get":{"operationId":"WorkflowController_report","parameters":[{"name":"Idempotency-Key","in":"header","description":"Required for all POST commands. Use a new UUID per action; reuse on retry.","required":false,"schema":{"type":"string"}},{"name":"X-Staff-Session","in":"header","description":"Canvas mode: opaque portal session, supplied only by the trusted web backend with the staff broker token. Current portal roles decide access.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Staff-Id","in":"header","description":"Mock mode only: select an active demo staff member with the staff token. Rejected in Canvas mode.","required":false,"schema":{"type":"string"}},{"name":"X-Prototype-Learner-Id","in":"header","description":"Select an existing demo learner with the learner token. Omit for legacy sample learner. Mock identity only.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Prototype workflow"]}},"/api/v1/webhooks/stripe/{connectionId}":{"post":{"operationId":"WebhookController_connectedWebhook","parameters":[{"name":"connectionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"stripe-signature","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Payments"]}},"/api/v1/webhooks/stripe":{"post":{"operationId":"WebhookController_stripeWebhook","parameters":[{"name":"stripe-signature","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Stripe webhook receiver (signed events only)","tags":["Payments"]}},"/api/v1/auth/staff/config":{"get":{"operationId":"StaffAuthController_config","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Staff authentication"]}},"/api/v1/auth/staff/canvas/start":{"post":{"operationId":"StaffAuthController_start","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CanvasStartDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Staff authentication"]}},"/api/v1/auth/staff/ob3/reauth":{"post":{"operationId":"StaffAuthController_reauthenticateOb3","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CanvasStartDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Staff authentication"]}},"/api/v1/auth/staff/canvas/callback":{"post":{"operationId":"StaffAuthController_complete","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CanvasCallbackDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Staff authentication"]}},"/api/v1/auth/staff/logout":{"post":{"operationId":"StaffAuthController_logout","parameters":[{"name":"x-staff-session","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Staff authentication"]}},"/api/v1/auth/learner/email/config":{"get":{"operationId":"LearnerAuthController_emailInfo","parameters":[],"responses":{"200":{"description":""}},"tags":["LearnerAuth"]}},"/api/v1/auth/learner/email/start":{"post":{"operationId":"LearnerAuthController_emailStart","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailStartDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAuth"]}},"/api/v1/auth/learner/email/complete":{"post":{"operationId":"LearnerAuthController_emailComplete","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailCompleteDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAuth"]}},"/api/v1/auth/learner/config":{"get":{"operationId":"LearnerAuthController_config","parameters":[],"responses":{"200":{"description":""}},"tags":["LearnerAuth"]}},"/api/v1/auth/learner/canvas/start":{"post":{"operationId":"LearnerAuthController_start","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearnerStartDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAuth"]}},"/api/v1/auth/learner/canvas/callback":{"post":{"operationId":"LearnerAuthController_complete","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearnerCallbackDto"}}}},"responses":{"200":{"description":""}},"tags":["LearnerAuth"]}},"/api/v1/auth/learner/logout":{"post":{"operationId":"LearnerAuthController_logout","parameters":[{"name":"x-learner-session","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LearnerAuth"]}},"/api/v1/auth/portal/canvas/start":{"post":{"operationId":"PortalAuthController_start","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalCanvasStartDto"}}}},"responses":{"200":{"description":""}},"tags":["PortalAuth"]}},"/api/v1/auth/portal/canvas/callback":{"post":{"operationId":"PortalAuthController_complete","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalCallbackDto"}}}},"responses":{"200":{"description":""}},"tags":["PortalAuth"]}},"/api/v1/auth/portal/canvas/cancel":{"post":{"operationId":"PortalAuthController_cancel","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalStartDto"}}}},"responses":{"200":{"description":""}},"tags":["PortalAuth"]}},"/api/v1/auth/portal/canvas/confirm":{"post":{"operationId":"PortalAuthController_confirm","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalConfirmDto"}}}},"responses":{"200":{"description":""}},"tags":["PortalAuth"]}}},"info":{"title":"Continuing Education prototype API","description":"Local prototype. Staff authentication supports configurable Canvas OAuth with optional course-read scopes and portal roles, or mock identities in mock mode. Learner identity and enrollment are simulated. Payment uses the Stripe sandbox when configured, otherwise a simulation.","version":"1.0","contact":{}},"tags":[],"servers":[],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"GuestSettingsDto":{"type":"object","properties":{}},"GuestPolicyDto":{"type":"object","properties":{}},"CedarInfoConfigurationDto":{"type":"object","properties":{}},"SaveCanvasProfileDto":{"type":"object","properties":{}},"SaveCanvasCourseDiscoveryDto":{"type":"object","properties":{}},"SaveCanvasEnrollmentCredentialDto":{"type":"object","properties":{}},"BeginCanvasProfileSwitchDto":{"type":"object","properties":{}},"CompleteCanvasProfileSwitchDto":{"type":"object","properties":{}},"CanvasSwitchVerificationDto":{"type":"object","properties":{}},"CanvasSwitchDecisionDto":{"type":"object","properties":{}},"ConnectStripeDto":{"type":"object","properties":{}},"ActivateStripeDto":{"type":"object","properties":{}},"GuestProfileDto":{"type":"object","properties":{}},"RequestDto":{"type":"object","properties":{}},"ConfirmDto":{"type":"object","properties":{}},"ConfigurationDto":{"type":"object","properties":{}},"TemplateDto":{"type":"object","properties":{}},"SettingsDto":{"type":"object","properties":{}},"PreviewDto":{"type":"object","properties":{}},"TestDto":{"type":"object","properties":{}},"NonceDto":{"type":"object","properties":{}},"CompleteDto":{"type":"object","properties":{}},"FooterDraftDto":{"type":"object","properties":{}},"FooterVersionDto":{"type":"object","properties":{}},"FooterRestoreDto":{"type":"object","properties":{}},"StartDto":{"type":"object","properties":{}},"ManualPaymentDto":{"type":"object","properties":{}},"ManualRecordDto":{"type":"object","properties":{}},"AlertRuleDto":{"type":"object","properties":{}},"AlertSyncDto":{"type":"object","properties":{}},"AlertActionDto":{"type":"object","properties":{}},"RecordLifecycleDto":{"type":"object","properties":{"version":{"type":"number"},"action":{"type":"string","enum":["archive","restore","delete"]},"reason":{"type":"string","minLength":10,"maxLength":500}},"required":["version","action","reason"]},"ProgressPlanDto":{"type":"object","properties":{}},"ProgressCohortDto":{"type":"object","properties":{}},"ProgressAssignDto":{"type":"object","properties":{}},"ProgressMemberDto":{"type":"object","properties":{}},"ProgressEvidenceDto":{"type":"object","properties":{}},"SaveCoursePreviewDto":{"type":"object","properties":{}},"SyncCoursesDto":{"type":"object","properties":{}},"CourseScheduleDto":{"type":"object","properties":{}},"DemoUserDto":{"type":"object","properties":{"email":{"type":"string","example":"learner@example.com","description":"Mock sign-in only; no password accepted."}},"required":["email"]},"SavedCourseDto":{"type":"object","properties":{"saved":{"type":"boolean","description":"true to save the course, false to remove it"}},"required":["saved"]},"FollowDto":{"type":"object","properties":{"following":{"type":"boolean","description":"true to follow the pathway, false to stop; following registers nothing"}},"required":["following"]},"RegistrationDto":{"type":"object","properties":{"offeringId":{"type":"string"}},"required":["offeringId"]},"DeactivateRegistrationDto":{"type":"object","properties":{}},"OfferingSkillDto":{"type":"object","properties":{"id":{"type":"string"},"releaseId":{"type":"string"}},"required":["id","releaseId"]},"OfferingDto":{"type":"object","properties":{"skills":{"maxItems":20,"type":"array","items":{"$ref":"#/components/schemas/OfferingSkillDto"}},"listed":{"type":"boolean","default":true,"description":"Public discovery preference, independent of publication. Unlisted published courses remain accessible by direct link."},"title":{"type":"string"},"category":{"type":"string","enum":["Technology","Leadership","Healthcare","Ministry"]},"summary":{"type":"string"},"description":{"type":"string"},"format":{"type":"string"},"courseType":{"type":"string","enum":["cohort","self_paced"]},"startDate":{"type":"string","description":"Required for cohort courses; omit for self-paced courses."},"endDate":{"type":"string","description":"Required for cohort courses; omit for self-paced courses."},"unlimitedSeats":{"type":"boolean","default":false,"description":"Explicitly removes the seat limit; capacity must be omitted or null."},"capacity":{"type":"object","nullable":true,"minimum":1,"maximum":10000,"description":"Required unless unlimitedSeats is true."},"priceCents":{"type":"number"},"approvalRequired":{"type":"boolean"},"approvalValidDays":{"type":"number","default":7,"description":"Days an approval stays valid before the learner must reserve."},"enrollmentCloseDays":{"type":"number","default":7,"description":"Scheduled courses: days after the start date when enrollment closes."},"canvasCourseUrl":{"type":"string","description":"HTTPS link to the mapped Canvas course."}},"required":["title","category","summary","description","format","courseType","priceCents","approvalRequired"]},"PublishDto":{"type":"object","properties":{"version":{"type":"number"}},"required":["version"]},"OfferingEditDto":{"type":"object","properties":{"skills":{"maxItems":20,"type":"array","items":{"$ref":"#/components/schemas/OfferingSkillDto"}},"listed":{"type":"boolean","default":true,"description":"Public discovery preference, independent of publication. Unlisted published courses remain accessible by direct link."},"title":{"type":"string"},"category":{"type":"string","enum":["Technology","Leadership","Healthcare","Ministry"]},"summary":{"type":"string"},"description":{"type":"string"},"format":{"type":"string"},"courseType":{"type":"string","enum":["cohort","self_paced"]},"startDate":{"type":"string","description":"Required for cohort courses; omit for self-paced courses."},"endDate":{"type":"string","description":"Required for cohort courses; omit for self-paced courses."},"unlimitedSeats":{"type":"boolean","default":false,"description":"Explicitly removes the seat limit; capacity must be omitted or null."},"capacity":{"type":"object","nullable":true,"minimum":1,"maximum":10000,"description":"Required unless unlimitedSeats is true."},"priceCents":{"type":"number"},"approvalRequired":{"type":"boolean"},"approvalValidDays":{"type":"number","default":7,"description":"Days an approval stays valid before the learner must reserve."},"enrollmentCloseDays":{"type":"number","default":7,"description":"Scheduled courses: days after the start date when enrollment closes."},"canvasCourseUrl":{"type":"string","description":"HTTPS link to the mapped Canvas course."},"version":{"type":"number","description":"Current version, for conflict detection."},"reason":{"type":"string","description":"Required (10–500 characters) when the offering is published; recorded in the audit log."}},"required":["title","category","summary","description","format","courseType","priceCents","approvalRequired","version"]},"OfferingImageDto":{"type":"object","properties":{"version":{"type":"number"},"mode":{"type":"string","enum":["upload","fallback","source"]},"reason":{"type":"string","description":"Required for previously published offerings"},"fileName":{"type":"string"},"contentType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"]},"data":{"type":"string","description":"Base64 image, up to 5 MB decoded; upload mode only"}},"required":["version","mode"]},"UnpublishDto":{"type":"object","properties":{"version":{"type":"number"},"reason":{"type":"string","minLength":10,"maxLength":500}},"required":["version","reason"]},"OfferingSettingsDto":{"type":"object","properties":{"listed":{"type":"boolean","description":"Omit to retain the current listing preference. False hides public discovery without unpublishing."},"reason":{"type":"string","description":"Required when changing listing on an offering that is or was published."},"version":{"type":"number"},"approvalValidDays":{"type":"number","minimum":1,"maximum":365},"enrollmentCloseDays":{"type":"number","minimum":0,"maximum":365},"canvasCourseUrl":{"type":"object","nullable":true,"description":"HTTPS link to the mapped Canvas course; null removes it."}},"required":["version","approvalValidDays","enrollmentCloseDays"]},"ExploreDto":{"type":"object","properties":{"courses":{"description":"Up to 5 published courses","type":"array","items":{"type":"string"}},"collections":{"description":"Up to 3 published collections","type":"array","items":{"type":"string"}},"pathways":{"description":"Up to 3 published pathways","type":"array","items":{"type":"string"}}},"required":["courses","collections","pathways"]},"SalesPageDto":{"type":"object","properties":{"version":{"type":"number","description":"Current version; 0 creates the page"},"page":{"type":"object","description":"{ blocks: [...], seo: { title, description } }; block types hero, text, outcomes, instructor, testimonial, faq"}},"required":["version","page"]},"MediaUploadDto":{"type":"object","properties":{"fileName":{"type":"string"},"contentType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"]},"data":{"type":"string","description":"Base64 file contents, up to 5 MB decoded"}},"required":["fileName","contentType","data"]},"SalesPageRestoreDto":{"type":"object","properties":{"version":{"type":"number"},"revision":{"type":"number","description":"Published revision to copy into the draft"}},"required":["version","revision"]},"RefundReasonDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why (10-500 characters); visible to Finance"}},"required":["reason"]},"CollectionDto":{"type":"object","properties":{"listed":{"type":"boolean","default":true,"description":"Public discovery preference. Published unlisted groups remain available by direct link; omission on edit retains the current value."},"kind":{"type":"string","enum":["collection","pathway"]},"title":{"type":"string"},"slug":{"type":"string","description":"Public URL segment; derived from the title when omitted"},"summary":{"type":"string"},"offeringIds":{"type":"array","items":{"type":"string"}}},"required":["kind","title","summary","offeringIds"]},"CollectionEditDto":{"type":"object","properties":{"listed":{"type":"boolean","default":true,"description":"Public discovery preference. Published unlisted groups remain available by direct link; omission on edit retains the current value."},"version":{"type":"number"},"title":{"type":"string"},"summary":{"type":"string"},"offeringIds":{"description":"Offering IDs in display order; for pathways, the recommended order","type":"array","items":{"type":"string"}}},"required":["version","title","summary","offeringIds"]},"DecisionDto":{"type":"object","properties":{"decision":{"type":"string","enum":["approved","declined"]}},"required":["decision"]},"SimulationDto":{"type":"object","properties":{"provisioningOutcome":{"type":"string","enum":["normal","delayed","transient","identity_failure","canvas_failure"],"description":"PROTOTYPE ONLY: outcome applied to provisioning queued after this change."}},"required":["provisioningOutcome"]},"ExceptionActionDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why staff are taking this action; recorded in the audit log.","minLength":10,"maxLength":500}},"required":["reason"]},"StaffSessionDto":{"type":"object","properties":{"email":{"type":"string","example":"approver@cuce.test"}},"required":["email"]},"StaffMemberDto":{"type":"object","properties":{"email":{"type":"string"},"displayName":{"type":"string"},"roles":{"type":"array","items":{"type":"string","enum":["approver","catalog_manager","support","it_canvas_admin","staff_admin","content_editor"]}}},"required":["email","displayName","roles"]},"StaffCanvasChangeDto":{"type":"object","properties":{"version":{"type":"number"},"canvasUserId":{"type":"string","description":"Numeric Canvas user ID verified by the administrator"},"identityVerified":{"type":"boolean","enum":[true]},"canvasOrigin":{"type":"string"},"previousCanvasUserId":{"type":"string"},"reason":{"type":"string"}},"required":["version","canvasUserId","identityVerified","canvasOrigin","previousCanvasUserId","reason"]},"StaffCanvasLinkDto":{"type":"object","properties":{"version":{"type":"number"},"canvasUserId":{"type":"string","description":"Numeric Canvas user ID verified by the administrator"},"identityVerified":{"type":"boolean","enum":[true]}},"required":["version","canvasUserId","identityVerified"]},"StaffUpdateDto":{"type":"object","properties":{"version":{"type":"number"},"displayName":{"type":"string"},"roles":{"type":"array","items":{"type":"string","enum":["approver","catalog_manager","support","it_canvas_admin","staff_admin","content_editor"]}},"active":{"type":"boolean"}},"required":["version","displayName","roles","active"]},"LearnerAccessDto":{"type":"object","properties":{"version":{"type":"number"},"active":{"type":"boolean","description":"true to reactivate, false to deactivate"},"reason":{"type":"string","minLength":10,"maxLength":500}},"required":["version","active","reason"]},"CanvasStartDto":{"type":"object","properties":{}},"CanvasCallbackDto":{"type":"object","properties":{}},"EmailStartDto":{"type":"object","properties":{}},"EmailCompleteDto":{"type":"object","properties":{}},"LearnerStartDto":{"type":"object","properties":{}},"LearnerCallbackDto":{"type":"object","properties":{}},"PortalCanvasStartDto":{"type":"object","properties":{}},"PortalCallbackDto":{"type":"object","properties":{}},"PortalStartDto":{"type":"object","properties":{}},"PortalConfirmDto":{"type":"object","properties":{}}}}}