{"openapi":"3.1.0","info":{"title":"LATTERDAY API","version":"5.0.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/login":{"post":{"summary":"Login","operationId":"login_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/logout":{"post":{"summary":"Logout","operationId":"logout_auth_logout_post","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/me":{"get":{"summary":"Me","operationId":"me_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/packages":{"get":{"summary":"Catalog","operationId":"catalog_packages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/packages/{package_id}":{"get":{"summary":"Package Detail","operationId":"package_detail_packages__package_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/packages/{package_id}/installations":{"post":{"summary":"Start Install","operationId":"start_install_packages__package_id__installations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/installations/{install_id}/content":{"get":{"summary":"Content","operationId":"content_installations__install_id__content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"string","title":"Install Id"}},{"name":"x-install-token","in":"header","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"X-Install-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Content Head","operationId":"content_head_installations__install_id__content_head","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"string","title":"Install Id"}},{"name":"x-install-token","in":"header","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"X-Install-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/installations/{install_id}/finish":{"post":{"summary":"Finish","operationId":"finish_installations__install_id__finish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"string","title":"Install Id"}},{"name":"x-install-token","in":"header","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"X-Install-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Finish"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users":{"post":{"summary":"Add User","operationId":"add_user_admin_users_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUser"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Users","operationId":"users_admin_users_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}":{"patch":{"summary":"Update User","operationId":"update_user_admin_users__user_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/packages":{"post":{"summary":"Publish","operationId":"publish_admin_packages_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Admin Packages","operationId":"admin_packages_admin_packages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/packages/{package_id}":{"delete":{"summary":"Delete Package","operationId":"delete_package_admin_packages__package_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Package","operationId":"update_package_admin_packages__package_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/packages/{package_id}/cleanup-archives":{"post":{"summary":"Cleanup Package Archives","operationId":"cleanup_package_archives_admin_packages__package_id__cleanup_archives_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/grants/{package_id}":{"put":{"summary":"Grant","operationId":"grant_admin_users__user_id__grants__package_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Revoke","operationId":"revoke_admin_users__user_id__grants__package_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/audit":{"get":{"summary":"Audit","operationId":"audit_admin_audit_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/storage/upload":{"post":{"summary":"Upload","operationId":"upload_admin_storage_upload_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"filename","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,120}\\.zip$","title":"Filename"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/covers":{"post":{"summary":"Upload Cover","operationId":"upload_cover_admin_covers_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/users/{user_id}/grants":{"get":{"summary":"User Grants","operationId":"user_grants_admin_users__user_id__grants_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/install-history":{"get":{"summary":"Install History","operationId":"install_history_admin_install_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/summary":{"get":{"summary":"Summary","operationId":"summary_admin_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/settings":{"get":{"summary":"Get Settings","operationId":"get_settings_admin_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"put":{"summary":"Save Settings","operationId":"save_settings_admin_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Settings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"summary":"Patch Settings","operationId":"patch_settings_admin_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Settings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/packages/{ident}/favorite":{"put":{"summary":"Favorite","operationId":"favorite_packages__ident__favorite_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Favorite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/packages/{ident}/like":{"put":{"summary":"Like","operationId":"like_packages__ident__like_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Favorite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/library":{"get":{"summary":"Library","operationId":"library_me_library_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/packages/{ident}/features":{"patch":{"summary":"Package Features","operationId":"package_features_admin_packages__ident__features_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Flags"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/moderation-changes":{"get":{"summary":"Changes","operationId":"changes_me_moderation_changes_get","parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"string","maxLength":64,"default":"","title":"After"}},{"name":"staff","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Staff"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reviews/{ident}/report":{"post":{"summary":"Report","operationId":"report_reviews__ident__report_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/reviews/{ident}/reports":{"get":{"summary":"Reports","operationId":"reports_admin_reviews__ident__reports_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/moderation-notifications":{"get":{"summary":"Notifications","operationId":"notifications_me_moderation_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/amnesty/tickets":{"get":{"summary":"History","operationId":"history_amnesty_tickets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create","operationId":"create_amnesty_tickets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Appeal"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/storage/cleanup":{"get":{"summary":"Cloud Candidates","operationId":"cloud_candidates_admin_storage_cleanup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Clean Cloud","operationId":"clean_cloud_admin_storage_cleanup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudCleanup"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/packages/{ident}/presentation":{"put":{"summary":"Save Presentation","operationId":"save_presentation_admin_packages__ident__presentation_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Presentation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/reviews":{"get":{"summary":"Reviews","operationId":"reviews_admin_reviews_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","pattern":"^(all|visible|hidden)$","default":"all","title":"Status"}},{"name":"rating","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":5,"minimum":1},{"type":"null"}],"title":"Rating"}},{"name":"risk","in":"query","required":false,"schema":{"type":"string","pattern":"^(all|flagged|clean)$","default":"all","title":"Risk"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(newest|oldest|risk)$","default":"newest","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/reviews/{ident}/moderate":{"post":{"summary":"Moderate","operationId":"moderate_admin_reviews__ident__moderate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Moderation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/discord-link":{"post":{"summary":"Discord Link","operationId":"discord_link_me_discord_link_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/partners/config":{"get":{"summary":"Config","operationId":"config_admin_partners_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"put":{"summary":"Save Config","operationId":"save_config_admin_partners_config_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadConfig"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/partners":{"get":{"summary":"Partners","operationId":"partners_admin_partners_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Create","operationId":"create_admin_partners_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Partner"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/partners/{ident}/referrals":{"get":{"summary":"Referrals","operationId":"referrals_admin_partners__ident__referrals_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/partners/{ident}":{"patch":{"summary":"Update","operationId":"update_admin_partners__ident__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Partner"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/partners/{ident}/channels":{"post":{"summary":"Channel","operationId":"channel_admin_partners__ident__channels_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Channel"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/partners/{ident}/channels/{key}":{"delete":{"summary":"Delete Channel","operationId":"delete_channel_admin_partners__ident__channels__key__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/packages/{ident}/tier":{"put":{"summary":"Save Tier","operationId":"save_tier_admin_packages__ident__tier_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tier"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{ident}/vip":{"put":{"summary":"Vip","operationId":"vip_admin_users__ident__vip_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vip"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/packages/{ident}/check-access":{"post":{"summary":"Check Access","operationId":"check_access_packages__ident__check_access_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/referrals/visit":{"post":{"summary":"Visit","operationId":"visit_referrals_visit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Visit"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/referrals/download":{"post":{"summary":"Download","operationId":"download_referrals_download_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/premium/codes":{"get":{"summary":"Codes","operationId":"codes_admin_premium_codes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Issue","operationId":"issue_admin_premium_codes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Issue"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/me/premium/redeem":{"post":{"summary":"Redeem","operationId":"redeem_me_premium_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Redeem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/me/support/{kind}/{ident}":{"get":{"summary":"Read","operationId":"read_me_support__kind___ident__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Send","operationId":"send_me_support__kind___ident__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/support/{kind}/{ident}":{"get":{"summary":"Staff Read","operationId":"staff_read_admin_support__kind___ident__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Staff Send","operationId":"staff_send_admin_support__kind___ident__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/recovery/{ident}":{"get":{"summary":"Guest Read","operationId":"guest_read_support_recovery__ident__get","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Guest Send","operationId":"guest_send_support_recovery__ident__post","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/chat/{ident}":{"get":{"summary":"Guest Read","operationId":"guest_read_support_chat__ident__get","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Guest Send","operationId":"guest_send_support_chat__ident__post","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/tickets":{"post":{"summary":"Create Auth","operationId":"create_auth_me_tickets_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ticket"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Own","operationId":"own_me_tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120,"default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/tickets":{"get":{"summary":"Guest List","operationId":"guest_list_support_tickets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Guest","operationId":"create_guest_support_tickets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ticket"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/tickets/{ident}/reopen":{"post":{"summary":"Reopen","operationId":"reopen_me_tickets__ident__reopen_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets":{"get":{"summary":"All Tickets","operationId":"all_tickets_admin_tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bucket","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Bucket"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets/{ident}/user-info":{"get":{"summary":"User Info","operationId":"user_info_admin_tickets__ident__user_info_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets/{ident}":{"delete":{"summary":"Delete Ticket","operationId":"delete_ticket_admin_tickets__ident__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets/{ident}/decision":{"post":{"summary":"Decision","operationId":"decision_admin_tickets__ident__decision_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__support_center__Decision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets/{ident}/avatar":{"post":{"summary":"Custom Avatar","operationId":"custom_avatar_admin_tickets__ident__avatar_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/tickets/{ident}/confirm":{"post":{"summary":"Confirm User","operationId":"confirm_user_me_tickets__ident__confirm_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Confirm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/tickets/{ident}/confirm":{"post":{"summary":"Confirm Guest","operationId":"confirm_guest_support_tickets__ident__confirm_post","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Confirm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/public/settings":{"get":{"summary":"Public Settings","operationId":"public_settings_public_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/public/categories":{"get":{"summary":"Categories","operationId":"categories_public_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/categories":{"get":{"summary":"Admin Categories","operationId":"admin_categories_admin_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Add Category","operationId":"add_category_admin_categories_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Category"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/categories/{ident}":{"patch":{"summary":"Edit Category","operationId":"edit_category_admin_categories__ident__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Category"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Category","operationId":"delete_category_admin_categories__ident__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/revision":{"get":{"summary":"Revision","operationId":"revision_admin_revision_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/packages/{ident}/community":{"get":{"summary":"Community","operationId":"community_packages__ident__community_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/packages/{ident}/review":{"put":{"summary":"Review","operationId":"review_packages__ident__review_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__evolution__Review"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/uploads":{"post":{"summary":"Begin Upload","operationId":"begin_upload_admin_uploads_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadStart"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/uploads/{ident}":{"get":{"summary":"Upload Status","operationId":"upload_status_admin_uploads__ident__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Chunk","operationId":"chunk_admin_uploads__ident__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Cancel Upload","operationId":"cancel_upload_admin_uploads__ident__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/uploads/{ident}/finish":{"post":{"summary":"Finish Upload","operationId":"finish_upload_admin_uploads__ident__finish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/discord/start":{"get":{"summary":"Start","operationId":"start_auth_discord_start_get","parameters":[{"name":"link","in":"query","required":false,"schema":{"type":"string","default":"","title":"Link"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/discord/callback":{"get":{"summary":"Callback","operationId":"callback_auth_discord_callback_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/methods":{"get":{"summary":"Methods","operationId":"methods_auth_methods_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/telegram":{"post":{"summary":"Login","operationId":"login_auth_telegram_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelegramLogin"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/telegram":{"put":{"summary":"Link","operationId":"link_admin_users__user_id__telegram_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelegramLink"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/register":{"post":{"summary":"Register","operationId":"register_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Register"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/refresh":{"post":{"summary":"Refresh","operationId":"refresh_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refresh"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/revoke":{"post":{"summary":"Revoke","operationId":"revoke_auth_revoke_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refresh"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/profile":{"get":{"summary":"Profile","operationId":"profile_me_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"summary":"Update Profile","operationId":"update_profile_me_profile_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/me/preferences":{"get":{"summary":"Preferences","operationId":"preferences_me_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"summary":"Update Preferences","operationId":"update_preferences_me_preferences_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preferences"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/me/activity":{"get":{"summary":"Activity","operationId":"activity_me_activity_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":6,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/installations":{"get":{"summary":"Installation History","operationId":"installation_history_me_installations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/credentials":{"patch":{"summary":"Credentials","operationId":"credentials_me_credentials_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credentials"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/me/telegram-link":{"post":{"summary":"Telegram Link","operationId":"telegram_link_me_telegram_link_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/me/password":{"post":{"summary":"Change Password","operationId":"change_password_me_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/me/recovery-phrase":{"post":{"summary":"Rotate Phrase","operationId":"rotate_phrase_me_recovery_phrase_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proof"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/recover/phrase":{"post":{"summary":"Recover Phrase","operationId":"recover_phrase_auth_recover_phrase_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recover"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/recover/telegram":{"post":{"summary":"Recover Telegram","operationId":"recover_telegram_auth_recover_telegram_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverTelegram"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/sessions":{"get":{"summary":"List Sessions","operationId":"list_sessions_me_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/me/sessions/{session_id}":{"delete":{"summary":"Revoke Session","operationId":"revoke_session_me_sessions__session_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/recovery-requests":{"post":{"summary":"Request Recovery","operationId":"request_recovery_auth_recovery_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/recovery-requests":{"get":{"summary":"Requests List","operationId":"requests_list_admin_recovery_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/recovery-requests/{ticket}/evidence":{"get":{"summary":"Recovery Evidence","operationId":"recovery_evidence_admin_recovery_requests__ticket__evidence_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket","in":"path","required":true,"schema":{"type":"string","title":"Ticket"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/recovery-requests/{ticket}":{"patch":{"summary":"Review","operationId":"review_admin_recovery_requests__ticket__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket","in":"path","required":true,"schema":{"type":"string","title":"Ticket"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__accounts__Review"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/recover/manual":{"post":{"summary":"Manual Reset","operationId":"manual_reset_auth_recover_manual_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetToken"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/username-requests":{"get":{"summary":"Own Requests","operationId":"own_requests_me_username_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Submit","operationId":"submit_me_username_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsernameRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/username-requests":{"get":{"summary":"List Requests","operationId":"list_requests_admin_username_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/username-requests/{ticket}":{"patch":{"summary":"Review","operationId":"review_admin_username_requests__ticket__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket","in":"path","required":true,"schema":{"type":"string","title":"Ticket"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__management__Decision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/roles":{"get":{"summary":"Role List","operationId":"role_list_admin_roles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Create Role","operationId":"create_role_admin_roles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/roles/{role_id}":{"patch":{"summary":"Edit Role","operationId":"edit_role_admin_roles__role_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Role","operationId":"delete_role_admin_roles__role_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/roles":{"get":{"summary":"User Role List","operationId":"user_role_list_admin_users__user_id__roles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Assign Roles","operationId":"assign_roles_admin_users__user_id__roles_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignRoles"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/roles/{role_id}/packages":{"get":{"summary":"Role Package List","operationId":"role_package_list_admin_roles__role_id__packages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Assign Packages","operationId":"assign_packages_admin_roles__role_id__packages_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolePackages"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/presence":{"post":{"summary":"Presence","operationId":"presence_me_presence_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Heartbeat"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/storage/stats":{"get":{"summary":"Storage Stats","operationId":"storage_stats_admin_storage_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/analytics":{"get":{"summary":"Analytics","operationId":"analytics_admin_analytics_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/browser/context":{"get":{"summary":"Context","operationId":"context_auth_browser_context_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/browser/start":{"post":{"summary":"Start","operationId":"start_auth_browser_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserStart"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/browser/open":{"post":{"summary":"Open Browser","operationId":"open_browser_auth_browser_open_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserOpen"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/browser/complete":{"post":{"summary":"Complete","operationId":"complete_auth_browser_complete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/browser/reject":{"post":{"summary":"Reject","operationId":"reject_auth_browser_reject_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/browser/exchange":{"post":{"summary":"Exchange","operationId":"exchange_auth_browser_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserExchange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/admin/code":{"post":{"summary":"Admin Code","operationId":"admin_code_auth_admin_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCode"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/admin/session":{"get":{"summary":"Admin Session","operationId":"admin_session_auth_admin_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/telegram/qr":{"post":{"summary":"Start","operationId":"start_auth_telegram_qr_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Start"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/telegram/qr/poll":{"post":{"summary":"Poll","operationId":"poll_auth_telegram_qr_poll_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Poll"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/web/attach":{"post":{"summary":"Attach","operationId":"attach_auth_web_attach_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attach"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/web/session":{"post":{"summary":"Restore","operationId":"restore_auth_web_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/web/logout":{"post":{"summary":"Logout","operationId":"logout_auth_web_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/security/overview":{"get":{"summary":"Overview","operationId":"overview_admin_security_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/security/requests":{"get":{"summary":"Events","operationId":"events_admin_security_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"ip","in":"query","required":false,"schema":{"type":"string","maxLength":80,"default":"","title":"Ip"}},{"name":"path","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Path"}},{"name":"status","in":"query","required":false,"schema":{"type":"integer","maximum":599,"minimum":0,"default":0,"title":"Status"}},{"name":"suspicious","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Suspicious"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/security/bans":{"post":{"summary":"Ban","operationId":"ban_admin_security_bans_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/security/bans/{ip}":{"delete":{"summary":"Unban","operationId":"unban_admin_security_bans__ip__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ip","in":"path","required":true,"schema":{"type":"string","title":"Ip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/public/app-info":{"get":{"summary":"Info","operationId":"info_public_app_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/downloads/app.exe":{"get":{"summary":"Download","operationId":"download_downloads_app_exe_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/me/snapshot":{"get":{"summary":"Snapshot","operationId":"snapshot_me_snapshot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/auth/discord-config":{"get":{"summary":"Discord Config","operationId":"discord_config_admin_auth_discord_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/public/news":{"get":{"summary":"Feed","operationId":"feed_public_news_get","parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/news":{"get":{"summary":"Listing","operationId":"listing_admin_news_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","pattern":"^(all|draft|published|archived)$","default":"all","title":"Status"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create","operationId":"create_admin_news_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Entry"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/news/{ident}":{"patch":{"summary":"Update","operationId":"update_admin_news__ident__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Entry"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Remove","operationId":"remove_admin_news__ident__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}},{"name":"revision","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Revision"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/public/category-tree":{"get":{"summary":"Tree","operationId":"tree_public_category_tree_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/categories/{ident}/emphasis":{"put":{"summary":"Set Emphasis","operationId":"set_emphasis_admin_categories__ident__emphasis_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Emphasis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/categories/{ident}/parent":{"put":{"summary":"Set Parent","operationId":"set_parent_admin_categories__ident__parent_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Parent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/packages/{ident}/categories":{"put":{"summary":"Set Tags","operationId":"set_tags_admin_packages__ident__categories_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tags"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desktop/release":{"get":{"summary":"Manifest","operationId":"manifest_desktop_release_get","parameters":[{"name":"current_version","in":"query","required":true,"schema":{"type":"string","title":"Current Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/desktop/release":{"get":{"summary":"Admin Release","operationId":"admin_release_admin_desktop_release_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Publish","operationId":"publish_admin_desktop_release_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Publish"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/desktop/releases/{release_version}":{"post":{"summary":"Upload","operationId":"upload_admin_desktop_releases__release_version__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"release_version","in":"path","required":true,"schema":{"type":"string","title":"Release Version"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desktop/releases/{release_version}/{sha256}/LATTERDAY.exe":{"get":{"summary":"Download","operationId":"download_desktop_releases__release_version___sha256__LATTERDAY_exe_get","parameters":[{"name":"release_version","in":"path","required":true,"schema":{"type":"string","title":"Release Version"}},{"name":"sha256","in":"path","required":true,"schema":{"type":"string","title":"Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/catalog-changes":{"get":{"summary":"Changes","operationId":"changes_me_catalog_changes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"string","maxLength":32,"default":"","title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/support-changes":{"get":{"summary":"Changes","operationId":"changes_me_support_changes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"","title":"After"}},{"name":"staff","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Staff"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AdminCode":{"properties":{"code":{"type":"string","pattern":"^[A-Za-z0-9_-]{32}$","title":"Code"}},"type":"object","required":["code"],"title":"AdminCode"},"Appeal":{"properties":{"ban_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Ban Id"},"message":{"type":"string","maxLength":4000,"minLength":10,"title":"Message"}},"type":"object","required":["ban_id","message"],"title":"Appeal"},"AssignRoles":{"properties":{"role_ids":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Role Ids"}},"type":"object","required":["role_ids"],"title":"AssignRoles"},"Attach":{"properties":{"refresh_token":{"type":"string","maxLength":200,"minLength":32,"title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"Attach"},"BanInput":{"properties":{"ip":{"type":"string","maxLength":80,"title":"Ip"},"minutes":{"type":"integer","maximum":10080.0,"minimum":1.0,"title":"Minutes","default":15},"reason":{"type":"string","maxLength":200,"title":"Reason","default":"Ручная блокировка"}},"type":"object","required":["ip"],"title":"BanInput"},"BrowserExchange":{"properties":{"request_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Request Id"},"code_verifier":{"type":"string","pattern":"^[A-Za-z0-9._~-]{43,128}$","title":"Code Verifier"}},"type":"object","required":["request_id","code_verifier"],"title":"BrowserExchange"},"BrowserOpen":{"properties":{"request_id":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Request Id"},"launch_token":{"type":"string","maxLength":100,"minLength":32,"title":"Launch Token"}},"type":"object","required":["request_id","launch_token"],"title":"BrowserOpen"},"BrowserStart":{"properties":{"code_challenge":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","title":"Code Challenge"},"device_name":{"type":"string","maxLength":80,"minLength":1,"title":"Device Name","default":"LATTERDAY desktop"}},"type":"object","required":["code_challenge"],"title":"BrowserStart"},"Category":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"color":{"type":"string","pattern":"^#[a-fA-F0-9]{6}$","title":"Color","default":"#c6f36a"},"icon":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,30}$","title":"Icon","default":"grid"},"style":{"type":"string","pattern":"^(soft|outline|solid|glass|gradient|dashed|square|pill|brutal|neon|mono|double|stripe|inset|underline|cut|ribbon|metal|halo|dots|emboss|fade|ticket|caps)$","title":"Style","default":"soft"}},"type":"object","required":["name"],"title":"Category"},"Channel":{"properties":{"provider":{"type":"string","pattern":"^(telegram|discord)$","title":"Provider"},"target":{"type":"string","maxLength":100,"minLength":1,"title":"Target"},"role_id":{"type":"string","pattern":"^[0-9]{0,25}$","title":"Role Id","default":""},"join_url":{"type":"string","maxLength":1000,"title":"Join Url"},"label":{"type":"string","maxLength":100,"minLength":1,"title":"Label"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["provider","target","join_url","label"],"title":"Channel"},"CloudCleanup":{"properties":{"file_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"minItems":1,"title":"File Ids"},"confirmation":{"type":"string","title":"Confirmation"}},"type":"object","required":["file_ids","confirmation"],"title":"CloudCleanup"},"Confirm":{"properties":{"new_password":{"type":"string","maxLength":128,"minLength":12,"title":"New Password"},"current_password":{"type":"string","maxLength":128,"title":"Current Password","default":""},"recovery_phrase":{"type":"string","maxLength":300,"title":"Recovery Phrase","default":""}},"type":"object","required":["new_password"],"title":"Confirm"},"Credentials":{"properties":{"username":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,39}$","title":"Username"},"new_password":{"type":"string","maxLength":128,"minLength":12,"title":"New Password"},"current_password":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Current Password"},"recovery_phrase":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Recovery Phrase"}},"type":"object","required":["username","new_password"],"title":"Credentials"},"DownloadConfig":{"properties":{"url":{"type":"string","maxLength":2000,"title":"Url","default":""}},"type":"object","title":"DownloadConfig"},"DownloadInput":{"properties":{"slug":{"type":"string","maxLength":40,"title":"Slug","default":""}},"type":"object","title":"DownloadInput"},"Emphasis":{"properties":{"highlight_text":{"type":"string","maxLength":24,"title":"Highlight Text","default":""},"highlight_color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","title":"Highlight Color","default":"#f1ce8d"}},"type":"object","title":"Emphasis"},"Entry":{"properties":{"title":{"type":"string","maxLength":120,"title":"Title","default":""},"title_align":{"type":"string","pattern":"^(left|center|right)$","title":"Title Align","default":"left"},"title_color":{"type":"string","pattern":"^(#[0-9a-fA-F]{6})?$","title":"Title Color","default":""},"text":{"type":"string","maxLength":3000,"title":"Text","default":""},"html":{"type":"string","maxLength":20000,"title":"Html","default":""},"cover_path":{"type":"string","title":"Cover Path","default":""},"home_cover_path":{"type":"string","pattern":"^(|/media/covers/[a-zA-Z0-9_.-]+)$","title":"Home Cover Path","default":""},"url":{"type":"string","title":"Url","default":""},"tag":{"type":"string","maxLength":60,"title":"Tag","default":""},"layout":{"type":"string","pattern":"^(article|forum)$","title":"Layout","default":"article"},"status":{"type":"string","pattern":"^(draft|published|archived)$","title":"Status","default":"draft"},"revision":{"type":"integer","minimum":0.0,"title":"Revision","default":0}},"type":"object","title":"Entry"},"Favorite":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"Favorite"},"Finish":{"properties":{"status":{"type":"string","pattern":"^(completed|failed|cancelled)$","title":"Status"}},"type":"object","required":["status"],"title":"Finish"},"Flags":{"properties":{"show_downloads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Downloads"},"show_views":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Views"},"show_reviews":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Reviews"},"show_likes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Likes"}},"type":"object","title":"Flags"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Heartbeat":{"properties":{"channel":{"type":"string","pattern":"^(site|app)$","title":"Channel"}},"type":"object","required":["channel"],"title":"Heartbeat"},"Issue":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":1.0,"title":"Days","default":30},"lifetime":{"type":"boolean","title":"Lifetime","default":false},"count":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Count","default":1}},"type":"object","title":"Issue"},"Login":{"properties":{"device_name":{"type":"string","maxLength":80,"minLength":1,"title":"Device Name","default":"Desktop app"},"username":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,39}$","title":"Username"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"}},"type":"object","required":["username","password"],"title":"Login"},"Message":{"properties":{"text":{"type":"string","maxLength":4000,"minLength":1,"title":"Text"}},"type":"object","required":["text"],"title":"Message"},"Moderation":{"properties":{"action":{"type":"string","pattern":"^(hide|restore|warn)$","title":"Action"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"},"mute_days":{"type":"integer","maximum":365.0,"minimum":0.0,"title":"Mute Days","default":0},"hide":{"type":"boolean","title":"Hide","default":true}},"type":"object","required":["action","reason"],"title":"Moderation"},"NewUser":{"properties":{"device_name":{"type":"string","maxLength":80,"minLength":1,"title":"Device Name","default":"Desktop app"},"username":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,39}$","title":"Username"},"password":{"anyOf":[{"type":"string","maxLength":128,"minLength":12},{"type":"null"}],"title":"Password"},"telegram_id":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},{"type":"null"}],"title":"Telegram Id"}},"type":"object","required":["username"],"title":"NewUser"},"PackageInput":{"properties":{"install_path":{"type":"string","maxLength":240,"title":"Install Path","default":""},"video_url":{"type":"string","maxLength":1000,"title":"Video Url","default":""},"gallery":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Gallery"},"cover_path":{"type":"string","pattern":"^(|/media/covers/[a-f0-9]{32}\\.jpg)$","title":"Cover Path","default":""},"category":{"type":"string","maxLength":60,"minLength":1,"title":"Category","default":"Redux"},"game_edition":{"type":"string","pattern":"^(legacy|enhanced|both)$","title":"Game Edition","default":"legacy"},"changelog":{"type":"string","maxLength":8000,"title":"Changelog","default":""},"title":{"type":"string","maxLength":100,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":4000,"title":"Description","default":""},"version":{"type":"string","maxLength":50,"minLength":1,"title":"Version","default":"1.0"},"drive_file_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,200}$","title":"Drive File Id"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"},"available_to_all":{"type":"boolean","title":"Available To All","default":true},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["title","drive_file_id","sha256"],"title":"PackageInput"},"PackageUpdate":{"properties":{"install_path":{"type":"string","maxLength":240,"title":"Install Path","default":""},"video_url":{"type":"string","maxLength":1000,"title":"Video Url","default":""},"gallery":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Gallery"},"version":{"anyOf":[{"type":"string","maxLength":50,"minLength":1},{"type":"null"}],"title":"Version"},"drive_file_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,200}$"},{"type":"null"}],"title":"Drive File Id"},"sha256":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Sha256"},"retire_previous":{"type":"boolean","title":"Retire Previous","default":false},"cover_path":{"anyOf":[{"type":"string","pattern":"^(|/media/covers/[a-f0-9]{32}\\.jpg)$"},{"type":"null"}],"title":"Cover Path"},"category":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Category"},"game_edition":{"anyOf":[{"type":"string","pattern":"^(legacy|enhanced|both)$"},{"type":"null"}],"title":"Game Edition"},"changelog":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}],"title":"Changelog"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"available_to_all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Available To All"},"title":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Description"}},"type":"object","title":"PackageUpdate"},"Parent":{"properties":{"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"}},"type":"object","title":"Parent"},"Partner":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{2,39}$","title":"Slug"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["name","slug"],"title":"Partner"},"PasswordChange":{"properties":{"current_password":{"type":"string","maxLength":128,"minLength":1,"title":"Current Password"},"new_password":{"type":"string","maxLength":128,"minLength":12,"title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"PasswordChange"},"Poll":{"properties":{"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{32}$","title":"Token"},"binding":{"type":"string","maxLength":100,"minLength":40,"title":"Binding"}},"type":"object","required":["token","binding"],"title":"Poll"},"Preferences":{"properties":{"theme":{"type":"string","pattern":"^(carbon|steel|ember|graphite)$","title":"Theme"}},"type":"object","required":["theme"],"title":"Preferences"},"Presentation":{"properties":{"card_style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Style"},"detail_style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail Style"},"pinned":{"type":"boolean","title":"Pinned","default":false}},"type":"object","title":"Presentation"},"ProfileUpdate":{"properties":{"telegram_contact":{"type":"string","maxLength":100,"title":"Telegram Contact","default":""},"discord_contact":{"type":"string","maxLength":100,"title":"Discord Contact","default":""}},"type":"object","title":"ProfileUpdate"},"Proof":{"properties":{"current_password":{"type":"string","maxLength":128,"minLength":1,"title":"Current Password"}},"type":"object","required":["current_password"],"title":"Proof"},"Publish":{"properties":{"version":{"type":"string","title":"Version"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"},"notes":{"type":"string","maxLength":4000,"title":"Notes","default":""}},"type":"object","required":["version","sha256"],"title":"Publish"},"Recover":{"properties":{"username":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,39}$","title":"Username"},"recovery_phrase":{"type":"string","maxLength":300,"minLength":1,"title":"Recovery Phrase"},"new_password":{"type":"string","maxLength":128,"minLength":12,"title":"New Password"}},"type":"object","required":["username","recovery_phrase","new_password"],"title":"Recover"},"RecoverTelegram":{"properties":{"code":{"type":"string","pattern":"^[A-Za-z0-9_-]{32}$","title":"Code"},"new_password":{"type":"string","maxLength":128,"minLength":12,"title":"New Password"}},"type":"object","required":["code","new_password"],"title":"RecoverTelegram"},"RecoveryRequest":{"properties":{"username":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,39}$","title":"Username"},"contact":{"type":"string","maxLength":150,"minLength":3,"title":"Contact"},"message":{"type":"string","maxLength":2000,"minLength":10,"title":"Message"}},"type":"object","required":["username","contact","message"],"title":"RecoveryRequest"},"Redeem":{"properties":{"code":{"type":"string","maxLength":100,"minLength":8,"title":"Code"}},"type":"object","required":["code"],"title":"Redeem"},"Refresh":{"properties":{"refresh_token":{"type":"string","maxLength":200,"minLength":32,"title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"Refresh"},"Register":{"properties":{"username":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,39}$","title":"Username"},"password":{"type":"string","maxLength":128,"minLength":12,"title":"Password"},"telegram_contact":{"type":"string","maxLength":100,"title":"Telegram Contact","default":""},"discord_contact":{"type":"string","maxLength":100,"title":"Discord Contact","default":""},"device_name":{"type":"string","maxLength":80,"minLength":1,"title":"Device Name","default":"Desktop app"}},"type":"object","required":["username","password"],"title":"Register"},"Report":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"Report"},"ResetToken":{"properties":{"reset_token":{"type":"string","maxLength":200,"minLength":32,"title":"Reset Token"},"new_password":{"type":"string","maxLength":128,"minLength":12,"title":"New Password"}},"type":"object","required":["reset_token","new_password"],"title":"ResetToken"},"RoleInput":{"properties":{"name":{"type":"string","maxLength":50,"minLength":1,"title":"Name"},"icon":{"type":"string","title":"Icon","default":"shield"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","title":"Color","default":"#acc95e"},"permissions":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Permissions"}},"type":"object","required":["name"],"title":"RoleInput"},"RolePackages":{"properties":{"package_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Package Ids"}},"type":"object","required":["package_ids"],"title":"RolePackages"},"Settings":{"properties":{"news_layout":{"type":"string","pattern":"^(article|forum)$","title":"News Layout","default":"article"},"mod_detail_style":{"type":"string","pattern":"^(glass|classic|cinema|panorama|dossier|gallery|ribbon|blueprint|capsule|showcase)$","title":"Mod Detail Style","default":"glass"},"catalog_card_style":{"type":"string","pattern":"^(ornate|neon|horizontal|poster|glass|slate|mosaic|cover|compact|editorial)$","title":"Catalog Card Style","default":"neon"},"default_theme":{"type":"string","pattern":"^(carbon|steel|ember|graphite)$","title":"Default Theme","default":"carbon"},"show_downloads":{"type":"boolean","title":"Show Downloads","default":true},"show_reviews":{"type":"boolean","title":"Show Reviews","default":true},"show_views":{"type":"boolean","title":"Show Views","default":true},"discord_url":{"type":"string","maxLength":1000,"title":"Discord Url","default":""},"telegram_channel":{"type":"string","maxLength":1000,"title":"Telegram Channel","default":""},"telegram_bot":{"type":"string","maxLength":1000,"title":"Telegram Bot","default":""},"privacy_text":{"type":"string","maxLength":10000,"title":"Privacy Text","default":""},"terms_text":{"type":"string","maxLength":10000,"title":"Terms Text","default":""},"operator_contact":{"type":"string","maxLength":500,"title":"Operator Contact","default":""},"show_likes":{"type":"boolean","title":"Show Likes","default":true},"news":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"News"}},"type":"object","title":"Settings"},"Start":{"properties":{"device_name":{"type":"string","maxLength":80,"minLength":1,"title":"Device Name","default":"LATTERDAY web"}},"type":"object","title":"Start"},"Tags":{"properties":{"category_ids":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Category Ids"}},"type":"object","title":"Tags"},"TelegramLink":{"properties":{"telegram_id":{"type":"string","pattern":"^([1-9][0-9]{0,19})?$","title":"Telegram Id"}},"type":"object","required":["telegram_id"],"title":"TelegramLink"},"TelegramLogin":{"properties":{"device_name":{"type":"string","maxLength":80,"minLength":1,"title":"Device Name","default":"Desktop app"},"code":{"type":"string","pattern":"^[A-Za-z0-9_-]{32}$","title":"Code"}},"type":"object","required":["code"],"title":"TelegramLogin"},"Ticket":{"properties":{"kind":{"type":"string","pattern":"^(general|application|premium|username|recovery|telegram_rebind|discord_rebind|avatar)$","title":"Kind"},"subject":{"type":"string","maxLength":120,"minLength":3,"title":"Subject"},"message":{"type":"string","maxLength":4000,"minLength":3,"title":"Message"},"username":{"type":"string","maxLength":40,"title":"Username","default":""},"new_username":{"type":"string","maxLength":40,"title":"New Username","default":""},"contact":{"type":"string","maxLength":150,"title":"Contact","default":""}},"type":"object","required":["kind","subject","message"],"title":"Ticket"},"Tier":{"properties":{"kind":{"type":"string","pattern":"^(general|vip|individual|partner)$","title":"Kind"},"partner_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partner Id"},"channel_mode":{"type":"string","pattern":"^(all|any)$","title":"Channel Mode","default":"all"}},"type":"object","required":["kind"],"title":"Tier"},"UploadStart":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[^/\\\\\\x00-\\x1f]+$","title":"Name"},"size":{"type":"integer","exclusiveMinimum":0.0,"title":"Size"}},"type":"object","required":["name","size"],"title":"UploadStart"},"UserUpdate":{"properties":{"ban_reason":{"type":"string","maxLength":1000,"title":"Ban Reason","default":""},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"password":{"anyOf":[{"type":"string","maxLength":128,"minLength":12},{"type":"null"}],"title":"Password"}},"type":"object","title":"UserUpdate"},"UsernameRequest":{"properties":{"username":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,39}$","title":"Username"}},"type":"object","required":["username"],"title":"UsernameRequest"},"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"},"Vip":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":0.0,"title":"Days","default":30},"lifetime":{"type":"boolean","title":"Lifetime","default":false}},"type":"object","title":"Vip"},"Visit":{"properties":{"slug":{"type":"string","maxLength":40,"title":"Slug"}},"type":"object","required":["slug"],"title":"Visit"},"app__accounts__Review":{"properties":{"decision":{"type":"string","pattern":"^(approve|reject)$","title":"Decision"},"note":{"type":"string","maxLength":2000,"title":"Note","default":""}},"type":"object","required":["decision"],"title":"Review"},"app__evolution__Review":{"properties":{"rating":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Rating"},"text":{"type":"string","maxLength":2000,"minLength":1,"title":"Text"}},"type":"object","required":["rating","text"],"title":"Review"},"app__management__Decision":{"properties":{"decision":{"type":"string","pattern":"^(approve|reject)$","title":"Decision"},"note":{"type":"string","maxLength":1000,"title":"Note","default":""}},"type":"object","required":["decision"],"title":"Decision"},"app__support_center__Decision":{"properties":{"action":{"type":"string","pattern":"^(approve|reject|close|reopen)$","title":"Action"},"note":{"type":"string","maxLength":2000,"title":"Note","default":""},"ownership_verified":{"type":"boolean","title":"Ownership Verified","default":false}},"type":"object","required":["action"],"title":"Decision"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}