{"openapi":"3.1.0","info":{"title":"Sylink Device Auth Service","version":"1.0.0"},"paths":{"/enroll":{"post":{"summary":"Enroll","operationId":"enroll_enroll_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/challenge":{"post":{"summary":"Challenge","operationId":"challenge_auth_challenge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verify":{"post":{"summary":"Verify","operationId":"verify_auth_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/unisoc/register":{"post":{"summary":"Unisoc Register","description":"Pré-enregistre des unisocuid — l'équivalent du manifeste\nd'expédition côté appareils. Sans cette étape, l'enrôlement échoue.","operationId":"unisoc_register_admin_unisoc_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnisocRegisterRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnisocRegisterResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unisoc/enroll":{"post":{"summary":"Unisoc Enroll","operationId":"unisoc_enroll_unisoc_enroll_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnisocEnrollRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnisocEnrollResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unisoc/auth/challenge":{"post":{"summary":"Unisoc Challenge","operationId":"unisoc_challenge_unisoc_auth_challenge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnisocChallengeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unisoc/auth/verify":{"post":{"summary":"Unisoc Verify","operationId":"unisoc_verify_unisoc_auth_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnisocVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/jwks.json":{"get":{"summary":"Jwks","operationId":"jwks__well_known_jwks_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/sylink-auth.json":{"get":{"summary":"Discovery","description":"Machine-readable description of this authorization server, so a new\nresource API can be configured from one URL (in the spirit of OpenID\ndiscovery). Everything here is public.","operationId":"discovery__well_known_sylink_auth_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revocations":{"get":{"summary":"Revocation Feed","description":"Signed denylist for resource APIs. Public on purpose: the list isn't\nsecret, only its integrity matters, so it's signed (verified via JWKS)\nrather than guarded by a shared admin secret. The signed document is\ncached so repeated polls don't trigger a signature per request.","operationId":"revocation_feed_revocations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/introspect":{"post":{"summary":"Introspect","operationId":"introspect_introspect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntrospectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntrospectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/revoke":{"post":{"summary":"Revoke","operationId":"revoke_admin_revoke_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/manifest":{"post":{"summary":"Seed Manifest","operationId":"seed_manifest_admin_manifest_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManifestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManifestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/revocations":{"get":{"summary":"Revocations","operationId":"revocations_admin_revocations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/setup":{"get":{"summary":"Setup Page","operationId":"setup_page_dashboard_setup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Setup Submit","operationId":"setup_submit_dashboard_setup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login":{"get":{"summary":"Login Page","operationId":"login_page_dashboard_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Login Submit","operationId":"login_submit_dashboard_login_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/verify":{"get":{"summary":"Verify Page","operationId":"verify_page_dashboard_login_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Verify Submit","operationId":"verify_submit_dashboard_login_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/verify/resend":{"post":{"summary":"Verify Resend","operationId":"verify_resend_dashboard_login_verify_resend_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/cancel":{"get":{"summary":"Login Cancel","operationId":"login_cancel_dashboard_login_cancel_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/setup-2fa":{"get":{"summary":"Enrol Page","operationId":"enrol_page_dashboard_login_setup_2fa_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/setup-2fa/totp":{"post":{"summary":"Enrol Totp Begin","operationId":"enrol_totp_begin_dashboard_login_setup_2fa_totp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/setup-2fa/totp/confirm":{"post":{"summary":"Enrol Totp Confirm","operationId":"enrol_totp_confirm_dashboard_login_setup_2fa_totp_confirm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/setup-2fa/done":{"post":{"summary":"Enrol Done","operationId":"enrol_done_dashboard_login_setup_2fa_done_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/setup-2fa/email":{"post":{"summary":"Enrol Email Begin","operationId":"enrol_email_begin_dashboard_login_setup_2fa_email_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/login/setup-2fa/email/confirm":{"post":{"summary":"Enrol Email Confirm","operationId":"enrol_email_confirm_dashboard_login_setup_2fa_email_confirm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/invite":{"get":{"summary":"Invite Page","operationId":"invite_page_dashboard_invite_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Invite Submit","operationId":"invite_submit_dashboard_invite_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/forgot":{"get":{"summary":"Forgot Page","operationId":"forgot_page_dashboard_forgot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Forgot Submit","operationId":"forgot_submit_dashboard_forgot_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/reset":{"get":{"summary":"Reset Page","operationId":"reset_page_dashboard_reset_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Reset Submit","operationId":"reset_submit_dashboard_reset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/logout":{"post":{"summary":"Logout","operationId":"logout_dashboard_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account":{"get":{"summary":"Account Page","operationId":"account_page_dashboard_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/password":{"post":{"summary":"Account Password","operationId":"account_password_dashboard_account_password_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/mfa/totp/begin":{"post":{"summary":"Account Totp Begin","operationId":"account_totp_begin_dashboard_account_mfa_totp_begin_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/mfa/totp/confirm":{"post":{"summary":"Account Totp Confirm","operationId":"account_totp_confirm_dashboard_account_mfa_totp_confirm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/mfa/backup":{"post":{"summary":"Account Backup","operationId":"account_backup_dashboard_account_mfa_backup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/mfa/email/send":{"post":{"summary":"Account Email Send","operationId":"account_email_send_dashboard_account_mfa_email_send_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/mfa/email/confirm":{"post":{"summary":"Account Email Confirm","operationId":"account_email_confirm_dashboard_account_mfa_email_confirm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/sessions/revoke":{"post":{"summary":"Account Sessions Revoke","operationId":"account_sessions_revoke_dashboard_account_sessions_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/operators":{"get":{"summary":"Operators Page","operationId":"operators_page_dashboard_operators_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/operators/invite":{"post":{"summary":"Operators Invite","operationId":"operators_invite_dashboard_operators_invite_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/operators/{oid}/resend":{"post":{"summary":"Operators Resend","operationId":"operators_resend_dashboard_operators__oid__resend_post","parameters":[{"name":"oid","in":"path","required":true,"schema":{"type":"integer","title":"Oid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/operators/{oid}/status":{"post":{"summary":"Operators Status","operationId":"operators_status_dashboard_operators__oid__status_post","parameters":[{"name":"oid","in":"path","required":true,"schema":{"type":"integer","title":"Oid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/operators/{oid}/role":{"post":{"summary":"Operators Role","operationId":"operators_role_dashboard_operators__oid__role_post","parameters":[{"name":"oid","in":"path","required":true,"schema":{"type":"integer","title":"Oid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/operators/{oid}/reset-mfa":{"post":{"summary":"Operators Reset Mfa","operationId":"operators_reset_mfa_dashboard_operators__oid__reset_mfa_post","parameters":[{"name":"oid","in":"path","required":true,"schema":{"type":"integer","title":"Oid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/operators/{oid}/delete":{"post":{"summary":"Operators Delete","operationId":"operators_delete_dashboard_operators__oid__delete_post","parameters":[{"name":"oid","in":"path","required":true,"schema":{"type":"integer","title":"Oid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard":{"get":{"summary":"Overview","operationId":"overview_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices":{"get":{"summary":"Devices Page","operationId":"devices_page_dashboard_devices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices/{osid}":{"get":{"summary":"Device Detail","operationId":"device_detail_dashboard_devices__osid__get","parameters":[{"name":"osid","in":"path","required":true,"schema":{"type":"string","title":"Osid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/enrollments":{"get":{"summary":"Enrollments Page","operationId":"enrollments_page_dashboard_enrollments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/apps":{"get":{"summary":"Apps Page","operationId":"apps_page_dashboard_apps_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/apps/{name}":{"get":{"summary":"App Detail","operationId":"app_detail_dashboard_apps__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/services":{"get":{"summary":"Services Page","operationId":"services_page_dashboard_services_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/services/{uid}":{"get":{"summary":"Service Detail","operationId":"service_detail_dashboard_services__uid__get","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","title":"Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/logs":{"get":{"summary":"Logs Page","operationId":"logs_page_dashboard_logs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/logs/export":{"get":{"summary":"Logs Export","operationId":"logs_export_dashboard_logs_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/keys":{"get":{"summary":"Keys Page","operationId":"keys_page_dashboard_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices/revoke":{"post":{"summary":"Dash Revoke","operationId":"dash_revoke_dashboard_devices_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices/reactivate":{"post":{"summary":"Dash Reactivate","operationId":"dash_reactivate_dashboard_devices_reactivate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices/delete":{"post":{"summary":"Dash Delete","operationId":"dash_delete_dashboard_devices_delete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices/rename":{"post":{"summary":"Dash Rename","operationId":"dash_rename_dashboard_devices_rename_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices/audience":{"post":{"summary":"Dash Audience","operationId":"dash_audience_dashboard_devices_audience_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/devices/add":{"post":{"summary":"Dash Add","operationId":"dash_add_dashboard_devices_add_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/enrollment":{"post":{"summary":"Dash Enrollment","operationId":"dash_enrollment_dashboard_enrollment_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/enrollments/decide":{"post":{"summary":"Dash Enrollment Decide","operationId":"dash_enrollment_decide_dashboard_enrollments_decide_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/audiences":{"post":{"summary":"Dash Audiences","operationId":"dash_audiences_dashboard_audiences_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/scopes":{"post":{"summary":"Dash Scopes","operationId":"dash_scopes_dashboard_scopes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/unisoc/revoke":{"post":{"summary":"Dash Unisoc Revoke","operationId":"dash_unisoc_revoke_dashboard_unisoc_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/unisoc/reactivate":{"post":{"summary":"Dash Unisoc Reactivate","operationId":"dash_unisoc_reactivate_dashboard_unisoc_reactivate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/unisoc/delete":{"post":{"summary":"Dash Unisoc Delete","operationId":"dash_unisoc_delete_dashboard_unisoc_delete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/unisoc/rename":{"post":{"summary":"Dash Unisoc Rename","operationId":"dash_unisoc_rename_dashboard_unisoc_rename_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/unisoc/add":{"post":{"summary":"Dash Unisoc Add","operationId":"dash_unisoc_add_dashboard_unisoc_add_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/keys/rotate":{"post":{"summary":"Dash Rotate","operationId":"dash_rotate_dashboard_keys_rotate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/asset/device.png":{"get":{"summary":"Device Asset","operationId":"device_asset_dashboard_asset_device_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/asset/logo.png":{"get":{"summary":"Logo Asset","operationId":"logo_asset_dashboard_asset_logo_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/api/stats":{"get":{"summary":"Dashboard Stats","description":"JSON for scripted monitoring. Accepts a console session or the\nadmin bearer token — never a password alone, which would bypass the\nsecond factor.","operationId":"dashboard_stats_dashboard_api_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ChallengeRequest":{"properties":{"osid":{"type":"string","pattern":"^[^|\\s]{1,128}$","title":"Osid"}},"type":"object","required":["osid"],"title":"ChallengeRequest"},"ChallengeResponse":{"properties":{"nonce":{"type":"string","title":"Nonce"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["nonce","expires_in"],"title":"ChallengeResponse"},"EnrollRequest":{"properties":{"osid":{"type":"string","pattern":"^[^|\\s]{1,128}$","title":"Osid"},"public_key":{"type":"string","maxLength":4096,"title":"Public Key","description":"Device public key, PEM-encoded"},"attestation":{"anyOf":[{"type":"string","maxLength":8192},{"type":"null"}],"title":"Attestation","description":"Optional hardware attestation blob (accepted but NOT yet verified — TOFU enrollment, plan §5)"}},"type":"object","required":["osid","public_key"],"title":"EnrollRequest"},"EnrollResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"EnrollResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IntrospectRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"IntrospectRequest"},"IntrospectResponse":{"properties":{"active":{"type":"boolean","title":"Active"},"sub":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub"},"aud":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Aud"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"},"exp":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exp"},"jti":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jti"}},"type":"object","required":["active"],"title":"IntrospectResponse"},"ManifestRequest":{"properties":{"osids":{"items":{"type":"string","pattern":"^[^|\\s]{1,128}$"},"type":"array","maxItems":5000,"minItems":1,"title":"Osids","description":"Device osids from the shipping manifest"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["osids"],"title":"ManifestRequest"},"ManifestResponse":{"properties":{"added":{"type":"integer","title":"Added"}},"type":"object","required":["added"],"title":"ManifestResponse"},"RevokeRequest":{"properties":{"id":{"type":"string","title":"Id","description":"jti (token) or osid (device)"},"kind":{"type":"string","pattern":"^(device|token|unisoc)$","title":"Kind"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["id","kind"],"title":"RevokeRequest"},"RevokeResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"RevokeResponse"},"TokenResponse":{"properties":{"token":{"type":"string","title":"Token"},"token_type":{"type":"string","title":"Token Type","default":"Bearer"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["token","expires_in"],"title":"TokenResponse"},"UnisocChallengeRequest":{"properties":{"unisocuid":{"type":"string","pattern":"^[^|\\s]{1,128}$","title":"Unisocuid"}},"type":"object","required":["unisocuid"],"title":"UnisocChallengeRequest"},"UnisocEnrollRequest":{"properties":{"unisocuid":{"type":"string","pattern":"^[^|\\s]{1,128}$","title":"Unisocuid"},"public_key":{"type":"string","maxLength":4096,"title":"Public Key","description":"Cle publique du client, PEM (P-256)"}},"type":"object","required":["unisocuid","public_key"],"title":"UnisocEnrollRequest"},"UnisocEnrollResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"UnisocEnrollResponse"},"UnisocRegisterRequest":{"properties":{"unisocuids":{"items":{"type":"string","pattern":"^[^|\\s]{1,128}$"},"type":"array","maxItems":200,"minItems":1,"title":"Unisocuids","description":"Identifiants de clients applicatifs a pre-enregistrer"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["unisocuids"],"title":"UnisocRegisterRequest"},"UnisocRegisterResponse":{"properties":{"added":{"type":"integer","title":"Added"}},"type":"object","required":["added"],"title":"UnisocRegisterResponse"},"UnisocVerifyRequest":{"properties":{"unisocuid":{"type":"string","pattern":"^[^|\\s]{1,128}$","title":"Unisocuid"},"nonce":{"type":"string","maxLength":256,"minLength":1,"title":"Nonce"},"timestamp":{"type":"integer","title":"Timestamp","description":"Horodatage client, lie au message signe"},"signature":{"type":"string","title":"Signature","description":"Signature ECDSA-P256/SHA-256 base64"}},"type":"object","required":["unisocuid","nonce","timestamp","signature"],"title":"UnisocVerifyRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyRequest":{"properties":{"osid":{"type":"string","pattern":"^[^|\\s]{1,128}$","title":"Osid"},"nonce":{"type":"string","maxLength":256,"minLength":1,"title":"Nonce"},"timestamp":{"type":"integer","title":"Timestamp","description":"Device-claimed unix time, bound into the signed message"},"signature":{"type":"string","title":"Signature","description":"base64 ECDSA-P256/SHA-256 signature over the canonical message"}},"type":"object","required":["osid","nonce","timestamp","signature"],"title":"VerifyRequest"}}}}