{"openapi":"3.1.0","info":{"title":"Odoo Cloud","version":"0.1.0"},"paths":{"/api/partners/context":{"get":{"tags":["partners"],"summary":"Context","operationId":"context_api_partners_context_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/partners/claim":{"post":{"tags":["partners"],"summary":"Claim","description":"**Dashboard session only:** personal access tokens are refused.\n\nA referral link opened while signed in: without confirm, what the confirmation screen shows (nothing\nchanges); confirmed, attributed if the account has no partner yet (never overridden).","operationId":"claim_api_partners_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__CodeIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/partners/invites/accept":{"post":{"tags":["partners"],"summary":"Accept","operationId":"accept_api_partners_invites_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__TokenIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/partners/member-invites/accept":{"post":{"tags":["partners"],"summary":"Accept Member Invite","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe invitee joins the partner organization (signed in with the account to use).","operationId":"accept_member_invite_api_partners_member_invites_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__TokenIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/partner-access":{"get":{"tags":["partners"],"summary":"Access","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe client's side: the partner managing their account and the projects it has access to.","operationId":"access_api_partner_access_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null},"delete":{"tags":["partners"],"summary":"Revoke All","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe client removes their partner entirely (audited in each project and in the partner's trail).","operationId":"revoke_all_api_partner_access_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/partner-access/projects/{project_id}":{"delete":{"tags":["partners"],"summary":"Revoke Project","description":"**Dashboard session only:** personal access tokens are refused.\n\nA project admin removes the partner's access to this project.","operationId":"revoke_project_api_partner_access_projects__project_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/partner":{"get":{"tags":["partners"],"summary":"Overview","operationId":"overview_api_partner_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/partner/clients":{"get":{"tags":["partners"],"summary":"My Clients","operationId":"my_clients_api_partner_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["partners"],"summary":"Invite Client","description":"**Dashboard session only:** personal access tokens are refused.\n\nInvite a client by email: they accept with the emailed link. The link goes to the invited mailbox only, never\nto the partner (whoever holds it could create the account for that address).","operationId":"invite_client_api_partner_clients_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__ClientIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/partner/clients/{client_id}":{"delete":{"tags":["partners"],"summary":"Cancel Invitation","description":"**Dashboard session only:** personal access tokens are refused.\n\nWithdraw an invitation not accepted yet (an active client removes the partner themselves).","operationId":"cancel_invitation_api_partner_clients__client_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/partner/quote":{"post":{"tags":["partners"],"summary":"Quote","operationId":"quote_api_partner_quote_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__PlanIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/partner/checkout":{"post":{"tags":["partners"],"summary":"Checkout","description":"**Dashboard session only:** personal access tokens are refused.\n\nHosting for a client. Discount mode: a Stripe Checkout the partner pays at its price. Commission mode: a payment\nlink for the client (full price, their own account).","operationId":"checkout_api_partner_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__CheckoutIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/partner/clients/{client_id}/projects":{"post":{"tags":["partners"],"summary":"Create Client Project","description":"**Dashboard session only:** personal access tokens are refused.\n\nA project for a client, paid by one of the client's attributed subscriptions (the partner's own in discount\nmode, the client's in commission mode). The partner user and the client are its admins. It goes into the\nclient's organization when its plan is that organization's, or when the partner picks one of the client's\norganizations (client_org_id; the client is an owner or admin there): its owners and admins manage it too.","operationId":"create_client_project_api_partner_clients__client_id__projects_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientProjectIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/partner/commissions":{"get":{"tags":["partners"],"summary":"My Commissions","operationId":"my_commissions_api_partner_commissions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/partner/commissions.csv":{"get":{"tags":["partners"],"summary":"My Commissions Csv","operationId":"my_commissions_csv_api_partner_commissions_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/partner/members":{"get":{"tags":["partners"],"summary":"My Members","operationId":"my_members_api_partner_members_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["partners"],"summary":"Add My Member","description":"**Dashboard session only:** personal access tokens are refused.\n\nAn invitation by email (accepted by its recipient, signed in): the same answer whether or not an account\nexists for the address. A current member just gets the new role.","operationId":"add_my_member_api_partner_members_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__MemberIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/partner/members/{user_id}":{"delete":{"tags":["partners"],"summary":"Remove My Member","operationId":"remove_my_member_api_partner_members__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners":{"get":{"tags":["partners"],"summary":"List Partners","operationId":"list_partners_api_platform_partners_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["partners"],"summary":"Create Partner","operationId":"create_partner_api_platform_partners_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners/{partner_id}":{"get":{"tags":["partners"],"summary":"Read Partner","operationId":"read_partner_api_platform_partners__partner_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["partners"],"summary":"Update Partner","operationId":"update_partner_api_platform_partners__partner_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners/{partner_id}/members":{"post":{"tags":["partners"],"summary":"Admin Add Member","operationId":"admin_add_member_api_platform_partners__partner_id__members_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__partners__MemberIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners/{partner_id}/members/{user_id}":{"delete":{"tags":["partners"],"summary":"Admin Remove Member","operationId":"admin_remove_member_api_platform_partners__partner_id__members__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners/{partner_id}/clients":{"post":{"tags":["partners"],"summary":"Admin Assign","description":"**Dashboard session only:** personal access tokens are refused.\n\nAttribute an existing account to this partner explicitly (a reassignment from another partner is recorded).","operationId":"admin_assign_api_platform_partners__partner_id__clients_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/partners/{partner_id}/statements/{period}/approve":{"post":{"tags":["partners"],"summary":"Approve","operationId":"approve_api_platform_partners__partner_id__statements__period__approve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}},{"name":"period","in":"path","required":true,"schema":{"type":"string","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners/{partner_id}/statements/{period}/paid":{"post":{"tags":["partners"],"summary":"Mark Paid","operationId":"mark_paid_api_platform_partners__partner_id__statements__period__paid_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}},{"name":"period","in":"path","required":true,"schema":{"type":"string","title":"Period"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners/{partner_id}/commissions":{"get":{"tags":["partners"],"summary":"Admin Commissions","operationId":"admin_commissions_api_platform_partners__partner_id__commissions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}},{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/partners/{partner_id}/commissions.csv":{"get":{"tags":["partners"],"summary":"Admin Commissions Csv","operationId":"admin_commissions_csv_api_platform_partners__partner_id__commissions_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"partner_id","in":"path","required":true,"schema":{"type":"integer","title":"Partner Id"}},{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/server-plans":{"get":{"tags":["odoo installs"],"summary":"Public Server Plans","operationId":"public_server_plans_api_public_server_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/linked-servers/{server_id}/install-options":{"get":{"tags":["odoo installs"],"summary":"Install Options","operationId":"install_options_api_linked_servers__server_id__install_options_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/linked-servers/{server_id}/check-domain":{"post":{"tags":["odoo installs"],"summary":"Check Domain","operationId":"check_domain_api_linked_servers__server_id__check_domain_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__odoo_install__DomainIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/linked-servers/{server_id}/installs":{"post":{"tags":["odoo installs"],"summary":"Create Install","operationId":"create_install_api_linked_servers__server_id__installs_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/odoo-installs":{"get":{"tags":["odoo installs"],"summary":"List Installs","operationId":"list_installs_api_odoo_installs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/odoo-installs/{install_id}":{"get":{"tags":["odoo installs"],"summary":"Get Install","operationId":"get_install_api_odoo_installs__install_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["odoo installs"],"summary":"Update Install","operationId":"update_install_api_odoo_installs__install_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/odoo-installs/{install_id}/preflight":{"post":{"tags":["odoo installs"],"summary":"Run Preflight","operationId":"run_preflight_api_odoo_installs__install_id__preflight_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/odoo-installs/{install_id}/checkout":{"post":{"tags":["odoo installs"],"summary":"Checkout","operationId":"checkout_api_odoo_installs__install_id__checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InstallCheckoutIn"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/odoo-installs/{install_id}/cancel":{"post":{"tags":["odoo installs"],"summary":"Cancel","operationId":"cancel_api_odoo_installs__install_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/odoo-installs/{install_id}/credentials":{"post":{"tags":["odoo installs"],"summary":"Credentials","operationId":"credentials_api_odoo_installs__install_id__credentials_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/odoo-installs/{install_id}/receipt":{"get":{"tags":["odoo installs"],"summary":"Receipt","operationId":"receipt_api_odoo_installs__install_id__receipt_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/odoo-installs":{"get":{"tags":["odoo installs"],"summary":"All Installs","operationId":"all_installs_api_platform_odoo_installs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/server-plans":{"get":{"tags":["odoo installs"],"summary":"My Server Plans","description":"**Dashboard session only:** personal access tokens are refused.\n\nBilling → Servers: one row per server (its own subscription, or how else it is paid), legacy shared ones. In an\norganization's workspace: its servers.","operationId":"my_server_plans_api_server_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/linked-servers/{server_id}/pro/quote":{"get":{"tags":["odoo installs"],"summary":"Pro Quote","operationId":"pro_quote_api_linked_servers__server_id__pro_quote_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"interval","in":"query","required":false,"schema":{"enum":["month","year"],"type":"string","default":"year","title":"Interval"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/linked-servers/{server_id}/pro":{"post":{"tags":["odoo installs"],"summary":"Upgrade","description":"**Dashboard session only:** personal access tokens are refused.\n\nRenew a lapsed server: a Stripe Checkout of its own subscription.","operationId":"upgrade_api_linked_servers__server_id__pro_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/linked-servers/{server_id}/pro/interval":{"post":{"tags":["odoo installs"],"summary":"Switch Server Interval","operationId":"switch_server_interval_api_linked_servers__server_id__pro_interval_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/linked-servers/{server_id}/pro/cancel":{"post":{"tags":["odoo installs"],"summary":"Cancel Server Plan","operationId":"cancel_server_plan_api_linked_servers__server_id__pro_cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/linked-servers/{server_id}/pro/resume":{"post":{"tags":["odoo installs"],"summary":"Resume Server Plan","operationId":"resume_server_plan_api_linked_servers__server_id__pro_resume_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/server-plans/interval":{"post":{"tags":["odoo installs"],"summary":"Switch Interval","description":"**Dashboard session only:** personal access tokens are refused.\n\nA legacy shared subscription (all its servers): monthly <-> yearly.","operationId":"switch_interval_api_server_plans_interval_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/server-plans":{"get":{"tags":["odoo installs"],"summary":"Plan Settings","operationId":"plan_settings_api_platform_server_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["odoo installs"],"summary":"Save Plan Settings","operationId":"save_plan_settings_api_platform_server_plans_put","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Data"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/server-plans/grants":{"put":{"tags":["odoo installs"],"summary":"Save Grant","operationId":"save_grant_api_platform_server_plans_grants_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/summary":{"get":{"tags":["client portal"],"summary":"Summary","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe sidebar's \"My Odoo\" entry (loaded after sign-in): invitations to this account's email attach here.","operationId":"summary_api_portal_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/portal/invites/accept":{"post":{"tags":["client portal"],"summary":"Accept Invite","operationId":"accept_invite_api_portal_invites_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/instances":{"get":{"tags":["client portal"],"summary":"My Instances","operationId":"my_instances_api_portal_instances_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/instances/{instance_id}":{"get":{"tags":["client portal"],"summary":"My Instance","operationId":"my_instance_api_portal_instances__instance_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/instances/{instance_id}/backups":{"get":{"tags":["client portal"],"summary":"My Backups","operationId":"my_backups_api_portal_instances__instance_id__backups_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/instances/{instance_id}/backups/{database}/{filename}":{"get":{"tags":["client portal"],"summary":"Download Backup","description":"**Dashboard session only:** personal access tokens are refused.\n\nA client admin downloads a backup of one of their databases (linked.backup_file keeps the path inside the\nserver's backup folder).","operationId":"download_backup_api_portal_instances__instance_id__backups__database___filename__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"database","in":"path","required":true,"schema":{"type":"string","title":"Database"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/portal/instances/{instance_id}/restart":{"post":{"tags":["client portal"],"summary":"Restart","description":"**Dashboard session only:** personal access tokens are refused.\n\nRestart now when the assignment allows it, else an urgent request a platform admin approves.","operationId":"restart_api_portal_instances__instance_id__restart_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/portal/instances/{instance_id}/reports":{"get":{"tags":["client portal"],"summary":"My Reports","operationId":"my_reports_api_portal_instances__instance_id__reports_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["client portal"],"summary":"Refresh Report","description":"**Dashboard session only:** personal access tokens are refused.\n\nA client admin's month-to-date report, on demand (not emailed).","operationId":"refresh_report_api_portal_instances__instance_id__reports_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/portal/instances/{instance_id}/reports/{period}":{"get":{"tags":["client portal"],"summary":"My Report","operationId":"my_report_api_portal_instances__instance_id__reports__period__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"period","in":"path","required":true,"schema":{"type":"string","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/instances/{instance_id}/people":{"get":{"tags":["client portal"],"summary":"People","operationId":"people_api_portal_instances__instance_id__people_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["client portal"],"summary":"Invite Person","description":"**Dashboard session only:** personal access tokens are refused.\n\nA client admin invites someone by email, to at most their own databases (always an invitation, whether an\naccount exists or not: the answer doesn't tell).","operationId":"invite_person_api_portal_instances__instance_id__people_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/portal/instances/{instance_id}/people/{access_id}":{"delete":{"tags":["client portal"],"summary":"Remove Person","operationId":"remove_person_api_portal_instances__instance_id__people__access_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"access_id","in":"path","required":true,"schema":{"type":"integer","title":"Access Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/requests":{"get":{"tags":["client portal"],"summary":"My Requests","operationId":"my_requests_api_portal_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["client portal"],"summary":"Open Request","operationId":"open_request_api_portal_requests_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/requests/{request_id}":{"get":{"tags":["client portal"],"summary":"My Request","operationId":"my_request_api_portal_requests__request_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/requests/{request_id}/messages":{"post":{"tags":["client portal"],"summary":"Reply","operationId":"reply_api_portal_requests__request_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/offers/{offer_id}/checkout":{"post":{"tags":["client portal"],"summary":"Offer Checkout","operationId":"offer_checkout_api_portal_offers__offer_id__checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"integer","title":"Offer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__portal__CheckoutIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/portal/billing-portal":{"post":{"tags":["client portal"],"summary":"Billing Portal","description":"**Dashboard session only:** personal access tokens are refused.\n\nStripe's Billing Portal (invoices, payment method, cancelling) for a client paying a support plan.","operationId":"billing_portal_api_portal_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/linked-instances/{instance_id}/clients":{"get":{"tags":["client portal"],"summary":"Clients","operationId":"clients_api_platform_linked_instances__instance_id__clients_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["client portal"],"summary":"Add Client","description":"**Dashboard session only:** personal access tokens are refused.\n\nAn existing account (by email or GitHub username) gets access at once; an unknown email gets an invitation\n(one-time link by email); an unknown GitHub username gets the account claimed at its first GitHub sign-in.","operationId":"add_client_api_platform_linked_instances__instance_id__clients_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__portal__ClientIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-instances/{instance_id}/clients/{access_id}":{"patch":{"tags":["client portal"],"summary":"Update Client","operationId":"update_client_api_platform_linked_instances__instance_id__clients__access_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"access_id","in":"path","required":true,"schema":{"type":"integer","title":"Access Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["client portal"],"summary":"Remove Client","operationId":"remove_client_api_platform_linked_instances__instance_id__clients__access_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"access_id","in":"path","required":true,"schema":{"type":"integer","title":"Access Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-instances/{instance_id}/clients/{access_id}/resend":{"post":{"tags":["client portal"],"summary":"Resend Invite","description":"**Dashboard session only:** personal access tokens are refused.\n\nA fresh invitation link (the previous one stops working).","operationId":"resend_invite_api_platform_linked_instances__instance_id__clients__access_id__resend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"access_id","in":"path","required":true,"schema":{"type":"integer","title":"Access Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/support/summary":{"get":{"tags":["support"],"summary":"Summary","operationId":"summary_api_support_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/support/requests":{"get":{"tags":["support"],"summary":"Inbox","description":"**Dashboard session only:** personal access tokens are refused.\n\nstatus: open (not resolved, the default) | all | new | in_progress | waiting | resolved.","operationId":"inbox_api_support_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"open","title":"Status"}},{"name":"priority","in":"query","required":false,"schema":{"type":"string","default":"","title":"Priority"}},{"name":"instance_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Instance Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/support/requests/{request_id}":{"get":{"tags":["support"],"summary":"Get Request","operationId":"get_request_api_support_requests__request_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"patch":{"tags":["support"],"summary":"Update Request","operationId":"update_request_api_support_requests__request_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/support/requests/{request_id}/messages":{"post":{"tags":["support"],"summary":"Reply","operationId":"reply_api_support_requests__request_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__support__ReplyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/support/requests/{request_id}/approve":{"post":{"tags":["support"],"summary":"Approve","description":"**Dashboard session only:** personal access tokens are refused.\n\nOne click: the restart the client asked for runs now.","operationId":"approve_api_support_requests__request_id__approve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/support/requests/{request_id}/decline":{"post":{"tags":["support"],"summary":"Decline","operationId":"decline_api_support_requests__request_id__decline_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/support/plans":{"get":{"tags":["support"],"summary":"Plans","operationId":"plans_api_support_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["support"],"summary":"Save Plans","operationId":"save_plans_api_support_plans_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlansIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["support"],"summary":"Reset Plans","operationId":"reset_plans_api_support_plans_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/support/offers":{"post":{"tags":["support"],"summary":"Send Offer","description":"**Dashboard session only:** personal access tokens are refused.\n\n\"Send plan offer\": the client admin sees \"Choose your support plan\" in My Odoo and gets an email.","operationId":"send_offer_api_support_offers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/support/offers/{offer_id}":{"delete":{"tags":["support"],"summary":"Withdraw Offer","operationId":"withdraw_offer_api_support_offers__offer_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"integer","title":"Offer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/support/subscriptions":{"get":{"tags":["support"],"summary":"Subscriptions","operationId":"subscriptions_api_support_subscriptions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/support/instances/{instance_id}/reports":{"get":{"tags":["support"],"summary":"Reports","operationId":"reports_api_support_instances__instance_id__reports_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["support"],"summary":"Make Report","description":"**Dashboard session only:** personal access tokens are refused.\n\nA report on demand (the current month to date, or a past month), emailed to the client admins if asked.","operationId":"make_report_api_support_instances__instance_id__reports_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/auth/status":{"get":{"tags":["auth"],"summary":"Status","operationId":"status_api_auth_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_api_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/auth/verify-email":{"post":{"tags":["auth"],"summary":"Verify Email","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe link emailed to an account made through an invitation sign-up (services/emailverify.py).","operationId":"verify_email_api_auth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/auth/verify-email/resend":{"post":{"tags":["auth"],"summary":"Resend Verification","description":"**Dashboard session only:** personal access tokens are refused.\n\nA new verification link for the signed-in account (at most one a minute).","operationId":"resend_verification_api_auth_verify_email_resend_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/auth/login":{"post":{"tags":["auth"],"summary":"Login","description":"**Dashboard session only:** personal access tokens are refused.\n\nA session, or {\"two_factor_required\": true, \"ticket\"} when the account has two-factor on: the ticket and a\ncode then go to POST /auth/2fa.","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","description":"**Dashboard session only:** personal access tokens are refused.\n\nSign-out: the dashboard forgets its token; this records it in the audit trail.","operationId":"logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/auth/2fa":{"post":{"tags":["auth"],"summary":"Login Second Factor","description":"**Dashboard session only:** personal access tokens are refused.\n\nSecond step of a password sign-in: the ticket from /auth/login and a code from the authenticator app, or one\nof the recovery codes (then used up). 5 wrong codes per ticket, and a per-account lockout (services/twofactor).","operationId":"login_second_factor_api_auth_2fa_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwoFactorLoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/users":{"get":{"tags":["auth"],"summary":"List Users","description":"**Dashboard session only:** personal access tokens are refused.\n\nEvery account, suspended and removed ones included (account_status, services/useradmin.py).","operationId":"list_users_api_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminUserOut"},"type":"array","title":"Response List Users Api Users Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null},"post":{"tags":["auth"],"summary":"Create User","operationId":"create_user_api_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/auth/google/link":{"post":{"tags":["auth"],"summary":"Google Link Start","description":"**Dashboard session only:** personal access tokens are refused.\n\n{\"url\"}: Google's account chooser, to connect a Google account to this one. Needs a sign-in from the last 30\nminutes and, with two-factor on, a current code (a stolen session must not add a way in).","operationId":"google_link_start_api_auth_google_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__google_auth__LinkIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/auth/google":{"delete":{"tags":["auth"],"summary":"Google Unlink","description":"**Dashboard session only:** personal access tokens are refused.\n\nDisconnect Google. Never the last way to sign in (a password or GitHub must remain).","operationId":"google_unlink_api_auth_google_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/google-signin":{"get":{"tags":["auth"],"summary":"Google Settings","operationId":"google_settings_api_platform_google_signin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["auth"],"summary":"Save Google Settings","operationId":"save_google_settings_api_platform_google_signin_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleSettingsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/contact":{"post":{"tags":["contact"],"summary":"Send Message","operationId":"send_message_api_public_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/contact-messages":{"get":{"tags":["contact"],"summary":"List Messages","operationId":"list_messages_api_platform_contact_messages_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/contact-messages/{message_id}":{"patch":{"tags":["contact"],"summary":"Mark Handled","operationId":"mark_handled_api_platform_contact_messages__message_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","title":"Message Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandledIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["contact"],"summary":"Delete Message","operationId":"delete_message_api_platform_contact_messages__message_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/hooks":{"get":{"tags":["hooks"],"summary":"List Hooks","operationId":"list_hooks_api_platform_hooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/HookOut"},"type":"array","title":"Response List Hooks Api Platform Hooks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["hooks"],"summary":"Create Hook","operationId":"create_hook_api_platform_hooks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/hooks/{hook_id}":{"patch":{"tags":["hooks"],"summary":"Update Hook","operationId":"update_hook_api_platform_hooks__hook_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"hook_id","in":"path","required":true,"schema":{"type":"integer","title":"Hook Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["hooks"],"summary":"Delete Hook","operationId":"delete_hook_api_platform_hooks__hook_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"hook_id","in":"path","required":true,"schema":{"type":"integer","title":"Hook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/hooks/{hook_id}/test":{"post":{"tags":["hooks"],"summary":"Test Hook","operationId":"test_hook_api_platform_hooks__hook_id__test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"hook_id","in":"path","required":true,"schema":{"type":"integer","title":"Hook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/2fa":{"get":{"tags":["two-factor"],"summary":"Status","operationId":"status_api_me_2fa_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/2fa/start":{"post":{"tags":["two-factor"],"summary":"Start","description":"**Dashboard session only:** personal access tokens are refused.\n\nA new secret to scan (replaces an unconfirmed one). The otpauth:// URI is turned into a QR code by the\ndashboard itself: the secret never goes to another service.","operationId":"start_api_me_2fa_start_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/me/2fa/enable":{"post":{"tags":["two-factor"],"summary":"Enable","description":"**Dashboard session only:** personal access tokens are refused.\n\nConfirm the scanned secret with a first code: two-factor is on and the recovery codes are shown, once. A\nsetup-token session (two-factor required by the platform) gets its login token here.","operationId":"enable_api_me_2fa_enable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__twofactor__CodeIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/me/2fa/recovery-codes":{"post":{"tags":["two-factor"],"summary":"Regenerate","description":"**Dashboard session only:** personal access tokens are refused.\n\nNew recovery codes (the old ones stop working), confirmed with a current authenticator code.","operationId":"regenerate_api_me_2fa_recovery_codes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__twofactor__CodeIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/me/2fa/disable":{"post":{"tags":["two-factor"],"summary":"Disable","description":"**Dashboard session only:** personal access tokens are refused.\n\nTurn two-factor off: needs the current password and a code (or a recovery code).","operationId":"disable_api_me_2fa_disable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisableIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/users/{user_id}/2fa/reset":{"post":{"tags":["two-factor"],"summary":"Admin Reset","description":"**Dashboard session only:** personal access tokens are refused.\n\nFor someone who lost their authenticator app and recovery codes: two-factor off (they set it up again at\ntheir next sign-in when the platform requires it). Audit-logged, and the account owner gets an email.","operationId":"admin_reset_api_users__user_id__2fa_reset_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/security":{"get":{"tags":["two-factor"],"summary":"Security Settings","operationId":"security_settings_api_platform_security_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["two-factor"],"summary":"Save Security Settings","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhen required, password sign-ins of accounts without two-factor must set it up before reaching the dashboard\n(from their next sign-in; sessions already open are not cut).","operationId":"save_security_settings_api_platform_security_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/me/notifications":{"get":{"tags":["me"],"summary":"Notifications","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe bell: the latest 50 and the unread count; project_id: only that project's (a Projects page card's bell).","operationId":"notifications_api_me_notifications_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/me/pulse":{"get":{"tags":["me"],"summary":"Pulse","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhat the dashboard polls (every 10 s while the tab is visible): unread bell items, the newest notification\n(the toast, sound and desktop notification when it grows: `since` returns the newer ones, up to 5), support\nrequest counts and the requests with unread messages. A few COUNT queries.","operationId":"pulse_api_me_pulse_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/me/notification-prefs":{"get":{"tags":["me"],"summary":"Get Prefs","operationId":"get_prefs_api_me_notification_prefs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["me"],"summary":"Put Prefs","operationId":"put_prefs_api_me_notification_prefs_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__me__PrefsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/onboarding":{"get":{"tags":["me"],"summary":"Get Onboarding","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe path chosen on the Projects page's first-run welcome (services/onboarding.py).","operationId":"get_onboarding_api_me_onboarding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null},"put":{"tags":["me"],"summary":"Put Onboarding","operationId":"put_onboarding_api_me_onboarding_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/notifications/read":{"post":{"tags":["me"],"summary":"Mark Read","description":"**Dashboard session only:** personal access tokens are refused.\n\nEverything read; project_id: only that project's notifications (a card's bell).","operationId":"mark_read_api_me_notifications_read_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/me/notifications/{notification_id}/read":{"post":{"tags":["me"],"summary":"Mark One Read","operationId":"mark_one_read_api_me_notifications__notification_id__read_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"integer","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/ssh-keys":{"get":{"tags":["me"],"summary":"List Keys","operationId":"list_keys_api_me_ssh_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["me"],"summary":"Add Key","operationId":"add_key_api_me_ssh_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/ssh-keys/{key_id}":{"delete":{"tags":["me"],"summary":"Delete Key","operationId":"delete_key_api_me_ssh_keys__key_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/pricing":{"get":{"tags":["billing"],"summary":"Public Pricing","description":"**Dashboard session only:** personal access tokens are refused.\n\nPrices for the public pricing page (no sign-in), with each region's (docs/multi-server-design.md).","operationId":"public_pricing_api_public_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null}},"/api/regions":{"get":{"tags":["servers"],"summary":"Regions","description":"**Dashboard session only:** personal access tokens are refused.\n\nRegions a project can be created in: key, label, whether a server has room, default, price multiplier.","operationId":"regions_api_regions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null}},"/api/public/status":{"get":{"tags":["status"],"summary":"Public Status","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe platform's health for the public /status page: aggregates only, never a client's name or address.","operationId":"public_status_api_public_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/move":{"get":{"tags":["moves"],"summary":"Overview","operationId":"overview_api_projects__project_id__move_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["moves"],"summary":"Start Move","operationId":"start_move_api_projects__project_id__move_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/move/plan":{"post":{"tags":["moves"],"summary":"Plan","operationId":"plan_api_projects__project_id__move_plan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__moves__PlanIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/moves/{move_id}":{"get":{"tags":["moves"],"summary":"Get Move","operationId":"get_move_api_projects__project_id__moves__move_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"move_id","in":"path","required":true,"schema":{"type":"integer","title":"Move Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/moves/{move_id}/cancel":{"post":{"tags":["moves"],"summary":"Cancel Move","operationId":"cancel_move_api_projects__project_id__moves__move_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"move_id","in":"path","required":true,"schema":{"type":"integer","title":"Move Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/moves/{move_id}/cleanup":{"post":{"tags":["moves"],"summary":"Cleanup Now","description":"**Dashboard session only:** personal access tokens are refused.\n\nDelete the source's data now instead of at the end of the keep period.","operationId":"cleanup_now_api_projects__project_id__moves__move_id__cleanup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"move_id","in":"path","required":true,"schema":{"type":"integer","title":"Move Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanupIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/servers/{server_id}/projects":{"get":{"tags":["moves"],"summary":"Server Projects","operationId":"server_projects_api_platform_servers__server_id__projects_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/billing/checkout":{"post":{"tags":["billing"],"summary":"Checkout","description":"**Dashboard session only:** personal access tokens are refused.\n\nA Stripe Checkout page for these quantities. Prices come from the platform's price list, never the client.\nIn an organization's workspace (billing roles): paid by the organization's Stripe customer, the plan its own.","operationId":"checkout_api_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__billing__CheckoutIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/billing/trial":{"get":{"tags":["billing"],"summary":"Trial Eligibility","description":"**Dashboard session only:** personal access tokens are refused.\n\nWould a checkout of this plan start with a free trial, and if not, why (the Checkout and pricing pages). In an\norganization's workspace: one trial per organization and per person (services/plantrials.used_reason).","operationId":"trial_eligibility_api_billing_trial_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"workers","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Workers"}},{"name":"storage_gb","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Storage Gb"}},{"name":"staging","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Staging"}},{"name":"region","in":"query","required":false,"schema":{"type":"string","default":"","title":"Region"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/billing/checkout/{session_id}":{"get":{"tags":["billing"],"summary":"Checkout Status","description":"**Dashboard session only:** personal access tokens are refused.\n\nAfter Stripe sends the customer back: is the subscription in our database yet (the webhook creates it)?","operationId":"checkout_status_api_billing_checkout__session_id__get","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"}}}}},"x-access-token-scope":null}},"/api/billing/subscriptions":{"get":{"tags":["billing"],"summary":"My Subscriptions","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe workspace's hosting plans: personal (the user's own, not moved into an organization) or an\norganization's (its billing roles).","operationId":"my_subscriptions_api_billing_subscriptions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/billing/portal":{"post":{"tags":["billing"],"summary":"Billing Portal","description":"**Dashboard session only:** personal access tokens are refused.\n\nStripe's Billing Portal: invoices, payment method, cancelling (an organization's own customer in its\nworkspace).","operationId":"billing_portal_api_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/billing/subscriptions/{subscription_id}/change":{"post":{"tags":["billing"],"summary":"Change Plan","operationId":"change_plan_api_billing_subscriptions__subscription_id__change_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"integer","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/billing/subscriptions/{subscription_id}/link":{"post":{"tags":["billing"],"summary":"Link Project","description":"**Dashboard session only:** personal access tokens are refused.\n\nUse an unused, active subscription for an existing project of this user whose own subscription ended.","operationId":"link_project_api_billing_subscriptions__subscription_id__link_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"integer","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__billing__LinkIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/billing/projects":{"get":{"tags":["billing"],"summary":"Renewable Projects","description":"**Dashboard session only:** personal access tokens are refused.\n\nProjects the user administers whose subscription ended (they can be linked to a new subscription). In an\norganization's workspace: its projects.","operationId":"renewable_projects_api_billing_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/billing/admin/subscriptions":{"get":{"tags":["billing"],"summary":"All Subscriptions","operationId":"all_subscriptions_api_billing_admin_subscriptions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/billing/admin/subscriptions/{subscription_id}":{"put":{"tags":["billing"],"summary":"Admin Link","description":"**Dashboard session only:** personal access tokens are refused.\n\nLink a subscription to a project or unlink it (an unlinked project has no plan limits nor build stop).","operationId":"admin_link_api_billing_admin_subscriptions__subscription_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"integer","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLinkIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/stripe":{"get":{"tags":["billing"],"summary":"Stripe Settings","operationId":"stripe_settings_api_platform_stripe_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["billing"],"summary":"Save Stripe Settings","operationId":"save_stripe_settings_api_platform_stripe_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/stripe/test":{"post":{"tags":["billing"],"summary":"Test Stripe","description":"**Dashboard session only:** personal access tokens are refused.\n\nRead the Stripe account with the key, and look for this platform's webhook endpoint.","operationId":"test_stripe_api_platform_stripe_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeTestIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/pricing":{"put":{"tags":["billing"],"summary":"Save Pricing","operationId":"save_pricing_api_platform_pricing_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__billing__PricingIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["billing"],"summary":"Reset Pricing","operationId":"reset_pricing_api_platform_pricing_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/plan-trials":{"get":{"tags":["billing"],"summary":"Trial Settings","operationId":"trial_settings_api_platform_plan_trials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["billing"],"summary":"Save Trial Settings","operationId":"save_trial_settings_api_platform_plan_trials_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialSettingsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects":{"get":{"tags":["projects"],"summary":"List Projects","operationId":"list_projects_api_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProjectOut"},"type":"array","title":"Response List Projects Api Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."},"post":{"tags":["projects"],"summary":"Create Project","operationId":"create_project_api_projects_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/github/repos":{"get":{"tags":["projects","github"],"summary":"Github Repos","description":"**Dashboard session only:** personal access tokens are refused.\n\nRepositories the logged-in user can push to, for the new-project picker.","operationId":"github_repos_api_projects_github_repos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/projects/github/users":{"get":{"tags":["projects","github"],"summary":"Github Users","description":"**Dashboard session only:** personal access tokens are refused.\n\nLive suggestions for the collaborator field: people already on the platform first, then GitHub accounts\n(GitHub's user search, through the signed-in user's own token; 60 s cache to stay within its rate limit).","operationId":"github_users_api_projects_github_users_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/webhook":{"post":{"tags":["projects"],"summary":"Reinstall Webhook","operationId":"reinstall_webhook_api_projects__project_id__webhook_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/git-check":{"post":{"tags":["projects"],"summary":"Git Check","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\n\"Check now\": compare the GitHub branches with the platform like the periodic check does (missed webhooks).","operationId":"git_check_api_projects__project_id__git_check_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}":{"get":{"tags":["projects"],"summary":"Read Project","operationId":"read_project_api_projects__project_id__get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."},"patch":{"tags":["projects"],"summary":"Update Project","operationId":"update_project_api_projects__project_id__patch","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."},"delete":{"tags":["projects"],"summary":"Delete Project","description":"**Dashboard session only:** personal access tokens are refused.\n\nDelete a project (platform admins). A final production backup is taken first and kept, with every backup the\nproject had, in data/backups/_deleted/ for KV_DELETED_RETENTION_DAYS (services/deletedprojects.py). If it can't\nbe taken or stored, nothing is deleted (409, or 507 for disk space) unless force=true.","operationId":"delete_project_api_projects__project_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/sync":{"post":{"tags":["projects"],"summary":"Sync Branches","operationId":"sync_branches_api_projects__project_id__sync_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`)."}},"/api/projects/{project_id}/members":{"get":{"tags":["projects"],"summary":"List Members","operationId":"list_members_api_projects__project_id__members_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemberOut"},"title":"Response List Members Api Projects  Project Id  Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."},"post":{"tags":["projects"],"summary":"Add Member","description":"**Dashboard session only:** personal access tokens are refused.\n\nAdd a collaborator by GitHub username (like Odoo.sh) or by email.","operationId":"add_member_api_projects__project_id__members_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__MemberIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/members/{user_id}":{"delete":{"tags":["projects"],"summary":"Remove Member","operationId":"remove_member_api_projects__project_id__members__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/audit":{"get":{"tags":["projects"],"summary":"Audit Logs","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nProject activity, newest first, for project admins. Filters: q (search), actor (user id or name), action,\nstage (production | staging | development | project), since / until (YYYY-MM-DD, UTC). fmt=csv or fmt=export\n(JSON) downloads the matching entries (at most a year when no date range is given): CSV cells are neutralized\nagainst spreadsheet formula injection.","operationId":"audit_logs_api_projects__project_id__audit_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Per Page"}},{"name":"fmt","in":"query","required":false,"schema":{"type":"string","default":"json","title":"Fmt"}},{"name":"actor","in":"query","required":false,"schema":{"type":"string","default":"","title":"Actor"}},{"name":"action","in":"query","required":false,"schema":{"type":"string","default":"","title":"Action"}},{"name":"stage","in":"query","required":false,"schema":{"type":"string","default":"","title":"Stage"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","default":"","title":"Until"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/status":{"get":{"tags":["projects"],"summary":"Status","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nAvailability of the servers this project uses, from the platform's one-minute checks.","operationId":"status_api_projects__project_id__status_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/projects/{project_id}/incidents":{"get":{"tags":["projects"],"summary":"Incidents","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nRecent production downtime (services/incidents.py), newest first; ongoing ones have ended_at null.","operationId":"incidents_api_projects__project_id__incidents_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"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"}}}}},"x-access-token-scope":"read"}},"/api/projects/{project_id}/downtime-alerts":{"get":{"tags":["projects"],"summary":"Get Downtime Alerts","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nWhether the current user is alerted (bell + email) when production goes down.","operationId":"get_downtime_alerts_api_projects__project_id__downtime_alerts_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"},"put":{"tags":["projects"],"summary":"Set Downtime Alerts","operationId":"set_downtime_alerts_api_projects__project_id__downtime_alerts_put","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowntimeAlertsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/size":{"get":{"tags":["projects"],"summary":"Production Size","operationId":"production_size_api_projects__project_id__size_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."}},"/api/projects/{project_id}/submodule-keys":{"get":{"tags":["repository"],"summary":"List Submodule Keys","operationId":"list_submodule_keys_api_projects__project_id__submodule_keys_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubmoduleKeyOut"},"title":"Response List Submodule Keys Api Projects  Project Id  Submodule Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["repository"],"summary":"Add Submodule Key","description":"**Dashboard session only:** personal access tokens are refused.\n\nGenerate an ed25519 key pair for one private submodule. Its public key goes on that repository as a deploy key.","operationId":"add_submodule_key_api_projects__project_id__submodule_keys_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmoduleKeyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmoduleKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/submodule-keys/{key_id}":{"delete":{"tags":["repository"],"summary":"Delete Submodule Key","operationId":"delete_submodule_key_api_projects__project_id__submodule_keys__key_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/status-token/test":{"post":{"tags":["repository"],"summary":"Test Status Token","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nPost a `ci/knovash (test)` status on the head of the default branch with the commit-status token.","operationId":"test_status_token_api_projects__project_id__status_token_test_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/verify-access":{"post":{"tags":["repository"],"summary":"Verify Access","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\n`git ls-remote` the repository and every submodule (from .gitmodules on the default branch, plus the\nrepositories that have a deploy key), reached exactly the way builds reach them.","operationId":"verify_access_api_projects__project_id__verify_access_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/branches":{"get":{"tags":["branches"],"summary":"List Branches","operationId":"list_branches_api_projects__project_id__branches_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BranchOut"},"title":"Response List Branches Api Projects  Project Id  Branches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."},"post":{"tags":["branches"],"summary":"Fork Branch","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`).\n\nNew development branch: forks an existing branch on GitHub (Odoo.sh \"Fork\").","operationId":"fork_branch_api_projects__project_id__branches_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write"}},"/api/branches/{branch_id}":{"patch":{"tags":["branches"],"summary":"Update Branch","operationId":"update_branch_api_branches__branch_id__patch","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."},"delete":{"tags":["branches"],"summary":"Delete Branch","operationId":"delete_branch_api_branches__branch_id__delete","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}},{"name":"on_github","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"On Github"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/branches/{branch_id}/merge":{"post":{"tags":["branches"],"summary":"Merge Branch","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nDrag & drop merge: merges this branch into another on GitHub; the push then triggers the target's build.","operationId":"merge_branch_api_branches__branch_id__merge_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/branches/{branch_id}/submodule":{"post":{"tags":["branches"],"summary":"Add Submodule","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nOdoo.sh Submodule \"Run\": commits `git submodule add -b <branch> <url> <path>` on this branch through GitHub.","operationId":"add_submodule_api_branches__branch_id__submodule_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmoduleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/branches/{branch_id}/build":{"post":{"tags":["branches"],"summary":"Trigger Build","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`).\n\nRebuild: a new build on the branch's latest revision (fresh database for dev/staging).","operationId":"trigger_build_api_branches__branch_id__build_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write"}},"/api/branches/{branch_id}/builds":{"get":{"tags":["branches"],"summary":"List Builds","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nOdoo.sh order: the build serving the branch (the production database) first, then newest first.","operationId":"list_builds_api_branches__branch_id__builds_get","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BuildOut"},"title":"Response List Builds Api Branches  Branch Id  Builds Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/branches/{branch_id}/revisions":{"get":{"tags":["branches"],"summary":"List Revisions","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nOdoo.sh Settings → Revision: \"Latest\" or one of the exact Odoo images the branch's last builds used.","operationId":"list_revisions_api_branches__branch_id__revisions_get","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/branches/{branch_id}/events":{"get":{"tags":["branches"],"summary":"List Events","operationId":"list_events_api_branches__branch_id__events_get","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventOut"},"title":"Response List Events Api Branches  Branch Id  Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."}},"/api/branches/{branch_id}/mails":{"get":{"tags":["branches"],"summary":"List Mails","operationId":"list_mails_api_branches__branch_id__mails_get","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MailOut"},"title":"Response List Mails Api Branches  Branch Id  Mails Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/mails/{mail_id}":{"get":{"tags":["branches"],"summary":"Read Mail","operationId":"read_mail_api_mails__mail_id__get","security":[{"AccessToken":[]}],"parameters":[{"name":"mail_id","in":"path","required":true,"schema":{"type":"integer","title":"Mail Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/builds/{build_id}":{"get":{"tags":["branches"],"summary":"Read Build","operationId":"read_build_api_builds__build_id__get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."}},"/api/builds/{build_id}/logs":{"get":{"tags":["branches"],"summary":"Build Log Files","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nLog files of a build: build.log, per-phase files, shell/editor logs, pg_slow_queries.log, and odoo.log (the\nlive server log while running; afterwards the copy kept in the file volume, ~/logs/odoo.log in the build).","operationId":"build_log_files_api_builds__build_id__logs_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/builds/{build_id}/log":{"get":{"tags":["branches"],"summary":"Build Log","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nServer-sent events: a log file of the build (default: the full build log), followed live.","operationId":"build_log_api_builds__build_id__log_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"file","in":"query","required":false,"schema":{"type":"string","default":"","title":"File"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/builds/{build_id}/server-log":{"get":{"tags":["branches"],"summary":"Server Log","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nServer-sent events: the running Odoo server's own log (odoo.log), followed live from `docker logs`. Once the\ncontainer is gone, the copy kept in the file volume (~/logs/odoo.log of the build) is shown instead.","operationId":"server_log_api_builds__build_id__server_log_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/builds/{build_id}/users":{"get":{"tags":["tools"],"summary":"Build Users","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nUsers of the build's database, for \"Connect as\".","operationId":"build_users_api_builds__build_id__users_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/connect":{"post":{"tags":["tools"],"summary":"Connect","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nA one-minute signed link that logs the browser into the build as `login` (default: the administrator).","operationId":"connect_api_builds__build_id__connect_post","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"login","in":"query","required":false,"schema":{"type":"string","default":"admin","title":"Login"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/metrics":{"get":{"tags":["tools"],"summary":"Metrics","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nRaw samples of one build (kept for API clients; the Monitor tab uses /monitor). Rows older than 48 h are\nhourly roll-ups (period=3600) whose request counters are sums over the hour.","operationId":"metrics_api_builds__build_id__metrics_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","default":24,"title":"Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/builds/{build_id}/monitor":{"get":{"tags":["tools"],"summary":"Monitor Series","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nMonitor tab: system, HTTP, storage and mail series of the build's branch over [from, to] (ISO 8601, UTC\nwhen no offset; default the last 6 hours), with build/event annotations and the aggregation boundary.","operationId":"monitor_series_api_builds__build_id__monitor_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/branches/{branch_id}/import":{"post":{"tags":["tools"],"summary":"Import Database","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nImport an Odoo backup (.zip with dump.sql + filestore, as made by the database manager) into a branch. Like the\nchunked import, it queues an import build (the branch needs no running build) and returns its id.\n\nSingle-request upload, kept for API clients; the dashboard uses the chunked, resumable /imports endpoints.","operationId":"import_database_api_branches__branch_id__import_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_database_api_branches__branch_id__import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/files":{"get":{"tags":["tools"],"summary":"List Files","description":"**Dashboard session only:** personal access tokens are refused.\n\nA folder of the repository, or of the read-only Odoo.sh home (\"~\", \"~/src/odoo/…\", \"~/logs\"…).","operationId":"list_files_api_builds__build_id__files_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"path","in":"query","required":false,"schema":{"type":"string","default":"","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builds/{build_id}/file":{"get":{"tags":["tools"],"summary":"Get File","operationId":"get_file_api_builds__build_id__file_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["tools"],"summary":"Put File","description":"**Dashboard session only:** personal access tokens are refused.\n\nSave a file into the running build (like the Odoo.sh editor: lost on the next build unless committed).","operationId":"put_file_api_builds__build_id__file_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builds/{build_id}/restart":{"post":{"tags":["tools"],"summary":"Restart Build","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nRestart Odoo in place (`odoosh-restart http`, as in the shell): open shells and consoles stay connected.","operationId":"restart_build_api_builds__build_id__restart_post","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/update-module":{"post":{"tags":["tools"],"summary":"Update Module","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\n`odoo -u <module>` on the build's database, then restart the server (Odoo.sh \"Update current module\").","operationId":"update_module_api_builds__build_id__update_module_post","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModuleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/commit":{"post":{"tags":["tools"],"summary":"Commit Files","description":"**Dashboard session only:** personal access tokens are refused.\n\nCommit files edited in the build to its GitHub branch (one commit per file through the GitHub API).","operationId":"commit_files_api_builds__build_id__commit_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builds/{build_id}/search":{"get":{"tags":["tools"],"summary":"Search Files","description":"**Dashboard session only:** personal access tokens are refused.\n\nSearch across the repository files of the build (`grep -rIn` as odoo inside the container), 200 hits at most.","operationId":"search_files_api_builds__build_id__search_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":200,"title":"Q"}},{"name":"path","in":"query","required":false,"schema":{"type":"string","default":"","title":"Path"}},{"name":"case","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Case"}},{"name":"regex","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Regex"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builds/{build_id}/changes":{"get":{"tags":["tools"],"summary":"Editor Changes","description":"**Dashboard session only:** personal access tokens are refused.\n\nA `git status` of the editor: files saved in this build (editor log + `paths` from the browser session)\ncompared with the same files on the GitHub branch.","operationId":"editor_changes_api_builds__build_id__changes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"paths","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Paths"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builds/{build_id}/filelist":{"get":{"tags":["tools"],"summary":"File List","description":"**Dashboard session only:** personal access tokens are refused.\n\nEvery file of the repository (relative paths, `find -type f` as odoo, 5000 at most) for the editor's quick open.\n.git, __pycache__ and node_modules are skipped.","operationId":"file_list_api_builds__build_id__filelist_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builds/{build_id}/git":{"get":{"tags":["tools"],"summary":"Git Info","description":"**Dashboard session only:** personal access tokens are refused.\n\nRead-only git in the build's checkout, run as odoo: cmd=status is `git status --porcelain`, cmd=diff returns\none file at HEAD and in the build (the editor shows them side by side). available=false when the build has no\n.git yet (builds made before git was kept in the image).","operationId":"git_info_api_builds__build_id__git_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"cmd","in":"query","required":true,"schema":{"type":"string","pattern":"^(status|diff)$","title":"Cmd"}},{"name":"path","in":"query","required":false,"schema":{"type":"string","default":"","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builds/{build_id}/profile/start":{"post":{"tags":["profiler"],"summary":"Start Profile","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nRecord every Odoo process of the build for `duration_s` seconds (at most 5 minutes).","operationId":"start_profile_api_builds__build_id__profile_start_post","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/profile/stop":{"post":{"tags":["profiler"],"summary":"Stop Profile","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nStop the current recording early; what was sampled so far is kept.","operationId":"stop_profile_api_builds__build_id__profile_stop_post","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/profiles":{"get":{"tags":["profiler"],"summary":"List Profiles","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nRecordings of the build's branch (they outlive the build they were taken on), newest first.","operationId":"list_profiles_api_builds__build_id__profiles_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/profiles/{profile_id}":{"get":{"tags":["profiler"],"summary":"Get Profile","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nThe speedscope JSON. Accepts ?token= (current_user) so a viewer can load it without headers.","operationId":"get_profile_api_profiles__profile_id__get","security":[{"AccessToken":[]}],"parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"},"delete":{"tags":["profiler"],"summary":"Delete Profile","operationId":"delete_profile_api_profiles__profile_id__delete","security":[{"AccessToken":[]}],"parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/backups":{"get":{"tags":["backups"],"summary":"List Backups","operationId":"list_backups_api_projects__project_id__backups_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BackupOut"},"title":"Response List Backups Api Projects  Project Id  Backups Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."},"post":{"tags":["backups"],"summary":"Create Backup","description":"**Personal access token:** accepted with the `backups:write` scope (or `admin`).\n\nManual backup of production (default) or of a staging branch. Kept 3 days, at most 5 per day (Odoo.sh).","operationId":"create_backup_api_projects__project_id__backups_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"branch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"backups:write"}},"/api/backups/{backup_id}/contents":{"get":{"tags":["backups"],"summary":"Backup Contents","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nWhat's in a backup: dump.sql, filestore (files, size), sessions, logs and the manifest's Odoo version.","operationId":"backup_contents_api_backups__backup_id__contents_get","security":[{"AccessToken":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/projects/{project_id}/backups/offsite":{"get":{"tags":["backups"],"summary":"Offsite Info","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nOffsite copies (configured by the platform owner) and the next scheduled daily backup.","operationId":"offsite_info_api_projects__project_id__backups_offsite_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/projects/{project_id}/backups/verify":{"post":{"tags":["backups"],"summary":"Verify Backup","description":"**Personal access token:** accepted with the `backups:write` scope (or `admin`).\n\n\"Verify now\" (project admins): restore-test a production backup (by default the newest daily one) in a\ntemporary database, in the production branch's job queue. The result shows on the Backups tab.","operationId":"verify_backup_api_projects__project_id__backups_verify_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"backup_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"backups:write"}},"/api/backups/{backup_id}/offsite":{"post":{"tags":["backups"],"summary":"Copy Offsite","description":"**Personal access token:** accepted with the `backups:write` scope (or `admin`).\n\nCopy (or retry copying) a backup to offsite storage.","operationId":"copy_offsite_api_backups__backup_id__offsite_post","security":[{"AccessToken":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"backups:write"}},"/api/backups/{backup_id}/fetch":{"post":{"tags":["backups"],"summary":"Fetch Offsite","description":"**Personal access token:** accepted with the `backups:write` scope (or `admin`).\n\nDownload from offsite: copy a backup whose local file is gone back to this server.","operationId":"fetch_offsite_api_backups__backup_id__fetch_post","security":[{"AccessToken":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"backups:write"}},"/api/backups/{backup_id}/download":{"get":{"tags":["backups"],"summary":"Download Backup","description":"**Personal access token:** accepted with the `backups:write` scope (or `admin`).\n\nDownload a backup, with or without its filestore (Odoo.sh \"Download options\").","operationId":"download_backup_api_backups__backup_id__download_get","security":[{"AccessToken":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}},{"name":"filestore","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Filestore"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"backups:write"}},"/api/backups/{backup_id}/restore":{"post":{"tags":["backups"],"summary":"Restore Backup","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nRestore a backup into production (exact) or into a staging/development branch (neutralized).","operationId":"restore_backup_api_backups__backup_id__restore_post","security":[{"AccessToken":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__RestoreIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/builds/{build_id}/dump":{"get":{"tags":["backups"],"summary":"Build Dump","description":"**Personal access token:** accepted with the `backups:write` scope (or `admin`).\n\nOdoo.sh \"Download DB dump\" of a running build (production: admin, staging: tester, dev: developer).","operationId":"build_dump_api_builds__build_id__dump_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"filestore","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Filestore"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"backups:write"}},"/api/branches/{branch_id}/imports":{"post":{"tags":["imports"],"summary":"Start Import","operationId":"start_import_api_branches__branch_id__imports_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportStart"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/imports/{import_id}":{"get":{"tags":["imports"],"summary":"Read Import","operationId":"read_import_api_imports__import_id__get","security":[{"AccessToken":[]}],"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"integer","title":"Import Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."},"delete":{"tags":["imports"],"summary":"Cancel Import","operationId":"cancel_import_api_imports__import_id__delete","security":[{"AccessToken":[]}],"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"integer","title":"Import Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/imports/{import_id}/chunk":{"put":{"tags":["imports"],"summary":"Upload Chunk","operationId":"upload_chunk_api_imports__import_id__chunk_put","security":[{"AccessToken":[]}],"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"integer","title":"Import Id"}},{"name":"offset","in":"query","required":true,"schema":{"type":"integer","minimum":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/imports/{import_id}/finish":{"post":{"tags":["imports"],"summary":"Finish Import","operationId":"finish_import_api_imports__import_id__finish_post","security":[{"AccessToken":[]}],"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"integer","title":"Import Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/branches/{branch_id}/upgrade":{"get":{"tags":["upgrade"],"summary":"Upgrade Status","operationId":"upgrade_status_api_branches__branch_id__upgrade_get","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/branches/{branch_id}/upgrade/test":{"post":{"tags":["upgrade"],"summary":"Request Test","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nUpgrade a copy of the latest production daily backup and load it on this staging branch (upgrade mode).","operationId":"request_test_api_branches__branch_id__upgrade_test_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/branches/{branch_id}/upgrade/production":{"post":{"tags":["upgrade"],"summary":"Request Production","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nUpgrade production with the next commit (right away when the repository has no custom modules).","operationId":"request_production_api_branches__branch_id__upgrade_production_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/upgrades/{req_id}/cancel":{"post":{"tags":["upgrade"],"summary":"Cancel Request","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nDrop a queued upgrade or a production upgrade waiting for its commit, or stop a running test upgrade (its\ntemporary database is dropped and the staging branch stays as it was). A running production upgrade can't be\ncancelled: it completes, or production is reverted automatically.","operationId":"cancel_request_api_upgrades__req_id__cancel_post","security":[{"AccessToken":[]}],"parameters":[{"name":"req_id","in":"path","required":true,"schema":{"type":"integer","title":"Req Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/branches/{branch_id}/upgrade/exit":{"post":{"tags":["upgrade"],"summary":"Exit Upgrade Mode","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nLeave staging upgrade mode: the branch is rebuilt as a neutralized copy of production.","operationId":"exit_upgrade_mode_api_branches__branch_id__upgrade_exit_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/upgrades/{req_id}/report":{"get":{"tags":["upgrade"],"summary":"Upgrade Report","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nupgrade.odoo.com's HTML upgrade report of a request (Enterprise). The HTML comes from a third party, so it is\nserved sandboxed (no scripts, opaque origin) and never sends this URL, which may carry the token, as referrer.","operationId":"upgrade_report_api_upgrades__req_id__report_get","security":[{"AccessToken":[]}],"parameters":[{"name":"req_id","in":"path","required":true,"schema":{"type":"integer","title":"Req Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/upgrades/{req_id}/log":{"get":{"tags":["upgrade"],"summary":"Upgrade Log","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nServer-sent events: upgrade.log of a request, followed live while it runs.","operationId":"upgrade_log_api_upgrades__req_id__log_get","security":[{"AccessToken":[]}],"parameters":[{"name":"req_id","in":"path","required":true,"schema":{"type":"integer","title":"Req Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/webhooks/github/{project_id}":{"post":{"tags":["webhooks"],"summary":"Github","operationId":"github_api_webhooks_github__project_id__post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"x-github-event","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Github-Event"}},{"name":"x-hub-signature-256","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Hub-Signature-256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/{slug}":{"get":{"tags":["public"],"summary":"Public Builds","operationId":"public_builds_api_public__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/{slug}/branches/{branch_id}/history":{"get":{"tags":["public"],"summary":"Public History","description":"**Dashboard session only:** personal access tokens are refused.\n\nA development branch's history: platform events (merges, rebuilds, imports…) next to its builds.","operationId":"public_history_api_public__slug__branches__branch_id__history_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/public/{slug}/builds/{build_id}/logs":{"get":{"tags":["public"],"summary":"Public Log Files","description":"**Dashboard session only:** personal access tokens are refused.\n\nLog files of a development build: build.log, the per-phase logs, and odoo.log while it runs. The shell and\neditor logs are not public (they record what collaborators typed).","operationId":"public_log_files_api_public__slug__builds__build_id__logs_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/public/{slug}/builds/{build_id}/log":{"get":{"tags":["public"],"summary":"Public Build Log","description":"**Dashboard session only:** personal access tokens are refused.\n\nServer-sent events: a development build's log file (default: the full build log).","operationId":"public_build_log_api_public__slug__builds__build_id__log_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}},{"name":"file","in":"query","required":false,"schema":{"type":"string","default":"","title":"File"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/public/{slug}/builds/{build_id}/server-log":{"get":{"tags":["public"],"summary":"Public Server Log","description":"**Dashboard session only:** personal access tokens are refused.\n\nServer-sent events: the running development server's own log (odoo.log), followed live.","operationId":"public_server_log_api_public__slug__builds__build_id__server_log_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/public/{slug}/builds/{build_id}/mails":{"get":{"tags":["public"],"summary":"Public Mails","operationId":"public_mails_api_public__slug__builds__build_id__mails_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MailOut"},"title":"Response Public Mails Api Public  Slug  Builds  Build Id  Mails Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/{slug}/mails/{mail_id}":{"get":{"tags":["public"],"summary":"Public Mail","operationId":"public_mail_api_public__slug__mails__mail_id__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"mail_id","in":"path","required":true,"schema":{"type":"integer","title":"Mail Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/{slug}/builds/{build_id}/connect":{"post":{"tags":["public"],"summary":"Public Connect","description":"**Dashboard session only:** personal access tokens are refused.\n\nA one-minute signed link that logs the visitor into a running development build as administrator.","operationId":"public_connect_api_public__slug__builds__build_id__connect_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/domains":{"get":{"tags":["domains"],"summary":"List Domains","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nDomains the caller can manage (every one for an admin), optionally of one branch.","operationId":"list_domains_api_projects__project_id__domains_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"branch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainOut"},"title":"Response List Domains Api Projects  Project Id  Domains Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"},"post":{"tags":["domains"],"summary":"Add Domain","operationId":"add_domain_api_projects__project_id__domains_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__DomainIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/domains/{domain_id}":{"patch":{"tags":["domains"],"summary":"Update Domain","operationId":"update_domain_api_domains__domain_id__patch","security":[{"AccessToken":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/domains/{domain_id}":{"delete":{"tags":["domains"],"summary":"Remove Domain","operationId":"remove_domain_api_projects__project_id__domains__domain_id__delete","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/domains/{domain_id}/check":{"post":{"tags":["domains"],"summary":"Check Domain","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nCheck DNS now and pick up the certificate status (the platform also re-checks every minute).","operationId":"check_domain_api_domains__domain_id__check_post","security":[{"AccessToken":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/mail":{"get":{"tags":["mail"],"summary":"Mail Settings","operationId":"mail_settings_api_projects__project_id__mail_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"domain","in":"query","required":false,"schema":{"type":"string","maxLength":300,"default":"","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/mail/check":{"get":{"tags":["mail"],"summary":"Check Mail Dns","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nLook up the domain's SPF (TXT), DKIM/bounce records (CNAME or TXT) and DMARC, with a verdict per record.","operationId":"check_mail_dns_api_projects__project_id__mail_check_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"domain","in":"query","required":true,"schema":{"type":"string","maxLength":300,"title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/mail/test":{"post":{"tags":["mail"],"summary":"Send Test Email","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nSend an email through the relay to the signed-in admin, to check that it works end to end.","operationId":"send_test_email_api_projects__project_id__mail_test_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/platform/enterprise":{"get":{"tags":["platform"],"summary":"Enterprise Overview","operationId":"enterprise_overview_api_platform_enterprise_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/enterprise/token":{"put":{"tags":["platform"],"summary":"Set Token","operationId":"set_token_api_platform_enterprise_token_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__platform__TokenIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["platform"],"summary":"Delete Token","operationId":"delete_token_api_platform_enterprise_token_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/enterprise/upload":{"post":{"tags":["platform"],"summary":"Upload Source","description":"**Dashboard session only:** personal access tokens are refused.\n\nUpload the Odoo Enterprise source archive of one version (from odoo.com downloads).","operationId":"upload_source_api_platform_enterprise_upload_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"query","required":true,"schema":{"type":"string","title":"Version"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_source_api_platform_enterprise_upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/enterprise/upload/{version}":{"delete":{"tags":["platform"],"summary":"Delete Upload","operationId":"delete_upload_api_platform_enterprise_upload__version__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/enterprise":{"get":{"tags":["platform"],"summary":"Project Enterprise","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nWhere this project's Enterprise build would get its source from.","operationId":"project_enterprise_api_projects__project_id__enterprise_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/platform/email":{"get":{"tags":["platform"],"summary":"Email Settings","operationId":"email_settings_api_platform_email_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["platform"],"summary":"Save Email Settings","operationId":"save_email_settings_api_platform_email_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["platform"],"summary":"Reset Email Settings","operationId":"reset_email_settings_api_platform_email_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/email-log":{"get":{"tags":["platform"],"summary":"Email Log","description":"**Dashboard session only:** personal access tokens are refused.\n\nRecent email deliveries (the last 20 platform emails: subject, recipients, sent or the error; no addresses).","operationId":"email_log_api_platform_email_log_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/email-preview":{"get":{"tags":["platform"],"summary":"Email Preview","description":"**Dashboard session only:** personal access tokens are refused.\n\nOne platform email rendered with sample content and the current branding (HTML, text, subject), and the\nlist of kinds. Shown in a sandboxed iframe on the Platform page; works without a configured relay.","operationId":"email_preview_api_platform_email_preview_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"query","required":false,"schema":{"type":"string","default":"welcome","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/email/test":{"post":{"tags":["platform"],"summary":"Send Platform Test Email","description":"**Dashboard session only:** personal access tokens are refused.\n\nSend an email through the saved relay to the signed-in admin.","operationId":"send_platform_test_email_api_platform_email_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/offsite":{"get":{"tags":["platform"],"summary":"Offsite Settings","operationId":"offsite_settings_api_platform_offsite_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["platform"],"summary":"Save Offsite Settings","description":"**Dashboard session only:** personal access tokens are refused.\n\nSave the storage. The crypt passphrase is generated when none is given, saved or set in .env, and returned\nin this response only (generated_password): the admin must keep it somewhere else to decrypt copies later.","operationId":"save_offsite_settings_api_platform_offsite_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffsiteIn"}}},"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":[]}],"x-access-token-scope":null},"delete":{"tags":["platform"],"summary":"Reset Offsite Settings","operationId":"reset_offsite_settings_api_platform_offsite_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/offsite/test":{"post":{"tags":["platform"],"summary":"Run Offsite Test","description":"**Dashboard session only:** personal access tokens are refused.\n\nCreate the folder, write, read back and delete a small encrypted file with rclone.","operationId":"run_offsite_test_api_platform_offsite_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffsiteTestIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/search-engines":{"get":{"tags":["platform"],"summary":"Search Engine Settings","operationId":"search_engine_settings_api_platform_search_engines_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["platform"],"summary":"Save Search Engine Settings","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe ownership tags are put in the head of the public pages at once (seo.serve_index). Turning IndexNow on\nchecks for changes shortly after (rate-limited like every submission).","operationId":"save_search_engine_settings_api_platform_search_engines_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchEnginesIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/search-engines/indexnow":{"post":{"tags":["platform"],"summary":"Submit Indexnow","description":"**Dashboard session only:** personal access tokens are refused.\n\nSubmit every public URL now, even when nothing changed (still at most once per indexnow.MIN_INTERVAL_S).","operationId":"submit_indexnow_api_platform_search_engines_indexnow_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/health":{"get":{"tags":["platform"],"summary":"Platform Health","operationId":"platform_health_api_platform_health_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/readiness":{"get":{"tags":["platform"],"summary":"Platform Readiness","description":"**Dashboard session only:** personal access tokens are refused.\n\nEverything to set up before selling, checked against the live configuration (services/readiness.py). No\nsecret is ever part of it. Cached for a minute per admin; refresh=1 runs the checks again.","operationId":"platform_readiness_api_platform_readiness_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/usage":{"get":{"tags":["platform"],"summary":"Platform Usage","description":"**Dashboard session only:** personal access tokens are refused.\n\nUsage of every project in a calendar month (YYYY-MM, UTC; default: the current month to date).","operationId":"platform_usage_api_platform_usage_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/usage.csv":{"get":{"tags":["platform"],"summary":"Platform Usage Csv","operationId":"platform_usage_csv_api_platform_usage_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/usage/{project_id}/pricing":{"put":{"tags":["platform"],"summary":"Set Pricing","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhat this client is billed each month. Only for invoicing: nothing is charged by the platform.","operationId":"set_pricing_api_platform_usage__project_id__pricing_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__platform__PricingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/branding":{"get":{"tags":["branding"],"summary":"Get Branding","description":"**Dashboard session only:** personal access tokens are refused.\n\nNo sign-in needed: the sign-in page shows the name and logo.","operationId":"get_branding_api_branding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null}},"/api/branding/logo":{"get":{"tags":["branding"],"summary":"Get Logo","operationId":"get_logo_api_branding_logo_get","parameters":[{"name":"v","in":"query","required":false,"schema":{"type":"string","default":"","title":"V"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/branding/og.png":{"get":{"tags":["branding"],"summary":"Get Og Image","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe link-preview image (og:image of the public pages), drawn from the branding and cached on disk. lang=ar:\nthe Arabic pages' right-to-left version (the English one when Arabic can't be drawn).","operationId":"get_og_image_api_branding_og_png_get","parameters":[{"name":"v","in":"query","required":false,"schema":{"type":"string","default":"","title":"V"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/branding/icon/{kind}.png":{"get":{"tags":["branding"],"summary":"Get App Icon","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe installed app's icons (services/appicons.py, listed in /manifest.webmanifest): drawn from the branding.","operationId":"get_app_icon_api_branding_icon__kind__png_get","parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"v","in":"query","required":false,"schema":{"type":"string","default":"","title":"V"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/branding":{"put":{"tags":["branding"],"summary":"Put Branding","operationId":"put_branding_api_platform_branding_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandingIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["branding"],"summary":"Delete Branding","description":"**Dashboard session only:** personal access tokens are refused.\n\nBack to the defaults: KV_APP_NAME, the built-in accent and logo.","operationId":"delete_branding_api_platform_branding_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/branding/logo":{"post":{"tags":["branding"],"summary":"Upload Logo","operationId":"upload_logo_api_platform_branding_logo_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_logo_api_platform_branding_logo_post"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["branding"],"summary":"Delete Logo","operationId":"delete_logo_api_platform_branding_logo_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/builds/{build_id}/wake":{"post":{"tags":["wake"],"summary":"Wake Build","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`).\n\nWake a sleeping build and wait until Odoo answers (at most about a minute).","operationId":"wake_build_api_builds__build_id__wake_post","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write"}},"/api/builds/{build_id}/notebook":{"get":{"tags":["notebook"],"summary":"Notebook Status","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe notebook server of a build: stopped | building | starting | running | error, and while it runs a fresh\nlogin_url for the editor's frame.","operationId":"notebook_status_api_builds__build_id__notebook_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null},"post":{"tags":["notebook"],"summary":"Notebook Open","description":"**Dashboard session only:** personal access tokens are refused.\n\nStart the build's notebook server (in the background; poll GET for its progress).","operationId":"notebook_open_api_builds__build_id__notebook_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null},"delete":{"tags":["notebook"],"summary":"Notebook Stop","operationId":"notebook_stop_api_builds__build_id__notebook_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/servers":{"get":{"tags":["servers"],"summary":"List Servers","operationId":"list_servers_api_platform_servers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["servers"],"summary":"Add Server","description":"**Dashboard session only:** personal access tokens are refused.\n\nRegister an existing host (provider \"ssh\"): returns the bootstrap command to run on it.","operationId":"add_server_api_platform_servers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__servers__ServerIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/servers/{server_id}/bootstrap":{"post":{"tags":["servers"],"summary":"New Command","description":"**Dashboard session only:** personal access tokens are refused.\n\nA fresh bootstrap command (the previous token stops working).","operationId":"new_command_api_platform_servers__server_id__bootstrap_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/servers/{server_id}/check":{"post":{"tags":["servers"],"summary":"Check Server","description":"**Dashboard session only:** personal access tokens are refused.\n\nDocker ping over SSH and the node stack (kv-pg, kv-traefik, kv-placeholder, kv-nginx); sets ready/error.","operationId":"check_server_api_platform_servers__server_id__check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/servers/{server_id}":{"patch":{"tags":["servers"],"summary":"Update Server","description":"**Dashboard session only:** personal access tokens are refused.\n\nCapacity, region label, and drain (no new projects; the ones there keep running) / undrain.","operationId":"update_server_api_platform_servers__server_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__servers__ServerPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null},"delete":{"tags":["servers"],"summary":"Remove Server","description":"**Dashboard session only:** personal access tokens are refused.\n\nForget a server that has no project any more (its host itself is left as it is).","operationId":"remove_server_api_platform_servers__server_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/servers/aws":{"get":{"tags":["servers"],"summary":"Aws Settings","operationId":"aws_settings_api_platform_servers_aws_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["servers"],"summary":"Save Aws Settings","description":"**Dashboard session only:** personal access tokens are refused.\n\nSave the AWS keys (the secret is write-only) and the regions sold. A region's servers are created when the\nfirst customer needs one.","operationId":"save_aws_settings_api_platform_servers_aws_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/servers/aws/test":{"post":{"tags":["servers"],"summary":"Test Aws","description":"**Dashboard session only:** personal access tokens are refused.\n\nSTS GetCallerIdentity (the account id) and a dry-run DescribeInstances in each enabled region.","operationId":"test_aws_api_platform_servers_aws_test_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AwsTestIn"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/servers/{server_id}/provision":{"post":{"tags":["servers"],"summary":"Retry Provisioning","description":"**Dashboard session only:** personal access tokens are refused.\n\nRetry (resume) a failed AWS provisioning where it stopped.","operationId":"retry_provisioning_api_platform_servers__server_id__provision_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/servers/{server_id}/dns":{"post":{"tags":["servers"],"summary":"Check Dns","description":"**Dashboard session only:** personal access tokens are refused.\n\nCheck the region's DNS records now (the platform also checks every minute).","operationId":"check_dns_api_platform_servers__server_id__dns_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/servers/{server_id}/resize":{"post":{"tags":["servers"],"summary":"Resize Server","description":"**Dashboard session only:** personal access tokens are refused.\n\nApprove a resize to a bigger instance type: stop, change the type, start (a few minutes offline; the Elastic\nIP and the disk stay).","operationId":"resize_server_api_platform_servers__server_id__resize_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResizeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/status-announcements":{"get":{"tags":["status"],"summary":"List Announcements","operationId":"list_announcements_api_platform_status_announcements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["status"],"summary":"Create Announcement","operationId":"create_announcement_api_platform_status_announcements_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/status-announcements/{announcement_id}":{"put":{"tags":["status"],"summary":"Update Announcement","operationId":"update_announcement_api_platform_status_announcements__announcement_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"integer","title":"Announcement Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["status"],"summary":"Delete Announcement","operationId":"delete_announcement_api_platform_status_announcements__announcement_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"integer","title":"Announcement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/status-announcements/{announcement_id}/end":{"post":{"tags":["status"],"summary":"End Announcement","description":"**Dashboard session only:** personal access tokens are refused.\n\nResolved now (a scheduled one that never started is simply removed from the page by ending it now).","operationId":"end_announcement_api_platform_status_announcements__announcement_id__end_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"integer","title":"Announcement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/hooks":{"get":{"tags":["hooks"],"summary":"List Hooks","operationId":"list_hooks_api_projects__project_id__hooks_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HookOut"},"title":"Response List Hooks Api Projects  Project Id  Hooks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."},"post":{"tags":["hooks"],"summary":"Create Hook","operationId":"create_hook_api_projects__project_id__hooks_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/hooks/{hook_id}":{"patch":{"tags":["hooks"],"summary":"Update Hook","operationId":"update_hook_api_projects__project_id__hooks__hook_id__patch","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"hook_id","in":"path","required":true,"schema":{"type":"integer","title":"Hook Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HookOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."},"delete":{"tags":["hooks"],"summary":"Delete Hook","operationId":"delete_hook_api_projects__project_id__hooks__hook_id__delete","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"hook_id","in":"path","required":true,"schema":{"type":"integer","title":"Hook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/hooks/{hook_id}/test":{"post":{"tags":["hooks"],"summary":"Test Hook","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nSend a test message now (one attempt, 5 s timeout). The outcome is recorded like any delivery.","operationId":"test_hook_api_projects__project_id__hooks__hook_id__test_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"hook_id","in":"path","required":true,"schema":{"type":"integer","title":"Hook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/platform/deleted-projects":{"get":{"tags":["platform"],"summary":"List Deleted","operationId":"list_deleted_api_platform_deleted_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/deleted-projects/{folder}/download/{name}":{"get":{"tags":["platform"],"summary":"Download File","operationId":"download_file_api_platform_deleted_projects__folder__download__name__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"folder","in":"path","required":true,"schema":{"type":"string","title":"Folder"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/deleted-projects/{folder}/extend":{"post":{"tags":["platform"],"summary":"Extend","operationId":"extend_api_platform_deleted_projects__folder__extend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"folder","in":"path","required":true,"schema":{"type":"string","title":"Folder"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/deleted-projects/{folder}":{"delete":{"tags":["platform"],"summary":"Purge","operationId":"purge_api_platform_deleted_projects__folder__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"folder","in":"path","required":true,"schema":{"type":"string","title":"Folder"}},{"name":"confirm","in":"query","required":false,"schema":{"type":"string","default":"","title":"Confirm"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/deleted-projects/{folder}/restore":{"post":{"tags":["platform"],"summary":"Restore","description":"**Dashboard session only:** personal access tokens are refused.\n\nImport a kept backup into the production branch of an existing (new) project, through the regular database\nimport: the same checks (Odoo version, disk space), an import build, the backup of the current database first.","operationId":"restore_api_platform_deleted_projects__folder__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"folder","in":"path","required":true,"schema":{"type":"string","title":"Folder"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__deleted__RestoreIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/me/api-tokens":{"get":{"tags":["access tokens"],"summary":"List Tokens","operationId":"list_tokens_api_me_api_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["access tokens"],"summary":"Create Api Token","description":"**Dashboard session only:** personal access tokens are refused.\n\nA new token, shown once. Needs a recent sign-in and, with two-factor on, a current code.","operationId":"create_api_token_api_me_api_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__apitokens__TokenIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/me/api-tokens/{token_id}":{"delete":{"tags":["access tokens"],"summary":"Revoke Api Token","operationId":"revoke_api_token_api_me_api_tokens__token_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/token":{"get":{"tags":["access tokens"],"summary":"Whoami","description":"**Personal access token:** accepted with any scope.\n\nWho a script is acting as, and with which token (null for a dashboard session).","operationId":"whoami_api_me_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"any"}},"/api/platform/api-tokens":{"get":{"tags":["access tokens"],"summary":"All Tokens","description":"**Dashboard session only:** personal access tokens are refused.\n\nEvery token of every account (never the tokens themselves), newest first, and the platform switch.","operationId":"all_tokens_api_platform_api_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/api-tokens/{token_id}":{"delete":{"tags":["access tokens"],"summary":"Admin Revoke","operationId":"admin_revoke_api_platform_api_tokens__token_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/api-tokens/settings":{"put":{"tags":["access tokens"],"summary":"Save Settings","description":"**Dashboard session only:** personal access tokens are refused.\n\nOff: every token is refused at once and none can be created (they come back when it is turned on again,\nunless expired or revoked meanwhile).","operationId":"save_settings_api_platform_api_tokens_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenSettingsIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/linked-servers":{"get":{"tags":["linked servers"],"summary":"List Linked","description":"**Dashboard session only:** personal access tokens are refused.\n\nCustomers: their own servers. Platform admins: every server (owner: platform | customers | mine | <user id>).\nIn an organization's workspace: its servers (owners and admins; services/orgs.py).","operationId":"list_linked_api_platform_linked_servers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null},"post":{"tags":["linked servers"],"summary":"Link Server","operationId":"link_server_api_platform_linked_servers_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__linked__LinkIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/link-quote":{"get":{"tags":["linked servers"],"summary":"Link Quote","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhat linking one more server costs: its own Server Pro subscription (Checkout), monthly or yearly.","operationId":"link_quote_api_platform_linked_servers_link_quote_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"interval","in":"query","required":false,"schema":{"type":"string","default":"year","title":"Interval"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/purchase":{"post":{"tags":["linked servers"],"summary":"Purchase","description":"**Dashboard session only:** personal access tokens are refused.\n\nA customer's new server: nothing exists before the payment. A reservation and a Stripe Checkout of the server's\nown subscription ({checkout_url, reservation}); the webhook creates the server. Free linkers: the plain link.\nIn an organization's workspace: paid by the organization, the server its own (services/orgs.py).","operationId":"purchase_api_platform_linked_servers_purchase_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/linked-servers/reservations/{reservation_id}":{"get":{"tags":["linked servers"],"summary":"Reservation","description":"**Dashboard session only:** personal access tokens are refused.\n\nBack from Stripe: pending until the webhook; then the server and its link command (a fresh token each time:\nthe previous command stops working, like New install command).","operationId":"reservation_api_platform_linked_servers_reservations__reservation_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"integer","title":"Reservation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}":{"get":{"tags":["linked servers"],"summary":"Get Linked","operationId":"get_linked_api_platform_linked_servers__server_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"patch":{"tags":["linked servers"],"summary":"Update Linked","operationId":"update_linked_api_platform_linked_servers__server_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__linked__ServerPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["linked servers"],"summary":"Unlink Server","description":"**Dashboard session only:** personal access tokens are refused.\n\nUnlink: the platform's key for it is deleted at once; the answer has the one line that removes the key from the\nserver (the platform can't do it itself: kv-link can't edit authorized_keys).","operationId":"unlink_server_api_platform_linked_servers__server_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"keep_backups","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Keep Backups"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/command":{"post":{"tags":["linked servers"],"summary":"New Command","description":"**Dashboard session only:** personal access tokens are refused.\n\nA fresh install command (a new token: the previous one stops working). The key pair stays the same.","operationId":"new_command_api_platform_linked_servers__server_id__command_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/check":{"post":{"tags":["linked servers"],"summary":"Check Now","description":"**Dashboard session only:** personal access tokens are refused.\n\nConnect now: the wizard's \"Waiting for the server…\" polling and the Check button (one attempt per 4 s).","operationId":"check_now_api_platform_linked_servers__server_id__check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/rediscover":{"post":{"tags":["linked servers"],"summary":"Rediscover","operationId":"rediscover_api_platform_linked_servers__server_id__rediscover_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/reset-host-key":{"post":{"tags":["linked servers"],"summary":"Reset Host Key","description":"**Dashboard session only:** personal access tokens are refused.\n\nAfter a reinstall: forget the pinned host key (the next connection pins the new one). Confirmed by name.","operationId":"reset_host_key_api_platform_linked_servers__server_id__reset_host_key_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostKeyReset"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/instances/{instance_id}/logs":{"get":{"tags":["linked servers"],"summary":"Instance Logs","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe last lines of the instance's log (file, journal or container). Audited once per 10 minutes and viewer (the\ndrawer refreshes it every few seconds).","operationId":"instance_logs_api_platform_linked_servers__server_id__instances__instance_id__logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"lines","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Lines"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/instances/{instance_id}/restart":{"post":{"tags":["linked servers"],"summary":"Restart Instance","operationId":"restart_instance_api_platform_linked_servers__server_id__instances__instance_id__restart_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestartIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/instances/{instance_id}/stop":{"post":{"tags":["linked servers"],"summary":"Stop Instance","description":"**Dashboard session only:** personal access tokens are refused.\n\nStop an instance on purpose (kv-link stop: the discovered service's own stop). Until it is started again it is\nshown \"Stopped by <admin>\", and its checks are maintenance: no incident, no alert, not counted in uptime.","operationId":"stop_instance_api_platform_linked_servers__server_id__instances__instance_id__stop_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/instances/{instance_id}/backup":{"post":{"tags":["linked servers"],"summary":"Backup Now","operationId":"backup_now_api_platform_linked_servers__server_id__instances__instance_id__backup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/instances/{instance_id}/backups":{"get":{"tags":["linked servers"],"summary":"List Backups","operationId":"list_backups_api_platform_linked_servers__server_id__instances__instance_id__backups_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/instances/{instance_id}/backups/{database}/{filename}":{"get":{"tags":["linked servers"],"summary":"Download Backup","operationId":"download_backup_api_platform_linked_servers__server_id__instances__instance_id__backups__database___filename__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}},{"name":"database","in":"path","required":true,"schema":{"type":"string","title":"Database"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/instances/{instance_id}":{"patch":{"tags":["linked servers"],"summary":"Update Instance","operationId":"update_instance_api_platform_linked_servers__server_id__instances__instance_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-backups/overview":{"get":{"tags":["linked servers"],"summary":"Overview","operationId":"overview_api_platform_linked_backups_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-backups/instances/{instance_id}":{"get":{"tags":["linked servers"],"summary":"Instance Backups","operationId":"instance_backups_api_platform_linked_backups_instances__instance_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"patch":{"tags":["linked servers"],"summary":"Update Policy","operationId":"update_policy_api_platform_linked_backups_instances__instance_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-backups/instances/{instance_id}/backup-files":{"post":{"tags":["linked servers"],"summary":"Backup Files","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe instance's configuration (secrets redacted on the server) and custom addons, now.","operationId":"backup_files_api_platform_linked_backups_instances__instance_id__backup_files_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"integer","title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-backups/backups/{backup_id}/restore-test":{"post":{"tags":["linked servers"],"summary":"Restore Test","description":"**Dashboard session only:** personal access tokens are refused.\n\n\"Test restore\": whatever its size (the disk space is still checked).","operationId":"restore_test_api_platform_linked_backups_backups__backup_id__restore_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-backups/backups/{backup_id}/retry-offsite":{"post":{"tags":["linked servers"],"summary":"Retry Offsite","operationId":"retry_offsite_api_platform_linked_backups_backups__backup_id__retry_offsite_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-backups/backups/{backup_id}/download-link":{"post":{"tags":["linked servers"],"summary":"Download Link","description":"**Dashboard session only:** personal access tokens are refused.\n\nA link valid a few minutes, for this admin only.","operationId":"download_link_api_platform_linked_backups_backups__backup_id__download_link_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-backups/download/{token}":{"get":{"tags":["linked servers"],"summary":"Download","operationId":"download_api_platform_linked_backups_download__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-backups/servers/{server_id}":{"patch":{"tags":["linked servers"],"summary":"Set Region","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhere the server's offsite copies go: \"\" = the platform's offsite storage, else a region's backup bucket.\nCopies already made stay where they are (each backup records its target).","operationId":"set_region_api_platform_linked_backups_servers__server_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__linked_backups__ServerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-audit":{"get":{"tags":["linked servers"],"summary":"Audit Summary","operationId":"audit_summary_api_platform_linked_audit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/audit":{"get":{"tags":["linked servers"],"summary":"Get Audit","operationId":"get_audit_api_platform_linked_servers__server_id__audit_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["linked servers"],"summary":"Run Audit","description":"**Dashboard session only:** personal access tokens are refused.\n\nRun the audit now. It takes up to a few minutes (discovery, apt-get -s…): the answer comes at once with\nrunning = true; the GET shows the result when running is false again.","operationId":"run_audit_api_platform_linked_servers__server_id__audit_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/audit/findings":{"post":{"tags":["linked servers"],"summary":"Set Finding State","description":"**Dashboard session only:** personal access tokens are refused.\n\nAcknowledge (known, being handled) or ignore (accepted risk) a finding: both leave the score and the alerts and\nare listed under Ignored, across audits, until reopened.","operationId":"set_finding_state_api_platform_linked_servers__server_id__audit_findings_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindingState"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/reports":{"get":{"tags":["reports"],"summary":"List Reports","operationId":"list_reports_api_projects__project_id__reports_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."},"post":{"tags":["reports"],"summary":"Generate Report","operationId":"generate_report_api_projects__project_id__reports_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/reports/{period}":{"get":{"tags":["reports"],"summary":"Get Report","operationId":"get_report_api_projects__project_id__reports__period__get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"period","in":"path","required":true,"schema":{"type":"string","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."}},"/api/projects/{project_id}/reports/{period}/html":{"get":{"tags":["reports"],"summary":"Download Report","operationId":"download_report_api_projects__project_id__reports__period__html_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"period","in":"path","required":true,"schema":{"type":"string","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."}},"/api/projects/{project_id}/reports/{period}/email":{"post":{"tags":["reports"],"summary":"Email Report","operationId":"email_report_api_projects__project_id__reports__period__email_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"period","in":"path","required":true,"schema":{"type":"string","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/report-emails":{"get":{"tags":["reports"],"summary":"Get Pref","operationId":"get_pref_api_me_report_emails_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["reports"],"summary":"Put Pref","operationId":"put_pref_api_me_report_emails_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/costs":{"get":{"tags":["costs"],"summary":"Get Costs","operationId":"get_costs_api_platform_costs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/costs.csv":{"get":{"tags":["costs"],"summary":"Costs Csv","operationId":"costs_csv_api_platform_costs_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/costs/settings":{"put":{"tags":["costs"],"summary":"Save Settings","operationId":"save_settings_api_platform_costs_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/costs/servers/{server_id}":{"put":{"tags":["costs"],"summary":"Save Server","operationId":"save_server_api_platform_costs_servers__server_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerCostIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/helpchat/config":{"get":{"tags":["helpchat"],"summary":"Widget Config","operationId":"widget_config_api_helpchat_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/helpchat/messages":{"post":{"tags":["helpchat"],"summary":"Ask","description":"**Dashboard session only:** personal access tokens are refused.\n\nA question: the answer streams back as server-sent events (meta, delta…, done | error).","operationId":"ask_api_helpchat_messages_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/helpchat/conversations/{token}":{"get":{"tags":["helpchat"],"summary":"Conversation","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe widget's conversation, with the support team's replies once handed over (polled). seen=1 (the widget is\nopen): the support request's thread counts as read for the signed-in user (the bell, /api/me/pulse).","operationId":"conversation_api_helpchat_conversations__token__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"seen","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Seen"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/helpchat/handover":{"post":{"tags":["helpchat"],"summary":"Handover","description":"**Dashboard session only:** personal access tokens are refused.\n\n\"Talk to a human\" (or \"Write to support\" without the assistant): the conversation goes to the support team.","operationId":"handover_api_helpchat_handover_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoverIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/helpchat/conversations/{token}/reply":{"post":{"tags":["helpchat"],"summary":"Reply","description":"**Dashboard session only:** personal access tokens are refused.\n\nAfter the handover: a message to the support team, into the request's thread.","operationId":"reply_api_helpchat_conversations__token__reply_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__helpchat__ReplyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/helpchat/messages/{message_id}/feedback":{"post":{"tags":["helpchat"],"summary":"Feedback","operationId":"feedback_api_helpchat_messages__message_id__feedback_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","title":"Message Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__helpchat__FeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/helpchat/settings":{"get":{"tags":["helpchat"],"summary":"Get Settings","operationId":"get_settings_api_platform_helpchat_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["helpchat"],"summary":"Save Settings","operationId":"save_settings_api_platform_helpchat_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__helpchat__SettingsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/helpchat/models":{"get":{"tags":["helpchat"],"summary":"List Models","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe model dropdowns (Help chat, Build doctor, Growth autopilot): services/aimodels.py.","operationId":"list_models_api_platform_helpchat_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/helpchat/settings/test":{"post":{"tags":["helpchat"],"summary":"Test Settings","description":"**Dashboard session only:** personal access tokens are refused.\n\nA tiny request to the Anthropic API with the saved key and model.","operationId":"test_settings_api_platform_helpchat_settings_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/helpchat/usage":{"get":{"tags":["helpchat"],"summary":"Usage","operationId":"usage_api_platform_helpchat_usage_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","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"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/helpchat/conversations":{"get":{"tags":["helpchat"],"summary":"Conversations","description":"**Dashboard session only:** personal access tokens are refused.\n\nfilter: all | handed_over | unanswered | down (a thumbs down).","operationId":"conversations_api_platform_helpchat_conversations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Filter"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/helpchat/conversations/{conversation_id}":{"get":{"tags":["helpchat"],"summary":"Conversation Detail","operationId":"conversation_detail_api_platform_helpchat_conversations__conversation_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"integer","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/helpchat/unanswered":{"get":{"tags":["helpchat"],"summary":"Unanswered","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe questions the assistant couldn't answer well: what the help center is missing.","operationId":"unanswered_api_platform_helpchat_unanswered_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/builddoctor/status":{"get":{"tags":["builddoctor"],"summary":"Status","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nWhether \"Explain this failure\" is offered at all (the failed build cards ask once): available, and for platform\nadmins what to set up when it isn't.","operationId":"status_api_builddoctor_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"read"}},"/api/builds/{build_id}/explanation":{"get":{"tags":["builddoctor"],"summary":"Build Explanation","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nWhether the failure can be explained here, and the stored explanation (never calls the model).","operationId":"build_explanation_api_builds__build_id__explanation_get","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"},"post":{"tags":["builddoctor"],"summary":"Explain Build","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`).\n\nThe stored explanation, or a new one (again=true, or none yet): 409 without an API key or on a build that\ndidn't fail, 429 past a budget.","operationId":"explain_build_api_builds__build_id__explanation_post","security":[{"AccessToken":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"integer","title":"Build Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ExplainIn"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write"}},"/api/restores/{event_id}/explanation":{"get":{"tags":["builddoctor"],"summary":"Restore Explanation","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nA failed restore into a running build (its History event): the span of the build log the restore wrote.","operationId":"restore_explanation_api_restores__event_id__explanation_get","security":[{"AccessToken":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"},"post":{"tags":["builddoctor"],"summary":"Explain Restore","operationId":"explain_restore_api_restores__event_id__explanation_post","security":[{"AccessToken":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ExplainIn"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`)."}},"/api/backups/{backup_id}/explanation":{"get":{"tags":["builddoctor"],"summary":"Backup Explanation","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nA failed backup keeps no log: its error output is explained when it kept one (\"reason\" says why not).","operationId":"backup_explanation_api_backups__backup_id__explanation_get","security":[{"AccessToken":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"},"post":{"tags":["builddoctor"],"summary":"Explain Backup","operationId":"explain_backup_api_backups__backup_id__explanation_post","security":[{"AccessToken":[]}],"parameters":[{"name":"backup_id","in":"path","required":true,"schema":{"type":"integer","title":"Backup Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ExplainIn"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`)."}},"/api/odoo-installs/{install_id}/explanation":{"get":{"tags":["builddoctor"],"summary":"Install Explanation","operationId":"install_explanation_api_odoo_installs__install_id__explanation_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["builddoctor"],"summary":"Explain Install","operationId":"explain_install_api_odoo_installs__install_id__explanation_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"install_id","in":"path","required":true,"schema":{"type":"integer","title":"Install Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ExplainIn"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/explanations/{explanation_id}/feedback":{"post":{"tags":["builddoctor"],"summary":"Feedback","description":"**Dashboard session only:** personal access tokens are refused.\n\nThumbs up/down (dashboard sessions only): whoever may read the explained log.","operationId":"feedback_api_explanations__explanation_id__feedback_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"explanation_id","in":"path","required":true,"schema":{"type":"integer","title":"Explanation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__builddoctor__FeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/builddoctor/settings":{"get":{"tags":["builddoctor"],"summary":"Get Settings","operationId":"get_settings_api_platform_builddoctor_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["builddoctor"],"summary":"Save Settings","operationId":"save_settings_api_platform_builddoctor_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__builddoctor__SettingsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/builddoctor/stats":{"get":{"tags":["builddoctor"],"summary":"Stats","operationId":"stats_api_platform_builddoctor_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","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"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/branches/{branch_id}/perf":{"get":{"tags":["performance"],"summary":"Get Perf","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nThe latest report (score, sections, recommendations), the score history, recent Apply actions and settings.","operationId":"get_perf_api_branches__branch_id__perf_get","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/branches/{branch_id}/perf/run":{"post":{"tags":["performance"],"summary":"Run Perf","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nAnalyze now (in the background; poll GET …/perf). At most one analysis per branch every 5 minutes.","operationId":"run_perf_api_branches__branch_id__perf_run_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/branches/{branch_id}/perf/apply":{"post":{"tags":["performance"],"summary":"Apply Perf","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nApply one recommendation of the latest report, if its action is whitelisted (create an index, vacuum a table,\ndelete old ir_logging rows, set production's workers). The statement is rebuilt on the server; the request only\nnames the recommendation.","operationId":"apply_perf_api_branches__branch_id__perf_apply_post","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__perfadvisor__ApplyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/branches/{branch_id}/perf/settings":{"put":{"tags":["performance"],"summary":"Put Perf Settings","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nThe project's advisor settings (weekly digest to its admins, daily analysis of staging): project admins.","operationId":"put_perf_settings_api_branches__branch_id__perf_settings_put","security":[{"AccessToken":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerfSettingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/pulls":{"get":{"tags":["pull requests"],"summary":"List Pulls","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nOpen pull requests (newest first), then the recently closed ones still on record.","operationId":"list_pulls_api_projects__project_id__pulls_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/projects/{project_id}/pulls/{number}/build":{"post":{"tags":["pull requests"],"summary":"Build Pull","description":"**Personal access token:** accepted with the `builds:write` scope (or `admin`).\n\n\"Build this PR\": an admin approves a fork's head commit and builds it (like GitHub's \"Approve and run\"); any\ndeveloper can restart the preview of a pull request from the repository that was stopped or refused.","operationId":"build_pull_api_projects__project_id__pulls__number__build_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"number","in":"path","required":true,"schema":{"type":"integer","title":"Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"builds:write"}},"/api/import-sources/limits":{"get":{"tags":["imports"],"summary":"Limits","operationId":"limits_api_import_sources_limits_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"}},{"name":"subscription_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/import-sources/upload":{"post":{"tags":["imports"],"summary":"Start Upload","operationId":"start_upload_api_import_sources_upload_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/import-sources/{source_id}/chunk":{"put":{"tags":["imports"],"summary":"Upload Chunk","operationId":"upload_chunk_api_import_sources__source_id__chunk_put","security":[{"AccessToken":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"integer","title":"Source Id"}},{"name":"offset","in":"query","required":true,"schema":{"type":"integer","minimum":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/import-sources/{source_id}/complete":{"post":{"tags":["imports"],"summary":"Complete Upload","operationId":"complete_upload_api_import_sources__source_id__complete_post","security":[{"AccessToken":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"integer","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/import-sources/url":{"post":{"tags":["imports"],"summary":"From Url","operationId":"from_url_api_import_sources_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/import-sources/odoo":{"post":{"tags":["imports"],"summary":"From Odoo","operationId":"from_odoo_api_import_sources_odoo_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/import-sources/{source_id}":{"get":{"tags":["imports"],"summary":"Read Source","operationId":"read_source_api_import_sources__source_id__get","security":[{"AccessToken":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"integer","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."},"delete":{"tags":["imports"],"summary":"Cancel Source","operationId":"cancel_source_api_import_sources__source_id__delete","security":[{"AccessToken":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"integer","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/import-sources/{source_id}/apply":{"post":{"tags":["imports"],"summary":"Apply Source","operationId":"apply_source_api_import_sources__source_id__apply_post","security":[{"AccessToken":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"integer","title":"Source Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__importsources__ApplyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/platform/linked-migrations":{"get":{"tags":["linked servers"],"summary":"List Migrations","operationId":"list_migrations_api_platform_linked_migrations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["linked servers"],"summary":"Start Migration","operationId":"start_migration_api_platform_linked_migrations_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-migrations/{migration_id}":{"get":{"tags":["linked servers"],"summary":"Read Migration","operationId":"read_migration_api_platform_linked_migrations__migration_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"migration_id","in":"path","required":true,"schema":{"type":"integer","title":"Migration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-migrations/{migration_id}/rerun":{"post":{"tags":["linked servers"],"summary":"Rerun Migration","operationId":"rerun_migration_api_platform_linked_migrations__migration_id__rerun_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"migration_id","in":"path","required":true,"schema":{"type":"integer","title":"Migration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-migrations/{migration_id}/note":{"put":{"tags":["linked servers"],"summary":"Set Note","operationId":"set_note_api_platform_linked_migrations__migration_id__note_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"migration_id","in":"path","required":true,"schema":{"type":"integer","title":"Migration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/fixes":{"get":{"tags":["linked servers"],"summary":"List Fixes","operationId":"list_fixes_api_platform_linked_servers__server_id__fixes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/fixes/preview":{"post":{"tags":["linked servers"],"summary":"Preview Fix","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhat the fix would change, from the server itself (nothing is changed): diffs with secrets redacted, the\ncommands, the post-check, or why it doesn't apply / is already done.","operationId":"preview_fix_api_platform_linked_servers__server_id__fixes_preview_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FixTarget"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/fixes/apply":{"post":{"tags":["linked servers"],"summary":"Apply Fix","description":"**Dashboard session only:** personal access tokens are refused.\n\nRun the fix (backup, change, validate, reload/restart, post-check, automatic revert on failure). confirm must\nbe the domain, the instance's name, or \"install unattended-upgrades\", as the preview says.","operationId":"apply_fix_api_platform_linked_servers__server_id__fixes_apply_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FixApply"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/fixes/runs/{run_id}":{"get":{"tags":["linked servers"],"summary":"Get Fix Run","operationId":"get_fix_run_api_platform_linked_servers__server_id__fixes_runs__run_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/fixes/runs/{run_id}/revert":{"post":{"tags":["linked servers"],"summary":"Revert Fix","description":"**Dashboard session only:** personal access tokens are refused.\n\nPut back the files the run backed up on the server (kv-link fix-revert), then reload nginx / restart the\ninstance as the fix did. Refused when a file changed since the fix.","operationId":"revert_fix_api_platform_linked_servers__server_id__fixes_runs__run_id__revert_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/terminal":{"get":{"tags":["linked servers"],"summary":"Terminal State","operationId":"terminal_state_api_platform_linked_servers__server_id__terminal_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/terminal/enable":{"post":{"tags":["linked servers"],"summary":"Enable Terminal","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe terminal key pair (made once) and the one command the owner runs as root on the server. Again while\npending: a fresh token (the previous command stops working), the same key.","operationId":"enable_terminal_api_platform_linked_servers__server_id__terminal_enable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/terminal/check":{"post":{"tags":["linked servers"],"summary":"Check Terminal","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhile pending (\"Waiting for the server…\"): try the first login with the terminal key (one attempt per 4 s).","operationId":"check_terminal_api_platform_linked_servers__server_id__terminal_check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/terminal/disable":{"post":{"tags":["linked servers"],"summary":"Disable Terminal","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe platform's terminal key is deleted at once (an open session ends); the answer has the command that removes\nthe line from the server (the platform can't: kv-link can't edit authorized_keys).","operationId":"disable_terminal_api_platform_linked_servers__server_id__terminal_disable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/terminal/ticket":{"post":{"tags":["linked servers"],"summary":"Terminal Ticket","description":"**Dashboard session only:** personal access tokens are refused.\n\nBefore the WebSocket: a dashboard session (no access token) from a sign-in within 30 minutes and, with\ntwo-factor on, a current code. A one-time ticket for this server, this admin and this address, for 60 s.","operationId":"terminal_ticket_api_platform_linked_servers__server_id__terminal_ticket_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/linked-servers/{server_id}/terminal/sessions":{"get":{"tags":["linked servers"],"summary":"Terminal Sessions","operationId":"terminal_sessions_api_platform_linked_servers__server_id__terminal_sessions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/linked-servers/{server_id}/terminal/sessions/{session_id}/cast":{"get":{"tags":["linked servers"],"summary":"Terminal Recording","description":"**Dashboard session only:** personal access tokens are refused.\n\nA session's asciicast v2 recording (the page replays it; download=1 saves it).","operationId":"terminal_recording_api_platform_linked_servers__server_id__terminal_sessions__session_id__cast_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"server_id","in":"path","required":true,"schema":{"type":"integer","title":"Server Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/upgrade-assist":{"get":{"tags":["upgrade-assistant"],"summary":"Overview","operationId":"overview_api_projects__project_id__upgrade_assist_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/upgrade-assist/readiness":{"post":{"tags":["upgrade-assistant"],"summary":"Readiness","operationId":"readiness_api_projects__project_id__upgrade_assist_readiness_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/upgrade-assist/branches":{"get":{"tags":["upgrade-assistant"],"summary":"Branches","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nWhere the target-version code is: the repository's branches, and the one the assistant would use.","operationId":"branches_api_projects__project_id__upgrade_assist_branches_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"target","in":"query","required":true,"schema":{"type":"string","title":"Target"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/upgrade-assist/test":{"post":{"tags":["upgrade-assistant"],"summary":"Test","operationId":"test_api_projects__project_id__upgrade_assist_test_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__upgradeassist__TestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/upgrade-assist/schedule":{"post":{"tags":["upgrade-assistant"],"summary":"Schedule","operationId":"schedule_api_projects__project_id__upgrade_assist_schedule_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/upgrade-assist/runs/{run_id}":{"get":{"tags":["upgrade-assistant"],"summary":"Get Run","operationId":"get_run_api_upgrade_assist_runs__run_id__get","security":[{"AccessToken":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/upgrade-assist/runs/{run_id}/recheck":{"post":{"tags":["upgrade-assistant"],"summary":"Recheck","operationId":"recheck_api_upgrade_assist_runs__run_id__recheck_post","security":[{"AccessToken":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/upgrade-assist/runs/{run_id}/cancel":{"post":{"tags":["upgrade-assistant"],"summary":"Cancel","operationId":"cancel_api_upgrade_assist_runs__run_id__cancel_post","security":[{"AccessToken":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/upgrade-assist/runs/{run_id}/log":{"get":{"tags":["upgrade-assistant"],"summary":"Download Log","operationId":"download_log_api_upgrade_assist_runs__run_id__log_get","security":[{"AccessToken":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/public/try/options":{"get":{"tags":["trials"],"summary":"Options","operationId":"options_api_public_try_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/try/challenge":{"get":{"tags":["trials"],"summary":"Challenge","operationId":"challenge_api_public_try_challenge_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/try/start":{"post":{"tags":["trials"],"summary":"Start","operationId":"start_api_public_try_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/try/confirm/{code}":{"post":{"tags":["trials"],"summary":"Confirm","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe link emailed to the visitor (/try?c=<code>): the trial joins the queue. Answers the trial's token.","operationId":"confirm_api_public_try_confirm__code__post","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/public/try/status/{token}":{"get":{"tags":["trials"],"summary":"Status","operationId":"status_api_public_try_status__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/try/extend/{token}":{"post":{"tags":["trials"],"summary":"Extend","operationId":"extend_api_public_try_extend__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/trials":{"get":{"tags":["trials"],"summary":"Overview","operationId":"overview_api_platform_trials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/trials/settings":{"put":{"tags":["trials"],"summary":"Save Settings","operationId":"save_settings_api_platform_trials_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__trials__SettingsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/trials/{trial_id}/kill":{"post":{"tags":["trials"],"summary":"Kill","operationId":"kill_api_platform_trials__trial_id__kill_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"trial_id","in":"path","required":true,"schema":{"type":"integer","title":"Trial Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/trials/kill-all":{"post":{"tags":["trials"],"summary":"Kill All","operationId":"kill_all_api_platform_trials_kill_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/trials/leads/{lead_id}":{"patch":{"tags":["trials"],"summary":"Mark Lead","operationId":"mark_lead_api_platform_trials_leads__lead_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"integer","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandledIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/maintenance":{"get":{"tags":["maintenance"],"summary":"Get Window","operationId":"get_window_api_projects__project_id__maintenance_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."},"put":{"tags":["maintenance"],"summary":"Put Window","operationId":"put_window_api_projects__project_id__maintenance_put","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WindowIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/projects/{project_id}/maintenance/check":{"get":{"tags":["maintenance"],"summary":"Check","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nWhether a scheduled upgrade or move starting at `start` is inside the window (the schedulers' live hint).","operationId":"check_api_projects__project_id__maintenance_check_get","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Start"}},{"name":"minutes","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1440,"minimum":1},{"type":"null"}],"title":"Minutes"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/projects/{project_id}/maintenance/actions/{action_id}/run":{"post":{"tags":["maintenance"],"summary":"Run Now","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nEmergency override (\"Deploy now anyway\", \"Run now\"): outside the window, audited.","operationId":"run_now_api_projects__project_id__maintenance_actions__action_id__run_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"action_id","in":"path","required":true,"schema":{"type":"integer","title":"Action Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/projects/{project_id}/maintenance/actions/{action_id}/cancel":{"post":{"tags":["maintenance"],"summary":"Cancel","operationId":"cancel_api_projects__project_id__maintenance_actions__action_id__cancel_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"action_id","in":"path","required":true,"schema":{"type":"integer","title":"Action Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin","description":"**Personal access token:** accepted with the `admin` scope (or `admin`)."}},"/api/billing/details":{"get":{"tags":["billing"],"summary":"Get Details","operationId":"get_details_api_billing_details_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["billing"],"summary":"Save Details","description":"**Dashboard session only:** personal access tokens are refused.\n\nSaved here, then pushed to the Stripe Customer (name, address, tax ID) when the customer has one.","operationId":"save_details_api_billing_details_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetailsIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/billing/invoices":{"get":{"tags":["billing"],"summary":"Invoices","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe customer's Stripe invoices: number, amounts with VAT, hosted page and PDF links.","operationId":"invoices_api_billing_invoices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/tax":{"get":{"tags":["billing"],"summary":"Tax Settings","operationId":"tax_settings_api_platform_tax_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["billing"],"summary":"Save Tax Settings","operationId":"save_tax_settings_api_platform_tax_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/audit":{"get":{"tags":["audit trail"],"summary":"Platform Audit","operationId":"platform_audit_api_platform_audit_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"actor","in":"query","required":false,"schema":{"type":"string","default":"","title":"Actor"}},{"name":"action","in":"query","required":false,"schema":{"type":"string","default":"","title":"Action"}},{"name":"target_type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Target Type"}},{"name":"target_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Target Id"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","default":"","title":"Until"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Per Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/audit/export":{"get":{"tags":["audit trail"],"summary":"Platform Audit Export","operationId":"platform_audit_export_api_platform_audit_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"fmt","in":"query","required":false,"schema":{"type":"string","pattern":"^(csv|json)$","default":"csv","title":"Fmt"}},{"name":"actor","in":"query","required":false,"schema":{"type":"string","default":"","title":"Actor"}},{"name":"action","in":"query","required":false,"schema":{"type":"string","default":"","title":"Action"}},{"name":"target_type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Target Type"}},{"name":"target_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Target Id"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","default":"","title":"Until"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/audit/verify":{"post":{"tags":["audit trail"],"summary":"Platform Audit Verify","operationId":"platform_audit_verify_api_platform_audit_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/audit/settings":{"get":{"tags":["audit trail"],"summary":"Audit Settings","operationId":"audit_settings_api_platform_audit_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["audit trail"],"summary":"Save Audit Settings","operationId":"save_audit_settings_api_platform_audit_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetentionIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/deletion-requests":{"get":{"tags":["audit trail"],"summary":"Deletion Requests","operationId":"deletion_requests_api_platform_deletion_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/deletion-requests/{request_id}":{"post":{"tags":["audit trail"],"summary":"Decide Deletion","operationId":"decide_deletion_api_platform_deletion_requests__request_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/data-exports":{"get":{"tags":["audit trail"],"summary":"My Exports","operationId":"my_exports_api_me_data_exports_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["audit trail"],"summary":"Start My Export","operationId":"start_my_export_api_me_data_exports_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/data-exports/{export_id}/link":{"post":{"tags":["audit trail"],"summary":"Export Link","description":"**Dashboard session only:** personal access tokens are refused.\n\nA new download link (the previous one stops working): emailed to the account; returned here only when the\nplatform can't send email.","operationId":"export_link_api_me_data_exports__export_id__link_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"integer","title":"Export Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/export":{"post":{"tags":["audit trail"],"summary":"Start Project Export","operationId":"start_project_export_api_projects__project_id__export_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/exports":{"get":{"tags":["audit trail"],"summary":"Project Exports","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe signed-in admin's own exports of this project.","operationId":"project_exports_api_projects__project_id__exports_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/me/delete-account":{"get":{"tags":["audit trail"],"summary":"Deletion Status","operationId":"deletion_status_api_me_delete_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["audit trail"],"summary":"Request Deletion","operationId":"request_deletion_api_me_delete_account_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__audittrail__DeleteIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["audit trail"],"summary":"Withdraw Deletion","operationId":"withdraw_deletion_api_me_delete_account_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/status/subscribe":{"post":{"tags":["status"],"summary":"Subscribe","description":"**Dashboard session only:** personal access tokens are refused.\n\nAlways the same answer for a well-formed request: nobody learns whether an address is already subscribed.","operationId":"subscribe_api_public_status_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/public/status/confirm":{"post":{"tags":["status"],"summary":"Confirm","operationId":"confirm_api_public_status_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__statussubs__TokenIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/public/status/unsubscribe":{"post":{"tags":["status"],"summary":"Unsubscribe","description":"**Dashboard session only:** personal access tokens are refused.\n\nOne click: the page's button, or a mail client's List-Unsubscribe-Post (RFC 8058: the token is in the URL,\nthe body is \"List-Unsubscribe=One-Click\"). The same answer whether there was a subscription or not.","operationId":"unsubscribe_api_public_status_unsubscribe_post","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null},"get":{"tags":["status"],"summary":"Unsubscribe Page","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe email's unsubscribe link (and clients without RFC 8058 opening the List-Unsubscribe URL): the status page\n(in the subscriber's language), whose script unsubscribes with one POST. A GET itself never unsubscribes: mail\nsecurity scanners fetch every link of a message.","operationId":"unsubscribe_page_api_public_status_unsubscribe_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/status-subscribers":{"get":{"tags":["status"],"summary":"Subscriber Counts","operationId":"subscriber_counts_api_platform_status_subscribers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/status-subscribers.csv":{"get":{"tags":["status"],"summary":"Export","operationId":"export_api_platform_status_subscribers_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/whats-new":{"get":{"tags":["me"],"summary":"Whats New","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe entries this user may see (admins: the admins' ones too), newest first, and which ones are new to them.","operationId":"whats_new_api_me_whats_new_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/me/whats-new/seen":{"post":{"tags":["me"],"summary":"Whats New Seen","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe user opened What's new: everything up to that entry (the newest by default) is no longer new.","operationId":"whats_new_seen_api_me_whats_new_seen_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SeenIn"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/public/docs/feedback":{"post":{"tags":["docs"],"summary":"Feedback","operationId":"feedback_api_public_docs_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__docs__FeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/docs/feedback":{"get":{"tags":["docs"],"summary":"Feedback Counts","description":"**Dashboard session only:** personal access tokens are refused.\n\nVotes per public article, in the documentation's order (articles without votes included).","operationId":"feedback_counts_api_platform_docs_feedback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/users/{user_id}/overview":{"get":{"tags":["users"],"summary":"Overview","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe user detail page (/users/:id): their projects, linked servers, plans, trials and this month's usage.\nRead-only; never a secret (services/useroverview.py).","operationId":"overview_api_users__user_id__overview_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOverviewOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/users/{user_id}/removal":{"get":{"tags":["users"],"summary":"Removal Preview","description":"**Dashboard session only:** personal access tokens are refused.\n\nWhat \"Remove from the platform\" would do to this account, and what blocks it.","operationId":"removal_preview_api_users__user_id__removal_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/users/{user_id}/suspend":{"post":{"tags":["users"],"summary":"Suspend","operationId":"suspend_api_users__user_id__suspend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuspendIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/users/{user_id}/reactivate":{"post":{"tags":["users"],"summary":"Reactivate","operationId":"reactivate_api_users__user_id__reactivate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/users/{user_id}/remove":{"post":{"tags":["users"],"summary":"Remove","operationId":"remove_api_users__user_id__remove_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/users/{user_id}/restore":{"post":{"tags":["users"],"summary":"Restore","operationId":"restore_api_users__user_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/coupons/check":{"post":{"tags":["coupons"],"summary":"Check","operationId":"check_api_coupons_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/coupons":{"get":{"tags":["coupons"],"summary":"List Coupons","operationId":"list_coupons_api_platform_coupons_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}},{"name":"applies","in":"query","required":false,"schema":{"type":"string","default":"","title":"Applies"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"batch","in":"query","required":false,"schema":{"type":"string","default":"","title":"Batch"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"post":{"tags":["coupons"],"summary":"Create Coupon","operationId":"create_coupon_api_platform_coupons_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__coupons__CreateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/coupons/batch":{"post":{"tags":["coupons"],"summary":"Create Batch","operationId":"create_batch_api_platform_coupons_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/coupons/{coupon_id}":{"put":{"tags":["coupons"],"summary":"Set State","operationId":"set_state_api_platform_coupons__coupon_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"coupon_id","in":"path","required":true,"schema":{"type":"integer","title":"Coupon Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["coupons"],"summary":"Delete Coupon","operationId":"delete_coupon_api_platform_coupons__coupon_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"coupon_id","in":"path","required":true,"schema":{"type":"integer","title":"Coupon Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/coupons/export.csv":{"get":{"tags":["coupons"],"summary":"Export Csv","operationId":"export_csv_api_platform_coupons_export_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}},{"name":"applies","in":"query","required":false,"schema":{"type":"string","default":"","title":"Applies"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"batch","in":"query","required":false,"schema":{"type":"string","default":"","title":"Batch"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/push":{"get":{"tags":["me"],"summary":"Get Push","operationId":"get_push_api_me_push_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/push/key":{"get":{"tags":["me"],"summary":"Get Key","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe applicationServerKey for PushManager.subscribe().","operationId":"get_key_api_me_push_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/me/push/subscriptions":{"post":{"tags":["me"],"summary":"Subscribe","operationId":"subscribe_api_me_push_subscriptions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/push/unsubscribe":{"post":{"tags":["me"],"summary":"Unsubscribe","description":"**Dashboard session only:** personal access tokens are refused.\n\nThis browser turns push off (or signs out): its endpoint, as the browser knows it.","operationId":"unsubscribe_api_me_push_unsubscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/me/push/subscriptions/{device_id}":{"delete":{"tags":["me"],"summary":"Remove Device","operationId":"remove_device_api_me_push_subscriptions__device_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"integer","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/push/prefs":{"put":{"tags":["me"],"summary":"Put Prefs","operationId":"put_prefs_api_me_push_prefs_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__webpush__PrefsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/push/test":{"post":{"tags":["me"],"summary":"Send Test","operationId":"send_test_api_me_push_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/analytics":{"get":{"tags":["analytics"],"summary":"Dashboard","operationId":"dashboard_api_platform_analytics_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string","default":"","title":"From"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","default":"","title":"To"}},{"name":"area","in":"query","required":false,"schema":{"type":"string","default":"site","title":"Area"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/analytics/realtime":{"get":{"tags":["analytics"],"summary":"Realtime","operationId":"realtime_api_platform_analytics_realtime_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"area","in":"query","required":false,"schema":{"type":"string","default":"site","title":"Area"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/analytics/export.csv":{"get":{"tags":["analytics"],"summary":"Export","operationId":"export_api_platform_analytics_export_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string","default":"","title":"From"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","default":"","title":"To"}},{"name":"area","in":"query","required":false,"schema":{"type":"string","default":"site","title":"Area"}},{"name":"report","in":"query","required":false,"schema":{"type":"string","default":"daily","title":"Report"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/capacity":{"get":{"tags":["platform"],"summary":"Get Capacity","operationId":"get_capacity_api_platform_capacity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/capacity/settings":{"put":{"tags":["platform"],"summary":"Put Capacity Settings","operationId":"put_capacity_settings_api_platform_capacity_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacitySettings"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/self-backup":{"get":{"tags":["platform"],"summary":"Get Self Backup","operationId":"get_self_backup_api_platform_self_backup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/self-backup/recovery-key":{"post":{"tags":["platform"],"summary":"Create Recovery Key","description":"**Dashboard session only:** personal access tokens are refused.\n\nA new recovery passphrase, returned once. Replacing one needs replace=true: archives made before keep needing\nthe old passphrase.","operationId":"create_recovery_key_api_platform_self_backup_recovery_key_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryKeyIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/self-backup/recovery-key/check":{"post":{"tags":["platform"],"summary":"Check Recovery Key","operationId":"check_recovery_key_api_platform_self_backup_recovery_key_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassphraseIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/self-backup/run":{"post":{"tags":["platform"],"summary":"Run Self Backup","operationId":"run_self_backup_api_platform_self_backup_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/self-backup/restore-test":{"post":{"tags":["platform"],"summary":"Run Restore Test","operationId":"run_restore_test_api_platform_self_backup_restore_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/lifecycle":{"get":{"tags":["lifecycle emails"],"summary":"Overview","operationId":"overview_api_platform_lifecycle_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["lifecycle emails"],"summary":"Save","operationId":"save_api_platform_lifecycle_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__lifecycle__SettingsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/lifecycle/stats":{"get":{"tags":["lifecycle emails"],"summary":"Stats","operationId":"stats_api_platform_lifecycle_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","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"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/lifecycle/preview":{"post":{"tags":["lifecycle emails"],"summary":"Preview","operationId":"preview_api_platform_lifecycle_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__lifecycle__PreviewIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/lifecycle/test":{"post":{"tags":["lifecycle emails"],"summary":"Send Test","operationId":"send_test_api_platform_lifecycle_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__lifecycle__PreviewIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/me/product-emails":{"get":{"tags":["lifecycle emails"],"summary":"My Product Emails","operationId":"my_product_emails_api_me_product_emails_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["lifecycle emails"],"summary":"Set My Product Emails","operationId":"set_my_product_emails_api_me_product_emails_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductEmailsIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/lifecycle/resume":{"post":{"tags":["lifecycle emails"],"summary":"Resume","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe Resume link of a checkout reminder (the dashboard's /resume page posts its token, signed in). The token is\nchecked (signature, purpose, expiry), then that it belongs to the signed-in account; each hit is counted.","operationId":"resume_api_lifecycle_resume_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeIn"}}},"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":[]}],"x-access-token-scope":null}},"/api/platform/growth":{"get":{"tags":["growth autopilot"],"summary":"Overview","operationId":"overview_api_platform_growth_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["growth autopilot"],"summary":"Save","operationId":"save_api_platform_growth_put","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Data"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/stats":{"get":{"tags":["growth autopilot"],"summary":"Stats","operationId":"stats_api_platform_growth_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","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"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/activity":{"get":{"tags":["growth autopilot"],"summary":"Activity","operationId":"activity_api_platform_growth_activity_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"track","in":"query","required":false,"schema":{"type":"string","default":"","title":"Track"}},{"name":"offer","in":"query","required":false,"schema":{"type":"string","default":"","title":"Offer"}},{"name":"outcome","in":"query","required":false,"schema":{"type":"string","default":"","title":"Outcome"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","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"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/emails/{gid}":{"get":{"tags":["growth autopilot"],"summary":"Email","operationId":"email_api_platform_growth_emails__gid__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"gid","in":"path","required":true,"schema":{"type":"integer","title":"Gid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/emails/{gid}/approve":{"post":{"tags":["growth autopilot"],"summary":"Approve","operationId":"approve_api_platform_growth_emails__gid__approve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"gid","in":"path","required":true,"schema":{"type":"integer","title":"Gid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/emails/{gid}/discard":{"post":{"tags":["growth autopilot"],"summary":"Discard","operationId":"discard_api_platform_growth_emails__gid__discard_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"gid","in":"path","required":true,"schema":{"type":"integer","title":"Gid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/approve-all":{"post":{"tags":["growth autopilot"],"summary":"Approve All","description":"**Dashboard session only:** personal access tokens are refused.\n\nEvery draft waiting for approval, oldest first; one that can't go (unsubscribed since, emailed in the last 24\nhours…) stays queued and is reported.","operationId":"approve_all_api_platform_growth_approve_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/growth/playbook":{"get":{"tags":["growth autopilot"],"summary":"Playbook Versions","operationId":"playbook_versions_api_platform_growth_playbook_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["growth autopilot"],"summary":"Save Playbook","operationId":"save_playbook_api_platform_growth_playbook_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaybookIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/playbook/{version}/restore":{"post":{"tags":["growth autopilot"],"summary":"Restore Playbook","operationId":"restore_playbook_api_platform_growth_playbook__version__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/people":{"get":{"tags":["growth autopilot"],"summary":"People","description":"**Dashboard session only:** personal access tokens are refused.\n\nAccounts to preview with (name or email contains q), with their track today or why they get nothing.","operationId":"people_api_platform_growth_people_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/growth/preview":{"post":{"tags":["growth autopilot"],"summary":"Preview","operationId":"preview_api_platform_growth_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__growth__PreviewIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/growth/test":{"post":{"tags":["growth autopilot"],"summary":"Send Test","operationId":"send_test_api_platform_growth_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__growth__TestIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/users/{user_id}/growth":{"get":{"tags":["growth autopilot"],"summary":"User Growth","operationId":"user_growth_api_users__user_id__growth_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/users/{user_id}/growth/pause":{"put":{"tags":["growth autopilot"],"summary":"Pause","operationId":"pause_api_users__user_id__growth_pause_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PauseIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/apps":{"get":{"tags":["apps"],"summary":"Search Apps","operationId":"search_apps_api_apps_get","security":[{"AccessToken":[]}],"parameters":[{"name":"version","in":"query","required":false,"schema":{"type":"string","default":"18.0","title":"Version"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"","title":"Category"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."}},"/api/apps/{version}/{technical_name}":{"get":{"tags":["apps"],"summary":"App Detail","operationId":"app_detail_api_apps__version___technical_name__get","security":[{"AccessToken":[]}],"parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"technical_name","in":"path","required":true,"schema":{"type":"string","title":"Technical Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read","description":"**Personal access token:** accepted with the `read` scope (or `admin`)."}},"/api/projects/{project_id}/branches/{branch_id}/apps":{"post":{"tags":["apps"],"summary":"Add Apps","description":"**Personal access token:** accepted with the `admin` scope (or `admin`).\n\nCommit OCA/<repo> as a submodule (oca/<repo>, branch <version>) and the modules' Python dependencies on a\ndevelopment branch. The push webhook builds it (or a build is queued here when the project has no webhook).","operationId":"add_apps_api_projects__project_id__branches__branch_id__apps_post","security":[{"AccessToken":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"integer","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddAppsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"admin"}},"/api/platform/apps":{"get":{"tags":["apps"],"summary":"Catalog Status","operationId":"catalog_status_api_platform_apps_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/apps/refresh":{"post":{"tags":["apps"],"summary":"Refresh Catalog","operationId":"refresh_catalog_api_platform_apps_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/cli/info":{"get":{"tags":["command-line tool"],"summary":"Info","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe tool's version and SHA-256, the install command, the SSH gateway (kv shell), the documentation.","operationId":"info_api_cli_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null}},"/api/cli/device":{"post":{"tags":["command-line tool"],"summary":"Start Device","description":"**Dashboard session only:** personal access tokens are refused.\n\nA new sign-in request: the device code (secret, for polling), the user code to show, the approval page.","operationId":"start_device_api_cli_device_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/cli/device/token":{"post":{"tags":["command-line tool"],"summary":"Poll Device","description":"**Dashboard session only:** personal access tokens are refused.\n\n400 {error: authorization_pending | slow_down | access_denied | expired_token | invalid_grant, message} until\nthe user approves; then the token, once.","operationId":"poll_device_api_cli_device_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/cli/device/{user_code}":{"get":{"tags":["command-line tool"],"summary":"Read Device","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe approval page: the device, where the request came from, the scopes it asks for.","operationId":"read_device_api_cli_device__user_code__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_code","in":"path","required":true,"schema":{"type":"string","title":"User Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/cli/device/{user_code}/approve":{"post":{"tags":["command-line tool"],"summary":"Approve Device","description":"**Dashboard session only:** personal access tokens are refused.\n\nApprove: needs a sign-in from the last 30 minutes and, with two-factor on, a current code (like creating a\ntoken in the Profile). The token is created when the CLI collects it.","operationId":"approve_device_api_cli_device__user_code__approve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_code","in":"path","required":true,"schema":{"type":"string","title":"User Code"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/cli/device/{user_code}/deny":{"post":{"tags":["command-line tool"],"summary":"Deny Device","operationId":"deny_device_api_cli_device__user_code__deny_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_code","in":"path","required":true,"schema":{"type":"string","title":"User Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/cli/token":{"delete":{"tags":["command-line tool"],"summary":"Revoke Own Token","description":"**Personal access token:** accepted with any scope.\n\n`kv logout`: the token making this request revokes itself (and only itself).","operationId":"revoke_own_token_api_cli_token_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"any"}},"/api/cli/workspaces":{"get":{"tags":["command-line tool"],"summary":"Workspaces","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\n`kv workspaces`: Personal and the organizations this user belongs to, with their role. A token limited to an\norganization lists only that one.","operationId":"workspaces_api_cli_workspaces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"read"}},"/api/cli/servers":{"get":{"tags":["command-line tool"],"summary":"Servers","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nYour linked servers (platform admins: every server; owner as on the Linked servers page), without install\ncommands, keys or link tokens. In an organization's workspace (kv --workspace): its servers (owners, admins).","operationId":"servers_api_cli_servers_get","security":[{"AccessToken":[]}],"parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":"read"}},"/api/cli/installs":{"get":{"tags":["command-line tool"],"summary":"Installs","description":"**Personal access token:** accepted with the `read` scope (or `admin`).\n\nOdoo installs on your linked servers (a summary: never credentials). In an organization's workspace: its\ninstalls (billing roles).","operationId":"installs_api_cli_installs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AccessToken":[]}],"x-access-token-scope":"read"}},"/api/projects/{project_id}/inbound":{"get":{"tags":["incoming email"],"summary":"Project Inbound","operationId":"project_inbound_api_projects__project_id__inbound_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["incoming email"],"summary":"Update Project Inbound","operationId":"update_project_inbound_api_projects__project_id__inbound_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/inbound/domains":{"post":{"tags":["incoming email"],"summary":"Add Domain","operationId":"add_domain_api_projects__project_id__inbound_domains_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__inbound__DomainIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/inbound/domains/{domain_id}/check":{"post":{"tags":["incoming email"],"summary":"Check Domain","operationId":"check_domain_api_projects__project_id__inbound_domains__domain_id__check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/inbound/domains/{domain_id}":{"delete":{"tags":["incoming email"],"summary":"Remove Domain","operationId":"remove_domain_api_projects__project_id__inbound_domains__domain_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/inbound/test":{"post":{"tags":["incoming email"],"summary":"Send Test","operationId":"send_test_api_projects__project_id__inbound_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__inbound__TestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/inbound/configure":{"post":{"tags":["incoming email"],"summary":"Configure","operationId":"configure_api_projects__project_id__inbound_configure_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/projects/{project_id}/inbound/restart":{"post":{"tags":["incoming email"],"summary":"Restart Production","description":"**Dashboard session only:** personal access tokens are refused.\n\nLoad the mail gateway into a production container built before it existed: copy it in and restart.","operationId":"restart_production_api_projects__project_id__inbound_restart_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/projects/{project_id}/inbound/mails/{mail_id}/retry":{"post":{"tags":["incoming email"],"summary":"Retry Mail","operationId":"retry_mail_api_projects__project_id__inbound_mails__mail_id__retry_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}},{"name":"mail_id","in":"path","required":true,"schema":{"type":"integer","title":"Mail Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/inbound":{"get":{"tags":["incoming email"],"summary":"Platform Inbound","operationId":"platform_inbound_api_platform_inbound_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"put":{"tags":["incoming email"],"summary":"Update Platform Inbound","operationId":"update_platform_inbound_api_platform_inbound_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformInboundIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/inbound/check":{"get":{"tags":["incoming email"],"summary":"Platform Inbound Check","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe live checks (DNS, kv-mx answering): a few seconds, so separate from the settings.","operationId":"platform_inbound_check_api_platform_inbound_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/orgs":{"get":{"tags":["organizations"],"summary":"My Orgs","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe workspace switcher: Personal, then every organization the user belongs to, with their role.","operationId":"my_orgs_api_orgs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null},"post":{"tags":["organizations"],"summary":"Create Org","operationId":"create_org_api_orgs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__orgs__CreateIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/orgs/{org_id}":{"get":{"tags":["organizations"],"summary":"Org Detail","description":"**Dashboard session only:** personal access tokens are refused.\n\nMembers see their organization; a platform admin outside it gets a read-only view (admin_view, audited).","operationId":"org_detail_api_orgs__org_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null},"patch":{"tags":["organizations"],"summary":"Update Org","operationId":"update_org_api_orgs__org_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/orgs/{org_id}/delete":{"post":{"tags":["organizations"],"summary":"Delete Org","operationId":"delete_org_api_orgs__org_id__delete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__orgs__DeleteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/orgs/{org_id}/invites":{"post":{"tags":["organizations"],"summary":"Invite","description":"**Dashboard session only:** personal access tokens are refused.\n\nAn invitation emailed to the address (a link that works once and expires in 7 days).","operationId":"invite_api_orgs__org_id__invites_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/orgs/{org_id}/invites/{invite_id}":{"delete":{"tags":["organizations"],"summary":"Revoke Invite","operationId":"revoke_invite_api_orgs__org_id__invites__invite_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}},{"name":"invite_id","in":"path","required":true,"schema":{"type":"integer","title":"Invite Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/orgs/{org_id}/members/{user_id}":{"put":{"tags":["organizations"],"summary":"Change Role","operationId":"change_role_api_orgs__org_id__members__user_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."},"delete":{"tags":["organizations"],"summary":"Remove Member","description":"**Dashboard session only:** personal access tokens are refused.\n\nOwners and admins remove someone; anyone removes themselves (leaves). The last owner stays.","operationId":"remove_member_api_orgs__org_id__members__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/orgs/{org_id}/alerts":{"put":{"tags":["organizations"],"summary":"My Alerts","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe signed-in member's own choice: the organization's alerts (downtime, servers, backups, installs, builds and,\nfor billing roles, payments) in their bell and inbox, or not. Web push then follows Profile → Notifications.","operationId":"my_alerts_api_orgs__org_id__alerts_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/orgs/{org_id}/transferable":{"get":{"tags":["organizations"],"summary":"Transferable","operationId":"transferable_api_orgs__org_id__transferable_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/orgs/{org_id}/transfer":{"post":{"tags":["organizations"],"summary":"Transfer","description":"**Dashboard session only:** personal access tokens are refused.\n\nAn owner moves one of their personal projects, servers or hosting plans into the organization.","operationId":"transfer_api_orgs__org_id__transfer_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/orgs/invites/accept":{"post":{"tags":["organizations"],"summary":"Accept","operationId":"accept_api_orgs_invites_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__orgs__TokenIn"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/orgs":{"get":{"tags":["organizations"],"summary":"All Orgs","description":"**Dashboard session only:** personal access tokens are refused.\n\nPlatform → Organizations: every organization, its owners, members and what it pays for.","operationId":"all_orgs_api_platform_orgs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/orgs/{org_id}/open":{"post":{"tags":["organizations"],"summary":"Open As Admin","description":"**Dashboard session only:** personal access tokens are refused.\n\nUsers → Organizations → Open as admin: the dashboard switches into the organization's workspace read-only\n(projects, servers, billing as its members see them, under a \"Viewing … as platform admin\" banner). Audited\nhere, then at most hourly while the admin keeps browsing it (services/orgs.audit_view).","operationId":"open_as_admin_api_platform_orgs__org_id__open_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"integer","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-access-token-scope":null}},"/api/platform/org-memberships":{"get":{"tags":["organizations"],"summary":"Org Memberships","description":"**Dashboard session only:** personal access tokens are refused.\n\nThe Users page: each user's organizations and roles ({user_id: [{id, name, role}]}).","operationId":"org_memberships_api_platform_org_memberships_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null}},"/api/platform/launch-rehearsal":{"get":{"tags":["platform"],"summary":"Get Rehearsal","operationId":"get_rehearsal_api_platform_launch_rehearsal_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/launch-rehearsal/settings":{"put":{"tags":["platform"],"summary":"Put Rehearsal Settings","operationId":"put_rehearsal_settings_api_platform_launch_rehearsal_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RehearsalSettings"}}},"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":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/platform/launch-rehearsal/run":{"post":{"tags":["platform"],"summary":"Run Rehearsal","operationId":"run_rehearsal_api_platform_launch_rehearsal_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"x-access-token-scope":null,"description":"**Dashboard session only:** personal access tokens are refused."}}},"components":{"schemas":{"AccentIn":{"properties":{"preset":{"type":"string","enum":["default","ocean","emerald","sunset","indigo","graphite","custom"],"title":"Preset","default":"default"},"from":{"type":"string","maxLength":7,"title":"From","default":""},"to":{"type":"string","maxLength":7,"title":"To","default":""}},"type":"object","title":"AccentIn"},"AddAppsIn":{"properties":{"repo":{"type":"string","maxLength":100,"title":"Repo"},"version":{"type":"string","maxLength":16,"title":"Version"},"modules":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Modules"},"also":{"items":{"type":"string","maxLength":100},"type":"array","maxItems":10,"title":"Also"},"install":{"type":"boolean","title":"Install","default":false},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["repo","version","modules"],"title":"AddAppsIn"},"AddressIn":{"properties":{"line1":{"type":"string","maxLength":200,"title":"Line1","default":""},"line2":{"type":"string","maxLength":200,"title":"Line2","default":""},"city":{"type":"string","maxLength":100,"title":"City","default":""},"state":{"type":"string","maxLength":100,"title":"State","default":""},"postal_code":{"type":"string","maxLength":20,"title":"Postal Code","default":""},"country":{"type":"string","maxLength":2,"title":"Country","default":""}},"type":"object","title":"AddressIn"},"AdminLinkIn":{"properties":{"project_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"}},"type":"object","title":"AdminLinkIn"},"AdminUserOut":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"is_admin":{"type":"boolean","title":"Is Admin"},"github_login":{"type":"string","title":"Github Login","default":""},"google_email":{"type":"string","title":"Google Email","default":""},"avatar_url":{"type":"string","title":"Avatar Url","default":""},"has_subscription":{"type":"boolean","title":"Has Subscription","default":false},"project_slots":{"type":"integer","title":"Project Slots","default":0},"has_password":{"type":"boolean","title":"Has Password","default":false},"two_factor_enabled":{"type":"boolean","title":"Two Factor Enabled","default":false},"two_factor_setup_required":{"type":"boolean","title":"Two Factor Setup Required","default":false},"email_verified":{"type":"boolean","title":"Email Verified","default":true},"account_status":{"type":"string","title":"Account Status","default":"active"},"suspended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Suspended At"},"suspended_by":{"type":"string","title":"Suspended By","default":""},"suspend_reason":{"type":"string","title":"Suspend Reason","default":""},"removed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Removed At"},"removed_by":{"type":"string","title":"Removed By","default":""},"anonymized_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Anonymized At"},"restore_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Restore Until"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"projects_count":{"type":"integer","title":"Projects Count","default":0},"servers_count":{"type":"integer","title":"Servers Count","default":0},"monthly":{"items":{"$ref":"#/components/schemas/MoneyOut"},"type":"array","title":"Monthly","default":[]}},"type":"object","required":["id","email","name","is_admin"],"title":"AdminUserOut","description":"GET /users (platform admins): the account's suspension / removal details too."},"AlertsIn":{"properties":{"on":{"type":"boolean","title":"On"}},"type":"object","required":["on"],"title":"AlertsIn"},"AnnouncementIn":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"body":{"type":"string","maxLength":5000,"title":"Body","default":""},"severity":{"type":"string","enum":["info","maintenance","minor","major"],"title":"Severity","default":"info"},"regions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Regions"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"notify":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify"}},"type":"object","required":["title"],"title":"AnnouncementIn"},"ApproveIn":{"properties":{"expires_in_days":{"type":"integer","title":"Expires In Days","default":90},"code":{"type":"string","maxLength":64,"title":"Code","default":""},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Scopes"}},"type":"object","title":"ApproveIn"},"AskIn":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"},"conversation":{"type":"string","maxLength":64,"title":"Conversation","default":""},"page":{"type":"string","maxLength":500,"title":"Page","default":""},"locale":{"type":"string","maxLength":8,"title":"Locale","default":"en"}},"type":"object","required":["message"],"title":"AskIn"},"AssignIn":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"AssignIn"},"AwsIn":{"properties":{"access_key_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Access Key Id"},"secret_access_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Secret Access Key"},"regions":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Regions"},"instance_types":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Instance Types"},"volume_gb":{"anyOf":[{"type":"integer","maximum":4000.0,"minimum":30.0},{"type":"null"}],"title":"Volume Gb"},"auto_resize_at_night":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Resize At Night"}},"type":"object","title":"AwsIn"},"AwsTestIn":{"properties":{"access_key_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Access Key Id"},"secret_access_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Secret Access Key"}},"type":"object","title":"AwsTestIn"},"BackupIn":{"properties":{"database":{"type":"string","maxLength":63,"title":"Database"}},"type":"object","required":["database"],"title":"BackupIn"},"BackupOut":{"properties":{"id":{"type":"integer","title":"Id"},"project_id":{"type":"integer","title":"Project Id"},"branch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Branch Id"},"db_name":{"type":"string","title":"Db Name"},"size":{"type":"integer","title":"Size"},"kind":{"type":"string","title":"Kind"},"status":{"type":"string","title":"Status"},"error":{"type":"string","title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"offsite_status":{"type":"string","title":"Offsite Status","default":"none"},"offsite_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Offsite At"},"offsite_error":{"type":"string","title":"Offsite Error","default":""},"local":{"type":"boolean","title":"Local","default":true},"db_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Db Bytes"},"filestore_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Filestore Bytes"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"verify_status":{"type":"string","title":"Verify Status","default":""},"verify_detail":{"type":"string","title":"Verify Detail","default":""},"server_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Server Id"}},"type":"object","required":["id","project_id","branch_id","db_name","size","kind","status","error","created_at"],"title":"BackupOut"},"BatchIn":{"properties":{"percent_off":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Percent Off"},"applies_to":{"items":{"type":"string","enum":["hosting","servers","install","support"]},"type":"array","maxItems":4,"minItems":1,"title":"Applies To"},"interval":{"type":"string","enum":["any","month","year"],"title":"Interval","default":"any"},"duration":{"type":"string","enum":["once","months","years","forever"],"title":"Duration","default":"once"},"duration_count":{"type":"integer","maximum":36.0,"minimum":0.0,"title":"Duration Count","default":0},"valid_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Valid Until"},"customer_email":{"type":"string","maxLength":254,"title":"Customer Email","default":""},"note":{"type":"string","maxLength":500,"title":"Note","default":""},"count":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Count"},"prefix":{"type":"string","maxLength":12,"title":"Prefix","default":"KV"}},"type":"object","required":["percent_off","applies_to","count"],"title":"BatchIn"},"Body_import_database_api_branches__branch_id__import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"neutralize":{"type":"boolean","title":"Neutralize","default":true}},"type":"object","required":["file"],"title":"Body_import_database_api_branches__branch_id__import_post"},"Body_upload_logo_api_platform_branding_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_logo_api_platform_branding_logo_post"},"Body_upload_source_api_platform_enterprise_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_source_api_platform_enterprise_upload_post"},"BranchCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"pattern":"^[A-Za-z0-9._/-]+$","title":"Name"},"from_branch_id":{"type":"integer","title":"From Branch Id"}},"type":"object","required":["name","from_branch_id"],"title":"BranchCreate"},"BranchDomain":{"properties":{"host":{"type":"string","title":"Host"},"status":{"type":"string","title":"Status"},"is_primary":{"type":"boolean","title":"Is Primary","default":false}},"type":"object","required":["host","status"],"title":"BranchDomain"},"BranchOut":{"properties":{"id":{"type":"integer","title":"Id"},"project_id":{"type":"integer","title":"Project Id"},"name":{"type":"string","title":"Name"},"stage":{"type":"string","title":"Stage"},"on_commit":{"type":"string","title":"On Commit"},"install_mode":{"type":"string","title":"Install Mode"},"install_modules":{"type":"string","title":"Install Modules"},"run_tests":{"type":"boolean","title":"Run Tests"},"test_tags":{"type":"string","title":"Test Tags"},"demo":{"type":"boolean","title":"Demo"},"use_default":{"type":"boolean","title":"Use Default","default":true},"odoo_version":{"type":"string","title":"Odoo Version","default":""},"pinned_image":{"type":"string","title":"Pinned Image","default":""},"pinned_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pinned Until"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_build":{"anyOf":[{"$ref":"#/components/schemas/BuildOut"},{"type":"null"}]},"running_build":{"anyOf":[{"$ref":"#/components/schemas/BuildOut"},{"type":"null"}]},"can_use_tools":{"type":"boolean","title":"Can Use Tools","default":false},"needs_rebuild":{"type":"string","title":"Needs Rebuild","default":""},"upgrade_target":{"type":"string","title":"Upgrade Target","default":""},"domains":{"items":{"$ref":"#/components/schemas/BranchDomain"},"type":"array","title":"Domains","default":[]},"pr_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pr Number"},"untrusted":{"type":"boolean","title":"Untrusted","default":false},"pr_note":{"type":"string","title":"Pr Note","default":""}},"type":"object","required":["id","project_id","name","stage","on_commit","install_mode","install_modules","run_tests","test_tags","demo","created_at"],"title":"BranchOut"},"BranchPatch":{"properties":{"stage":{"anyOf":[{"type":"string","pattern":"^(production|staging|development)$"},{"type":"null"}],"title":"Stage"},"on_commit":{"anyOf":[{"type":"string","pattern":"^(new|update|nothing)$"},{"type":"null"}],"title":"On Commit"},"install_mode":{"anyOf":[{"type":"string","pattern":"^(mine|full|list)$"},{"type":"null"}],"title":"Install Mode"},"install_modules":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Install Modules"},"run_tests":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Run Tests"},"test_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Tags"},"demo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Demo"},"odoo_version":{"anyOf":[{"type":"string","pattern":"^(\\d+\\.0)?$"},{"type":"null"}],"title":"Odoo Version"},"revision":{"anyOf":[{"type":"string","pattern":"^(latest|pin|odoo@sha256:[0-9a-f]{64})$"},{"type":"null"}],"title":"Revision"},"use_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Default"}},"type":"object","title":"BranchPatch"},"BrandingIn":{"properties":{"name":{"type":"string","maxLength":200,"title":"Name"},"tagline":{"type":"string","maxLength":200,"title":"Tagline","default":""},"accent":{"$ref":"#/components/schemas/AccentIn","default":{"preset":"default","from":"","to":""}}},"type":"object","required":["name"],"title":"BrandingIn"},"BuildOut":{"properties":{"id":{"type":"integer","title":"Id"},"branch_id":{"type":"integer","title":"Branch Id"},"stage":{"type":"string","title":"Stage"},"result":{"type":"string","title":"Result"},"mode":{"type":"string","title":"Mode"},"commit_sha":{"type":"string","title":"Commit Sha"},"commit_message":{"type":"string","title":"Commit Message"},"commit_author":{"type":"string","title":"Commit Author"},"trigger":{"type":"string","title":"Trigger"},"status":{"type":"string","title":"Status"},"db_name":{"type":"string","title":"Db Name"},"url":{"type":"string","title":"Url"},"error":{"type":"string","title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"sleeping":{"type":"boolean","title":"Sleeping","default":false},"slept_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Slept At"},"last_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Visit At"}},"type":"object","required":["id","branch_id","stage","result","mode","commit_sha","commit_message","commit_author","trigger","status","db_name","url","error","created_at","started_at","finished_at"],"title":"BuildOut"},"BusinessHoursIn":{"properties":{"utc_offset":{"type":"number","title":"Utc Offset","default":4},"start":{"type":"integer","title":"Start","default":9},"end":{"type":"integer","title":"End","default":18},"days":{"items":{"type":"integer"},"type":"array","maxItems":7,"title":"Days"}},"type":"object","title":"BusinessHoursIn"},"CapacitySettings":{"properties":{"auto_cleanup":{"type":"boolean","title":"Auto Cleanup"}},"type":"object","required":["auto_cleanup"],"title":"CapacitySettings"},"ChangeIn":{"properties":{"workers":{"type":"integer","title":"Workers"},"storage_gb":{"type":"integer","title":"Storage Gb"},"staging":{"type":"integer","title":"Staging","default":0},"end_trial":{"type":"boolean","title":"End Trial","default":false}},"type":"object","required":["workers","storage_gb"],"title":"ChangeIn"},"CheckIn":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"},"kind":{"type":"string","enum":["hosting","servers","install","support"],"title":"Kind"},"interval":{"type":"string","enum":["month","year",""],"title":"Interval","default":"month"},"workers":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Workers"},"storage_gb":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Storage Gb"},"staging":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Staging"},"region":{"type":"string","pattern":"^([a-z][a-z0-9-]{0,31})?$","title":"Region","default":""},"project_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"},"install_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Install Id"},"offer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offer Id"}},"type":"object","required":["code","kind"],"title":"CheckIn"},"ClaimIn":{"properties":{"token":{"type":"string","maxLength":100,"minLength":20,"title":"Token"}},"type":"object","required":["token"],"title":"ClaimIn"},"CleanupIn":{"properties":{"confirm":{"type":"string","maxLength":63,"title":"Confirm"}},"type":"object","required":["confirm"],"title":"CleanupIn"},"ClientPatch":{"properties":{"role":{"anyOf":[{"type":"string","enum":["client_admin","client_viewer"]},{"type":"null"}],"title":"Role"},"databases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Databases"},"all_databases":{"type":"boolean","title":"All Databases","default":false},"can_restart":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Can Restart"}},"type":"object","title":"ClientPatch"},"ClientProjectIn":{"properties":{"name":{"type":"string","maxLength":100,"minLength":2,"title":"Name"},"slug":{"anyOf":[{"type":"string","maxLength":30,"minLength":2,"pattern":"^[a-z0-9]+(-[a-z0-9]+)*$"},{"type":"null"}],"title":"Slug"},"repo_url":{"type":"string","title":"Repo Url","default":""},"repo_full_name":{"type":"string","title":"Repo Full Name","default":""},"create_repo":{"type":"boolean","title":"Create Repo","default":false},"enterprise":{"type":"boolean","title":"Enterprise","default":false},"enterprise_code":{"type":"string","pattern":"^[A-Za-z0-9._-]{0,64}$","title":"Enterprise Code","default":""},"git_token":{"type":"string","title":"Git Token","default":""},"odoo_version":{"type":"string","pattern":"^\\d+\\.0$","title":"Odoo Version","default":"17.0"},"subscription_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscription Id"},"region":{"type":"string","pattern":"^([a-z][a-z0-9-]{0,31})?$","title":"Region","default":""},"client_org_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Client Org Id"}},"type":"object","required":["name"],"title":"ClientProjectIn"},"CommitIn":{"properties":{"message":{"type":"string","minLength":1,"title":"Message"},"paths":{"items":{"type":"string"},"type":"array","title":"Paths"}},"type":"object","required":["message","paths"],"title":"CommitIn"},"ContactIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"company":{"type":"string","maxLength":160,"title":"Company","default":""},"phone":{"type":"string","maxLength":40,"title":"Phone","default":""},"topic":{"type":"string","maxLength":32,"title":"Topic","default":"sales"},"message":{"type":"string","maxLength":5000,"title":"Message","default":""},"plan":{"type":"string","maxLength":1000,"title":"Plan","default":""},"locale":{"type":"string","maxLength":8,"title":"Locale","default":"en"},"website":{"type":"string","maxLength":200,"title":"Website","default":""}},"type":"object","required":["name","email"],"title":"ContactIn"},"DecideIn":{"properties":{"status":{"type":"string","pattern":"^(processed|declined)$","title":"Status"},"note":{"type":"string","maxLength":2000,"title":"Note","default":""}},"type":"object","required":["status"],"title":"DecideIn"},"DeclineIn":{"properties":{"reason":{"type":"string","maxLength":2000,"title":"Reason","default":""}},"type":"object","title":"DeclineIn"},"DetailsIn":{"properties":{"company_name":{"type":"string","maxLength":200,"title":"Company Name","default":""},"address":{"$ref":"#/components/schemas/AddressIn","default":{"line1":"","line2":"","city":"","state":"","postal_code":"","country":""}},"trn":{"type":"string","maxLength":24,"title":"Trn","default":""}},"type":"object","title":"DetailsIn"},"DeviceIn":{"properties":{"device_name":{"type":"string","maxLength":200,"title":"Device Name","default":""},"scopes":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Scopes"},"project_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":100},{"type":"null"}],"title":"Project Ids"}},"type":"object","title":"DeviceIn"},"DisableIn":{"properties":{"password":{"type":"string","maxLength":512,"minLength":1,"title":"Password"},"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"}},"type":"object","required":["password","code"],"title":"DisableIn"},"DomainOut":{"properties":{"id":{"type":"integer","title":"Id"},"project_id":{"type":"integer","title":"Project Id"},"branch_id":{"type":"integer","title":"Branch Id"},"branch_name":{"type":"string","title":"Branch Name","default":""},"stage":{"type":"string","title":"Stage","default":""},"host":{"type":"string","title":"Host"},"status":{"type":"string","title":"Status"},"detail":{"type":"string","title":"Detail"},"is_primary":{"type":"boolean","title":"Is Primary"},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"apex":{"type":"boolean","title":"Apex","default":false},"platform":{"type":"boolean","title":"Platform","default":false},"record_type":{"type":"string","title":"Record Type","default":"CNAME"},"record_value":{"type":"string","title":"Record Value","default":""},"cert":{"type":"string","title":"Cert","default":""}},"type":"object","required":["id","project_id","branch_id","host","status","detail","is_primary","checked_at","created_at"],"title":"DomainOut"},"DomainPatch":{"properties":{"branch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Branch Id"},"is_primary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Primary"}},"type":"object","title":"DomainPatch"},"DowntimeAlertsIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"DowntimeAlertsIn"},"EmailIn":{"properties":{"host":{"type":"string","maxLength":253,"minLength":1,"title":"Host"},"port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Port"},"security":{"type":"string","enum":["starttls","ssl","none"],"title":"Security","default":"starttls"},"username":{"type":"string","maxLength":254,"title":"Username","default":""},"password":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Password"},"clear_password":{"type":"boolean","title":"Clear Password","default":false},"from_address":{"type":"string","maxLength":254,"minLength":3,"title":"From Address"},"from_filter":{"type":"string","maxLength":500,"title":"From Filter","default":""}},"type":"object","required":["host","port","from_address"],"title":"EmailIn"},"EventOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","title":"Kind"},"message":{"type":"string","title":"Message"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"user_name":{"type":"string","title":"User Name","default":""},"status":{"type":"string","title":"Status","default":""},"build_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Id"},"log_from":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Log From"},"log_to":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Log To"}},"type":"object","required":["id","kind","message","created_at"],"title":"EventOut"},"ExplainIn":{"properties":{"again":{"type":"boolean","title":"Again","default":false}},"type":"object","title":"ExplainIn"},"FileIn":{"properties":{"path":{"type":"string","title":"Path"},"content":{"type":"string","title":"Content"},"revert":{"type":"boolean","title":"Revert","default":false}},"type":"object","required":["path","content"],"title":"FileIn"},"FindingState":{"properties":{"key":{"type":"string","maxLength":300,"minLength":3,"title":"Key"},"state":{"type":"string","pattern":"^(open|acknowledged|ignored)$","title":"State"},"note":{"type":"string","maxLength":500,"title":"Note","default":""}},"type":"object","required":["key","state"],"title":"FindingState"},"FixApply":{"properties":{"fix":{"type":"string","maxLength":40,"minLength":3,"pattern":"^[a-z][a-z_]{2,39}$","title":"Fix"},"target":{"type":"string","maxLength":253,"minLength":1,"title":"Target"},"confirm":{"type":"string","maxLength":300,"title":"Confirm","default":""},"finding_key":{"type":"string","maxLength":300,"title":"Finding Key","default":""}},"type":"object","required":["fix","target"],"title":"FixApply"},"FixTarget":{"properties":{"fix":{"type":"string","maxLength":40,"minLength":3,"pattern":"^[a-z][a-z_]{2,39}$","title":"Fix"},"target":{"type":"string","maxLength":253,"minLength":1,"title":"Target"}},"type":"object","required":["fix","target"],"title":"FixTarget"},"GenerateIn":{"properties":{"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"},"email":{"type":"boolean","title":"Email","default":false}},"type":"object","title":"GenerateIn"},"GoogleSettingsIn":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"client_id":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Client Id"},"client_secret":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Client Secret"},"domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"string"},{"type":"null"}],"title":"Domains"}},"type":"object","title":"GoogleSettingsIn"},"GrantIn":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"complimentary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Complimentary"}},"type":"object","required":["email"],"title":"GrantIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HandledIn":{"properties":{"handled":{"type":"boolean","title":"Handled"}},"type":"object","required":["handled"],"title":"HandledIn"},"HandoverIn":{"properties":{"conversation":{"type":"string","maxLength":64,"title":"Conversation","default":""},"message":{"type":"string","maxLength":5000,"title":"Message","default":""},"name":{"type":"string","maxLength":120,"title":"Name","default":""},"email":{"type":"string","maxLength":254,"title":"Email","default":""},"page":{"type":"string","maxLength":500,"title":"Page","default":""},"locale":{"type":"string","maxLength":8,"title":"Locale","default":"en"},"website":{"type":"string","maxLength":200,"title":"Website","default":""}},"type":"object","title":"HandoverIn"},"HookIn":{"properties":{"kind":{"type":"string","title":"Kind"},"url":{"type":"string","maxLength":2048,"title":"Url"},"name":{"type":"string","maxLength":64,"title":"Name","default":""},"events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Events"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["kind","url"],"title":"HookIn"},"HookOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"},"url_masked":{"type":"string","title":"Url Masked"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"enabled":{"type":"boolean","title":"Enabled"},"last_status":{"type":"string","title":"Last Status"},"last_error":{"type":"string","title":"Last Error"},"last_event":{"type":"string","title":"Last Event"},"last_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"created_by":{"type":"string","title":"Created By","default":""},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["id","kind","name","url_masked","events","enabled","last_status","last_error","last_event","last_at","created_at"],"title":"HookOut"},"HookPatch":{"properties":{"url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Url"},"name":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Name"},"events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Events"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},"type":"object","title":"HookPatch"},"HostKeyReset":{"properties":{"confirm":{"type":"string","maxLength":64,"title":"Confirm"}},"type":"object","required":["confirm"],"title":"HostKeyReset"},"ImportStart":{"properties":{"filename":{"type":"string","maxLength":255,"minLength":1,"title":"Filename"},"size":{"type":"integer","exclusiveMinimum":0.0,"title":"Size"},"neutralize":{"type":"boolean","title":"Neutralize","default":true}},"type":"object","required":["filename","size"],"title":"ImportStart"},"InboundPatch":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"alias_domain":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}],"title":"Alias Domain"}},"type":"object","title":"InboundPatch"},"InstallCheckoutIn":{"properties":{"coupon":{"type":"string","maxLength":64,"title":"Coupon","default":""}},"type":"object","title":"InstallCheckoutIn"},"InstallIn":{"properties":{"version":{"type":"string","maxLength":8,"title":"Version"},"edition":{"type":"string","enum":["community","enterprise"],"title":"Edition","default":"community"},"name":{"type":"string","maxLength":40,"title":"Name"},"domain":{"type":"string","maxLength":253,"title":"Domain","default":""},"db_name":{"type":"string","maxLength":63,"title":"Db Name","default":""},"admin_email":{"type":"string","maxLength":254,"title":"Admin Email"},"lang":{"type":"string","maxLength":8,"title":"Lang","default":"en_US"},"country":{"type":"string","maxLength":2,"title":"Country","default":"AE"},"apps":{"items":{"type":"string"},"type":"array","maxItems":15,"title":"Apps"},"demo":{"type":"boolean","title":"Demo","default":false},"method":{"anyOf":[{"type":"string","enum":["native","docker"]},{"type":"null"}],"title":"Method"},"workers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Workers"},"max_cron_threads":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Cron Threads"},"limit_memory_soft_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit Memory Soft Mb"},"limit_memory_hard_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit Memory Hard Mb"},"http_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Http Port"},"gevent_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gevent Port"}},"type":"object","required":["version","name","admin_email"],"title":"InstallIn"},"InstancePatch":{"properties":{"backup_daily":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Backup Daily"},"backup_keep":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}],"title":"Backup Keep"}},"type":"object","title":"InstancePatch"},"InviteIn":{"properties":{"email":{"type":"string","maxLength":255,"minLength":3,"title":"Email"},"role":{"type":"string","enum":["owner","admin","billing","member"],"title":"Role","default":"member"}},"type":"object","required":["email"],"title":"InviteIn"},"KeyIn":{"properties":{"title":{"type":"string","title":"Title","default":""},"key":{"type":"string","minLength":20,"title":"Key"}},"type":"object","required":["key"],"title":"KeyIn"},"KeysIn":{"properties":{"p256dh":{"type":"string","maxLength":128,"title":"P256Dh"},"auth":{"type":"string","maxLength":64,"title":"Auth"}},"type":"object","required":["p256dh","auth"],"title":"KeysIn"},"Limits":{"properties":{"workers":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2,"title":"Workers"},"storage_gb":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2,"title":"Storage Gb"},"staging":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2,"title":"Staging"}},"type":"object","required":["workers","storage_gb","staging"],"title":"Limits"},"LoginIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginIn"},"MailOut":{"properties":{"id":{"type":"integer","title":"Id"},"build_id":{"type":"integer","title":"Build Id"},"mail_from":{"type":"string","title":"Mail From"},"mail_to":{"type":"string","title":"Mail To"},"subject":{"type":"string","title":"Subject"},"size":{"type":"integer","title":"Size"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","build_id","mail_from","mail_to","subject","size","created_at"],"title":"MailOut"},"MemberOut":{"properties":{"user_id":{"type":"integer","title":"User Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"github_login":{"type":"string","title":"Github Login","default":""},"avatar_url":{"type":"string","title":"Avatar Url","default":""}},"type":"object","required":["user_id","email","name","role"],"title":"MemberOut"},"MergeIn":{"properties":{"into_branch_id":{"type":"integer","title":"Into Branch Id"}},"type":"object","required":["into_branch_id"],"title":"MergeIn"},"MessageIn":{"properties":{"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"MessageIn"},"MigrateIn":{"properties":{"instance_id":{"type":"integer","title":"Instance Id"},"database":{"type":"string","maxLength":63,"minLength":1,"title":"Database"},"project_id":{"type":"integer","title":"Project Id"},"stage":{"type":"string","pattern":"^(production|staging)$","title":"Stage","default":"production"},"branch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Branch Id"},"neutralize":{"type":"boolean","title":"Neutralize","default":true}},"type":"object","required":["instance_id","database","project_id"],"title":"MigrateIn"},"ModuleIn":{"properties":{"module":{"type":"string","title":"Module"}},"type":"object","required":["module"],"title":"ModuleIn"},"MoneyOut":{"properties":{"cents":{"type":"integer","title":"Cents"},"currency":{"type":"string","title":"Currency"}},"type":"object","required":["cents","currency"],"title":"MoneyOut"},"MoveIn":{"properties":{"server_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Server Id"},"region":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Region"},"backups":{"type":"string","pattern":"^(move|delete)$","title":"Backups","default":"move"},"confirm":{"type":"string","maxLength":63,"title":"Confirm"},"start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start At"},"override_window":{"type":"boolean","title":"Override Window","default":false}},"type":"object","required":["confirm"],"title":"MoveIn"},"NoteIn":{"properties":{"note":{"type":"string","maxLength":4000,"title":"Note","default":""}},"type":"object","title":"NoteIn"},"OfferIn":{"properties":{"instance_id":{"type":"integer","title":"Instance Id"},"user_id":{"type":"integer","title":"User Id"},"plan_key":{"type":"string","maxLength":32,"title":"Plan Key"},"note":{"type":"string","maxLength":2000,"title":"Note","default":""}},"type":"object","required":["instance_id","user_id","plan_key"],"title":"OfferIn"},"OffsiteIn":{"properties":{"provider":{"type":"string","enum":["b2","wasabi","r2","aws","s3","sftp"],"title":"Provider"},"endpoint":{"type":"string","maxLength":300,"title":"Endpoint","default":""},"bucket":{"type":"string","maxLength":300,"title":"Bucket","default":""},"key_id":{"type":"string","maxLength":300,"title":"Key Id","default":""},"secret":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Secret"},"region":{"type":"string","maxLength":64,"title":"Region","default":""},"password":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Password"}},"type":"object","required":["provider"],"title":"OffsiteIn"},"OffsiteTestIn":{"properties":{"form":{"anyOf":[{"$ref":"#/components/schemas/OffsiteIn"},{"type":"null"}]}},"type":"object","title":"OffsiteTestIn"},"OnboardingIn":{"properties":{"path":{"anyOf":[{"type":"string","enum":["","hosted","server","install","import"]},{"type":"null"}],"title":"Path"},"dismissed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dismissed"}},"type":"object","title":"OnboardingIn"},"OrgRefOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"OrgRefOut"},"PaidIn":{"properties":{"reference":{"type":"string","maxLength":255,"minLength":1,"title":"Reference"}},"type":"object","required":["reference"],"title":"PaidIn"},"PartnerIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"code":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Code"},"mode":{"anyOf":[{"type":"string","enum":["discount","commission"]},{"type":"null"}],"title":"Mode"},"discount_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Discount Pct"},"commission_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Commission Pct"},"logo_url":{"anyOf":[{"type":"string","maxLength":420000},{"type":"null"}],"title":"Logo Url"},"contact_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Contact Name"},"contact_email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Contact Email"},"white_label":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"White Label"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Notes"},"owner_email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Owner Email"}},"type":"object","title":"PartnerIn"},"PassphraseIn":{"properties":{"passphrase":{"type":"string","title":"Passphrase"}},"type":"object","required":["passphrase"],"title":"PassphraseIn"},"PatchIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":2,"title":"Name"},"billing_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Billing Email"}},"type":"object","required":["name"],"title":"PatchIn"},"PauseIn":{"properties":{"paused":{"type":"boolean","title":"Paused"}},"type":"object","required":["paused"],"title":"PauseIn"},"PerfSettingsIn":{"properties":{"weekly_digest":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Weekly Digest"},"include_staging":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Staging"}},"type":"object","title":"PerfSettingsIn"},"PersonIn":{"properties":{"email":{"type":"string","maxLength":254,"title":"Email"},"role":{"type":"string","enum":["client_admin","client_viewer"],"title":"Role","default":"client_viewer"},"databases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Databases"}},"type":"object","required":["email"],"title":"PersonIn"},"PlansIn":{"properties":{"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","title":"Currency","default":"USD"},"business_hours":{"$ref":"#/components/schemas/BusinessHoursIn"},"plans":{"items":{"$ref":"#/components/schemas/app__routers__support__PlanIn"},"type":"array","maxItems":12,"title":"Plans"}},"type":"object","title":"PlansIn"},"PlatformInboundIn":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"dnsbl":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dnsbl"},"dnsbl_zones":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dnsbl Zones"},"max_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Mb"},"spf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spf"}},"type":"object","title":"PlatformInboundIn"},"PlaybookIn":{"properties":{"text":{"type":"string","maxLength":12000,"title":"Text"},"note":{"type":"string","maxLength":255,"title":"Note","default":""}},"type":"object","required":["text"],"title":"PlaybookIn"},"PolicyIn":{"properties":{"backup_daily":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Backup Daily"},"include_addons":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Addons"},"restore_tests":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Restore Tests"},"backup_keep":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}],"title":"Backup Keep"},"keep_daily":{"anyOf":[{"type":"integer","maximum":400.0,"minimum":1.0},{"type":"null"}],"title":"Keep Daily"},"keep_weekly":{"anyOf":[{"type":"integer","maximum":400.0,"minimum":0.0},{"type":"null"}],"title":"Keep Weekly"},"keep_monthly":{"anyOf":[{"type":"integer","maximum":400.0,"minimum":0.0},{"type":"null"}],"title":"Keep Monthly"},"local_keep":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}],"title":"Local Keep"},"reset_retention":{"type":"boolean","title":"Reset Retention","default":false}},"type":"object","title":"PolicyIn"},"PollIn":{"properties":{"device_code":{"type":"string","maxLength":200,"title":"Device Code"}},"type":"object","required":["device_code"],"title":"PollIn"},"PrefIn":{"properties":{"monthly_reports":{"type":"boolean","title":"Monthly Reports"}},"type":"object","required":["monthly_reports"],"title":"PrefIn"},"Prices":{"properties":{"worker":{"type":"number","maximum":100000.0,"minimum":0.0,"title":"Worker"},"storage_gb":{"type":"number","maximum":100000.0,"minimum":0.0,"title":"Storage Gb"},"staging":{"type":"number","maximum":100000.0,"minimum":0.0,"title":"Staging"}},"type":"object","required":["worker","storage_gb","staging"],"title":"Prices"},"ProIn":{"properties":{"interval":{"type":"string","enum":["month","year"],"title":"Interval","default":"month"},"coupon":{"type":"string","maxLength":64,"title":"Coupon","default":""}},"type":"object","title":"ProIn"},"ProductEmailsIn":{"properties":{"on":{"type":"boolean","title":"On"}},"type":"object","required":["on"],"title":"ProductEmailsIn"},"ProfileIn":{"properties":{"duration_s":{"type":"integer","maximum":300.0,"minimum":5.0,"title":"Duration S","default":60}},"type":"object","title":"ProfileIn"},"ProjectIn":{"properties":{"name":{"type":"string","maxLength":100,"minLength":2,"title":"Name"},"slug":{"anyOf":[{"type":"string","maxLength":30,"minLength":2,"pattern":"^[a-z0-9]+(-[a-z0-9]+)*$"},{"type":"null"}],"title":"Slug"},"repo_url":{"type":"string","title":"Repo Url","default":""},"repo_full_name":{"type":"string","title":"Repo Full Name","default":""},"create_repo":{"type":"boolean","title":"Create Repo","default":false},"enterprise":{"type":"boolean","title":"Enterprise","default":false},"enterprise_code":{"type":"string","pattern":"^[A-Za-z0-9._-]{0,64}$","title":"Enterprise Code","default":""},"git_token":{"type":"string","title":"Git Token","default":""},"odoo_version":{"type":"string","pattern":"^\\d+\\.0$","title":"Odoo Version","default":"17.0"},"subscription_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscription Id"},"region":{"type":"string","pattern":"^([a-z][a-z0-9-]{0,31})?$","title":"Region","default":""}},"type":"object","required":["name"],"title":"ProjectIn"},"ProjectOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"repo_url":{"type":"string","title":"Repo Url"},"repo_full_name":{"type":"string","title":"Repo Full Name"},"odoo_version":{"type":"string","title":"Odoo Version"},"custom_domains":{"type":"string","title":"Custom Domains"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"role":{"type":"string","title":"Role","default":"developer"},"org_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Org Id"},"has_git_token":{"type":"boolean","title":"Has Git Token","default":false},"webhook_installed":{"type":"boolean","title":"Webhook Installed","default":false},"prod_workers":{"type":"integer","title":"Prod Workers","default":0},"http_timeout_min":{"type":"integer","title":"Http Timeout Min","default":15},"cron_timeout_min":{"type":"integer","title":"Cron Timeout Min","default":15},"max_staging":{"type":"integer","title":"Max Staging","default":1},"dev_install_mode":{"type":"string","title":"Dev Install Mode","default":"mine"},"dev_install_modules":{"type":"string","title":"Dev Install Modules","default":""},"prod_skip_modules":{"type":"string","title":"Prod Skip Modules","default":""},"dev_run_tests":{"type":"boolean","title":"Dev Run Tests","default":true},"dev_test_tags":{"type":"string","title":"Dev Test Tags","default":""},"dev_demo":{"type":"boolean","title":"Dev Demo","default":true},"dev_ai_tool":{"type":"string","title":"Dev Ai Tool","default":""},"commit_statuses":{"type":"boolean","title":"Commit Statuses","default":true},"enterprise":{"type":"boolean","title":"Enterprise","default":false},"has_enterprise_code":{"type":"boolean","title":"Has Enterprise Code","default":false},"settings_changed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Settings Changed At"},"ssh_allowlist":{"type":"string","title":"Ssh Allowlist","default":""},"host_prefix":{"type":"string","title":"Host Prefix","default":""},"block_default_domain":{"type":"boolean","title":"Block Default Domain","default":false},"public_access":{"type":"boolean","title":"Public Access","default":false},"has_status_token":{"type":"boolean","title":"Has Status Token","default":false},"webhook_url":{"type":"string","title":"Webhook Url","default":""},"webhook_secret":{"type":"string","title":"Webhook Secret","default":""},"production_url":{"type":"string","title":"Production Url","default":""},"branch_count":{"type":"integer","title":"Branch Count","default":0},"running_count":{"type":"integer","title":"Running Count","default":0},"building_count":{"type":"integer","title":"Building Count","default":0},"production_status":{"type":"string","title":"Production Status","default":""},"last_deploy_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Deploy At"},"support_ends":{"type":"string","title":"Support Ends","default":""},"support_days_left":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Support Days Left"},"sleep_after_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sleep After Min"},"staging_sleep_after_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Staging Sleep After Min"},"sleep_default_min":{"type":"integer","title":"Sleep Default Min","default":0},"staging_sleep_default_min":{"type":"integer","title":"Staging Sleep Default Min","default":0},"pr_previews":{"type":"boolean","title":"Pr Previews","default":true},"pr_forks":{"type":"boolean","title":"Pr Forks","default":false},"pr_statuses":{"type":"boolean","title":"Pr Statuses","default":true},"pr_comments":{"type":"boolean","title":"Pr Comments","default":true},"pr_max_previews":{"type":"integer","title":"Pr Max Previews","default":3},"pr_max_previews_cap":{"type":"integer","title":"Pr Max Previews Cap","default":10},"deleted_retention_days":{"type":"integer","title":"Deleted Retention Days","default":0},"git_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Git Checked At"},"git_check_error":{"type":"string","title":"Git Check Error","default":""},"last_webhook_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Webhook At"},"git_poll":{"type":"boolean","title":"Git Poll","default":false},"git_poll_interval_min":{"type":"integer","title":"Git Poll Interval Min","default":0},"storage_quota_gb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Storage Quota Gb"},"storage_quota_warned":{"type":"boolean","title":"Storage Quota Warned","default":false},"billing":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Billing"},"region":{"type":"string","title":"Region","default":""},"region_label":{"type":"string","title":"Region Label","default":""},"production_branch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Production Branch Id"},"unread_notifications":{"type":"integer","title":"Unread Notifications","default":0}},"type":"object","required":["id","name","slug","repo_url","repo_full_name","odoo_version","custom_domains","created_at"],"title":"ProjectOut"},"ProjectPatch":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"repo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repo Url"},"git_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Git Token"},"odoo_version":{"anyOf":[{"type":"string","pattern":"^\\d+\\.0$"},{"type":"null"}],"title":"Odoo Version"},"custom_domains":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Domains"},"prod_workers":{"anyOf":[{"type":"integer","maximum":16.0,"minimum":0.0},{"type":"null"}],"title":"Prod Workers"},"http_timeout_min":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}],"title":"Http Timeout Min"},"cron_timeout_min":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}],"title":"Cron Timeout Min"},"max_staging":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":0.0},{"type":"null"}],"title":"Max Staging"},"dev_install_mode":{"anyOf":[{"type":"string","pattern":"^(mine|full|list)$"},{"type":"null"}],"title":"Dev Install Mode"},"dev_install_modules":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dev Install Modules"},"prod_skip_modules":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^[a-z0-9_,\\s]*$"},{"type":"null"}],"title":"Prod Skip Modules"},"dev_run_tests":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dev Run Tests"},"dev_test_tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dev Test Tags"},"dev_demo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dev Demo"},"dev_ai_tool":{"anyOf":[{"type":"string","pattern":"^(|claude|opencode)$"},{"type":"null"}],"title":"Dev Ai Tool"},"commit_statuses":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Commit Statuses"},"enterprise":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enterprise"},"enterprise_code":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9._-]{0,64}$"},{"type":"null"}],"title":"Enterprise Code"},"ssh_allowlist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ssh Allowlist"},"host_prefix":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,29}$"},{"type":"null"}],"title":"Host Prefix"},"block_default_domain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Block Default Domain"},"public_access":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public Access"},"status_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Token"},"sleep_after_min":{"anyOf":[{"type":"integer","maximum":10080.0,"minimum":-1.0},{"type":"null"}],"title":"Sleep After Min"},"staging_sleep_after_min":{"anyOf":[{"type":"integer","maximum":10080.0,"minimum":-1.0},{"type":"null"}],"title":"Staging Sleep After Min"},"pr_previews":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pr Previews"},"pr_forks":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pr Forks"},"pr_statuses":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pr Statuses"},"pr_comments":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pr Comments"},"pr_max_previews":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":0.0},{"type":"null"}],"title":"Pr Max Previews"}},"type":"object","title":"ProjectPatch"},"PurchaseIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name"},"host":{"type":"string","maxLength":255,"minLength":1,"title":"Host"},"port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Port","default":22},"terminal":{"type":"boolean","title":"Terminal","default":true},"interval":{"type":"string","pattern":"^(month|year)$","title":"Interval","default":"year"},"confirm":{"type":"boolean","title":"Confirm","default":false},"coupon":{"type":"string","maxLength":64,"title":"Coupon","default":""}},"type":"object","required":["name","host"],"title":"PurchaseIn"},"ReadinessIn":{"properties":{"target":{"type":"string","pattern":"^\\d+\\.0$","title":"Target"},"code_branch":{"type":"string","pattern":"^[A-Za-z0-9._/-]{0,255}$","title":"Code Branch","default":""}},"type":"object","required":["target"],"title":"ReadinessIn"},"RecoveryKeyIn":{"properties":{"replace":{"type":"boolean","title":"Replace","default":false}},"type":"object","title":"RecoveryKeyIn"},"RegionPrices":{"properties":{"worker":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Worker"},"storage_gb":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Storage Gb"},"staging":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Staging"},"year":{"anyOf":[{"$ref":"#/components/schemas/YearPrices"},{"type":"null"}]},"multiplier":{"anyOf":[{"type":"number","maximum":100.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Multiplier"},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Za-z]{3}$"},{"type":"null"}],"title":"Currency"}},"type":"object","title":"RegionPrices","description":"Monthly prices at the top level, yearly ones under \"year\"; missing ones are base × multiplier."},"RegisterIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"name":{"type":"string","title":"Name","default":""},"password":{"type":"string","minLength":8,"title":"Password"},"attribution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attribution"}},"type":"object","required":["email","password"],"title":"RegisterIn"},"RehearsalSettings":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"weekday":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Weekday","default":6},"hour":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Hour","default":3}},"type":"object","required":["enabled"],"title":"RehearsalSettings"},"RemoveIn":{"properties":{"confirm":{"type":"string","maxLength":255,"title":"Confirm","default":""}},"type":"object","title":"RemoveIn"},"ReportIn":{"properties":{"period":{"type":"string","pattern":"^(20\\d\\d-(0[1-9]|1[0-2]))?$","title":"Period","default":""},"email":{"type":"boolean","title":"Email","default":false}},"type":"object","title":"ReportIn"},"RequestIn":{"properties":{"instance_id":{"type":"integer","title":"Instance Id"},"subject":{"type":"string","maxLength":200,"minLength":1,"title":"Subject"},"message":{"type":"string","maxLength":20000,"minLength":1,"title":"Message"},"priority":{"type":"string","enum":["normal","urgent"],"title":"Priority","default":"normal"}},"type":"object","required":["instance_id","subject","message"],"title":"RequestIn"},"RequestPatch":{"properties":{"status":{"anyOf":[{"type":"string","enum":["new","in_progress","waiting","resolved"]},{"type":"null"}],"title":"Status"},"priority":{"anyOf":[{"type":"string","enum":["normal","urgent"]},{"type":"null"}],"title":"Priority"}},"type":"object","title":"RequestPatch"},"ResizeIn":{"properties":{"instance_type":{"type":"string","maxLength":32,"title":"Instance Type"}},"type":"object","required":["instance_type"],"title":"ResizeIn"},"RestartIn":{"properties":{"confirm":{"type":"string","maxLength":255,"title":"Confirm"}},"type":"object","required":["confirm"],"title":"RestartIn"},"ResumeIn":{"properties":{"token":{"type":"string","maxLength":2000,"title":"Token"}},"type":"object","required":["token"],"title":"ResumeIn"},"RetentionIn":{"properties":{"retention_days":{"type":"integer","maximum":3650.0,"minimum":90.0,"title":"Retention Days"}},"type":"object","required":["retention_days"],"title":"RetentionIn"},"RoleIn":{"properties":{"role":{"type":"string","enum":["owner","admin","billing","member"],"title":"Role"}},"type":"object","required":["role"],"title":"RoleIn"},"ScheduleIn":{"properties":{"target":{"type":"string","pattern":"^\\d+\\.0$","title":"Target"},"start":{"type":"string","format":"date-time","title":"Start"},"minutes":{"type":"integer","maximum":1440.0,"minimum":1.0,"title":"Minutes"},"merge_branch":{"type":"string","pattern":"^[A-Za-z0-9._/-]{0,255}$","title":"Merge Branch","default":""},"ack_untested":{"type":"boolean","title":"Ack Untested","default":false},"override_window":{"type":"boolean","title":"Override Window","default":false}},"type":"object","required":["target","start","minutes"],"title":"ScheduleIn"},"SearchEnginesIn":{"properties":{"google":{"type":"string","maxLength":1000,"title":"Google","default":""},"bing":{"type":"string","maxLength":1000,"title":"Bing","default":""},"yandex":{"type":"string","maxLength":1000,"title":"Yandex","default":""},"indexnow":{"type":"boolean","title":"Indexnow","default":true}},"type":"object","title":"SearchEnginesIn"},"SecurityIn":{"properties":{"require_2fa_password":{"type":"boolean","title":"Require 2Fa Password","default":false},"github_signups":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Github Signups"}},"type":"object","title":"SecurityIn"},"SeenIn":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Id"}},"type":"object","title":"SeenIn"},"ServerCostIn":{"properties":{"plan":{"type":"string","title":"Plan","default":""},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items","default":[]},"override":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Override"}},"type":"object","title":"ServerCostIn"},"SharedIn":{"properties":{"shared":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Shared"},"linode_plans":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Linode Plans"},"reset_plans":{"type":"boolean","title":"Reset Plans","default":false}},"type":"object","title":"SharedIn"},"StateIn":{"properties":{"disabled":{"type":"boolean","title":"Disabled"}},"type":"object","required":["disabled"],"title":"StateIn"},"StopIn":{"properties":{"confirm":{"type":"string","maxLength":255,"title":"Confirm"}},"type":"object","required":["confirm"],"title":"StopIn"},"StripeIn":{"properties":{"secret_key":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Secret Key"},"webhook_secret":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Webhook Secret"},"clear":{"items":{"type":"string","enum":["secret_key","webhook_secret"]},"type":"array","title":"Clear","default":[]}},"type":"object","title":"StripeIn"},"StripeTestIn":{"properties":{"secret_key":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Secret Key"}},"type":"object","title":"StripeTestIn"},"SubmoduleIn":{"properties":{"url":{"type":"string","maxLength":512,"minLength":4,"pattern":"^(https?://|ssh://|[\\w.-]+@)[^\\s]+$","title":"Url"},"branch":{"type":"string","maxLength":200,"minLength":1,"pattern":"^[A-Za-z0-9._/-]+$","title":"Branch"},"path":{"type":"string","maxLength":255,"minLength":1,"pattern":"^[A-Za-z0-9._/-]+$","title":"Path"}},"type":"object","required":["url","branch","path"],"title":"SubmoduleIn"},"SubmoduleKeyIn":{"properties":{"url":{"type":"string","maxLength":512,"minLength":4,"title":"Url"}},"type":"object","required":["url"],"title":"SubmoduleKeyIn"},"SubmoduleKeyOut":{"properties":{"id":{"type":"integer","title":"Id"},"url":{"type":"string","title":"Url"},"public_key":{"type":"string","title":"Public Key"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","url","public_key","created_at"],"title":"SubmoduleKeyOut"},"SubscribeIn":{"properties":{"email":{"type":"string","maxLength":254,"title":"Email"},"regions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Regions"},"components":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Components"},"locale":{"type":"string","maxLength":8,"title":"Locale","default":"en"},"website":{"type":"string","maxLength":200,"title":"Website","default":""}},"type":"object","required":["email"],"title":"SubscribeIn"},"SubscriptionIn":{"properties":{"endpoint":{"type":"string","maxLength":1024,"title":"Endpoint"},"keys":{"$ref":"#/components/schemas/KeysIn"},"installed":{"type":"boolean","title":"Installed","default":false}},"type":"object","required":["endpoint","keys"],"title":"SubscriptionIn"},"SuspendIn":{"properties":{"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"type":"object","title":"SuspendIn"},"TaxIn":{"properties":{"mode":{"type":"string","enum":["none","stripe_tax","fixed"],"title":"Mode"},"company_name":{"type":"string","maxLength":200,"title":"Company Name","default":""},"address":{"$ref":"#/components/schemas/AddressIn","default":{"line1":"","line2":"","city":"","state":"","postal_code":"","country":""}},"trn":{"type":"string","maxLength":24,"title":"Trn","default":""},"vat_rate":{"type":"number","maximum":100.0,"exclusiveMinimum":0.0,"title":"Vat Rate","default":5.0},"inclusive":{"type":"boolean","title":"Inclusive","default":false},"invoice_footer":{"type":"string","maxLength":500,"title":"Invoice Footer","default":""}},"type":"object","required":["mode"],"title":"TaxIn"},"TicketIn":{"properties":{"code":{"type":"string","maxLength":64,"title":"Code","default":""}},"type":"object","title":"TicketIn"},"TokenOut":{"properties":{"token":{"type":"string","title":"Token"},"user":{"$ref":"#/components/schemas/UserOut"}},"type":"object","required":["token","user"],"title":"TokenOut"},"TokenSettingsIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","title":"TokenSettingsIn"},"TransferIn":{"properties":{"kind":{"type":"string","enum":["project","server","subscription"],"title":"Kind"},"id":{"type":"integer","title":"Id"}},"type":"object","required":["kind","id"],"title":"TransferIn"},"TrialIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"company":{"type":"string","maxLength":160,"title":"Company","default":""},"phone":{"type":"string","maxLength":40,"title":"Phone","default":""},"version":{"type":"string","maxLength":8,"title":"Version"},"edition":{"type":"string","maxLength":16,"title":"Edition","default":"community"},"apps":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Apps"},"lang":{"type":"string","maxLength":8,"title":"Lang","default":"en"},"country":{"type":"string","maxLength":2,"title":"Country","default":"AE"},"demo":{"type":"boolean","title":"Demo","default":true},"locale":{"type":"string","maxLength":8,"title":"Locale","default":"en"},"website":{"type":"string","maxLength":200,"title":"Website","default":""},"challenge":{"type":"string","maxLength":200,"title":"Challenge","default":""},"nonce":{"anyOf":[{"type":"integer"},{"type":"string"}],"title":"Nonce","default":0}},"type":"object","required":["name","email","version"],"title":"TrialIn"},"TrialLimits":{"properties":{"workers":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Workers"},"storage_gb":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Storage Gb"},"staging":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Staging"}},"type":"object","required":["workers","storage_gb","staging"],"title":"TrialLimits"},"TrialSettingsIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"days":{"type":"integer","maximum":30.0,"minimum":3.0,"title":"Days"},"limits":{"$ref":"#/components/schemas/TrialLimits"},"regions":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Regions"}},"type":"object","required":["enabled","days","limits"],"title":"TrialSettingsIn"},"TwoFactorLoginIn":{"properties":{"ticket":{"type":"string","maxLength":2000,"minLength":10,"title":"Ticket"},"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"}},"type":"object","required":["ticket","code"],"title":"TwoFactorLoginIn"},"UnsubscribeIn":{"properties":{"endpoint":{"type":"string","maxLength":1024,"title":"Endpoint"}},"type":"object","required":["endpoint"],"title":"UnsubscribeIn"},"UpgradeIn":{"properties":{"target":{"type":"string","pattern":"^\\d+\\.0$","title":"Target"}},"type":"object","required":["target"],"title":"UpgradeIn"},"UploadIn":{"properties":{"filename":{"type":"string","maxLength":255,"minLength":1,"title":"Filename"},"size":{"type":"integer","exclusiveMinimum":0.0,"title":"Size"},"project_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"},"subscription_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscription Id"}},"type":"object","required":["filename","size"],"title":"UploadIn"},"UrlIn":{"properties":{"url":{"type":"string","maxLength":4096,"minLength":1,"title":"Url"},"project_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"},"subscription_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscription Id"}},"type":"object","required":["url"],"title":"UrlIn"},"UserCreateIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"name":{"type":"string","title":"Name","default":""},"password":{"type":"string","minLength":8,"title":"Password"},"attribution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attribution"},"is_admin":{"type":"boolean","title":"Is Admin","default":false}},"type":"object","required":["email","password"],"title":"UserCreateIn"},"UserOrgOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"role":{"type":"string","title":"Role"}},"type":"object","required":["id","name","slug","role"],"title":"UserOrgOut"},"UserOut":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"is_admin":{"type":"boolean","title":"Is Admin"},"github_login":{"type":"string","title":"Github Login","default":""},"google_email":{"type":"string","title":"Google Email","default":""},"avatar_url":{"type":"string","title":"Avatar Url","default":""},"has_subscription":{"type":"boolean","title":"Has Subscription","default":false},"project_slots":{"type":"integer","title":"Project Slots","default":0},"has_password":{"type":"boolean","title":"Has Password","default":false},"two_factor_enabled":{"type":"boolean","title":"Two Factor Enabled","default":false},"two_factor_setup_required":{"type":"boolean","title":"Two Factor Setup Required","default":false},"email_verified":{"type":"boolean","title":"Email Verified","default":true},"account_status":{"type":"string","title":"Account Status","default":"active"}},"type":"object","required":["id","email","name","is_admin"],"title":"UserOut"},"UserOverviewOut":{"properties":{"user":{"$ref":"#/components/schemas/AdminUserOut"},"sign_in":{"items":{"type":"string"},"type":"array","title":"Sign In"},"organizations":{"items":{"$ref":"#/components/schemas/UserOrgOut"},"type":"array","title":"Organizations"},"totals":{"$ref":"#/components/schemas/UserTotalsOut"},"projects":{"items":{"$ref":"#/components/schemas/UserProjectOut"},"type":"array","title":"Projects"},"servers":{"items":{"$ref":"#/components/schemas/UserServerOut"},"type":"array","title":"Servers"},"subscriptions":{"items":{"$ref":"#/components/schemas/UserSubscriptionOut"},"type":"array","title":"Subscriptions"},"support_subscriptions":{"items":{"$ref":"#/components/schemas/UserSubscriptionOut"},"type":"array","title":"Support Subscriptions"},"trials":{"items":{"$ref":"#/components/schemas/UserTrialOut"},"type":"array","title":"Trials"},"usage":{"$ref":"#/components/schemas/UserUsageOut"}},"type":"object","required":["user","sign_in","organizations","totals","projects","servers","subscriptions","support_subscriptions","trials","usage"],"title":"UserOverviewOut"},"UserProjectOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"role":{"type":"string","title":"Role"},"access":{"type":"string","title":"Access"},"org":{"anyOf":[{"$ref":"#/components/schemas/OrgRefOut"},{"type":"null"}]},"org_role":{"type":"string","title":"Org Role","default":""},"production_live":{"type":"boolean","title":"Production Live","default":false},"odoo_version":{"type":"string","title":"Odoo Version","default":""},"enterprise":{"type":"boolean","title":"Enterprise","default":false},"server":{"type":"string","title":"Server","default":""},"region":{"type":"string","title":"Region","default":""},"workers":{"type":"integer","title":"Workers","default":0},"storage_bytes":{"type":"integer","title":"Storage Bytes","default":0},"storage_total_bytes":{"type":"integer","title":"Storage Total Bytes","default":0},"storage_quota_gb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Storage Quota Gb"},"staging_now":{"type":"integer","title":"Staging Now","default":0},"max_staging":{"type":"integer","title":"Max Staging","default":0},"plan":{"type":"string","title":"Plan","default":""},"billing_status":{"type":"string","title":"Billing Status","default":""},"unpaid":{"type":"boolean","title":"Unpaid","default":false},"monthly":{"anyOf":[{"$ref":"#/components/schemas/MoneyOut"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","name","slug","role","access"],"title":"UserProjectOut"},"UserServerOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"host":{"type":"string","title":"Host"},"status":{"type":"string","title":"Status"},"last_seen":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen"},"plan":{"type":"string","title":"Plan"},"plan_label":{"type":"string","title":"Plan Label"},"instances":{"type":"integer","title":"Instances","default":0},"access":{"type":"string","title":"Access"},"org":{"anyOf":[{"$ref":"#/components/schemas/OrgRefOut"},{"type":"null"}]},"link":{"type":"string","title":"Link"}},"type":"object","required":["id","name","host","status","plan","plan_label","access","link"],"title":"UserServerOut"},"UserSubscriptionOut":{"properties":{"kind":{"type":"string","title":"Kind"},"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"status":{"type":"string","title":"Status"},"interval":{"type":"string","title":"Interval"},"amount":{"$ref":"#/components/schemas/MoneyOut"},"monthly":{"$ref":"#/components/schemas/MoneyOut"},"current_period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Current Period End"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":false},"trial_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trial End"},"coupon":{"type":"string","title":"Coupon","default":""},"coupon_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Coupon Percent"},"org":{"anyOf":[{"$ref":"#/components/schemas/OrgRefOut"},{"type":"null"}]},"project":{"anyOf":[{"$ref":"#/components/schemas/OrgRefOut"},{"type":"null"}]},"link":{"type":"string","title":"Link","default":""},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["kind","id","label","status","interval","amount","monthly"],"title":"UserSubscriptionOut"},"UserTotalsOut":{"properties":{"projects":{"type":"integer","title":"Projects"},"servers":{"type":"integer","title":"Servers"},"monthly":{"items":{"$ref":"#/components/schemas/MoneyOut"},"type":"array","title":"Monthly"},"org_monthly":{"items":{"$ref":"#/components/schemas/MoneyOut"},"type":"array","title":"Org Monthly"}},"type":"object","required":["projects","servers","monthly","org_monthly"],"title":"UserTotalsOut"},"UserTrialOut":{"properties":{"id":{"type":"integer","title":"Id"},"status":{"type":"string","title":"Status"},"days":{"type":"integer","title":"Days"},"trial_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trial End"},"converted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Converted At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"org":{"anyOf":[{"$ref":"#/components/schemas/OrgRefOut"},{"type":"null"}]}},"type":"object","required":["id","status","days"],"title":"UserTrialOut"},"UserUsageOut":{"properties":{"month":{"type":"string","title":"Month"},"start":{"type":"string","title":"Start"},"end":{"type":"string","title":"End"},"current":{"type":"boolean","title":"Current"},"totals":{"additionalProperties":true,"type":"object","title":"Totals"}},"type":"object","required":["month","start","end","current","totals"],"title":"UserUsageOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyIn":{"properties":{"token":{"type":"string","maxLength":2000,"minLength":10,"title":"Token"}},"type":"object","required":["token"],"title":"VerifyIn"},"WindowIn":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"days":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Days"},"start":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Start"},"duration_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Min"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"deploy_policy":{"anyOf":[{"type":"string","pattern":"^(immediate|hold)$"},{"type":"null"}],"title":"Deploy Policy"}},"type":"object","title":"WindowIn"},"YearPrices":{"properties":{"worker":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Worker"},"storage_gb":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Storage Gb"},"staging":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Staging"}},"type":"object","title":"YearPrices"},"app__routers__apitokens__TokenIn":{"properties":{"name":{"type":"string","maxLength":200,"title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Scopes"},"project_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":200},{"type":"null"}],"title":"Project Ids"},"org_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Org Id"},"expires_in_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires In Days"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"code":{"type":"string","maxLength":64,"title":"Code","default":""}},"type":"object","required":["name","scopes"],"title":"TokenIn"},"app__routers__audittrail__DeleteIn":{"properties":{"reason":{"type":"string","maxLength":2000,"title":"Reason","default":""},"confirm":{"type":"string","maxLength":255,"minLength":1,"title":"Confirm"}},"type":"object","required":["confirm"],"title":"DeleteIn"},"app__routers__billing__CheckoutIn":{"properties":{"workers":{"type":"integer","title":"Workers"},"storage_gb":{"type":"integer","title":"Storage Gb"},"staging":{"type":"integer","title":"Staging","default":0},"interval":{"type":"string","enum":["month","year"],"title":"Interval","default":"month"},"project_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Project Id"},"region":{"type":"string","pattern":"^([a-z][a-z0-9-]{0,31})?$","title":"Region","default":""},"trial":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Trial"},"coupon":{"type":"string","maxLength":64,"title":"Coupon","default":""}},"type":"object","required":["workers","storage_gb"],"title":"CheckoutIn"},"app__routers__billing__LinkIn":{"properties":{"project_id":{"type":"integer","title":"Project Id"}},"type":"object","required":["project_id"],"title":"LinkIn"},"app__routers__billing__PricingIn":{"properties":{"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","title":"Currency"},"month":{"$ref":"#/components/schemas/Prices"},"year":{"$ref":"#/components/schemas/Prices"},"limits":{"$ref":"#/components/schemas/Limits"},"grace_days":{"type":"integer","maximum":90.0,"minimum":0.0,"title":"Grace Days"},"stop_days":{"anyOf":[{"type":"integer","maximum":90.0,"minimum":0.0},{"type":"null"}],"title":"Stop Days"},"contact_email":{"type":"string","maxLength":254,"title":"Contact Email","default":""},"automatic_tax":{"type":"boolean","title":"Automatic Tax","default":false},"regions":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/RegionPrices"},"type":"object"},{"type":"null"}],"title":"Regions"}},"type":"object","required":["currency","month","year","limits","grace_days"],"title":"PricingIn"},"app__routers__builddoctor__FeedbackIn":{"properties":{"value":{"type":"string","maxLength":8,"title":"Value","default":""}},"type":"object","title":"FeedbackIn"},"app__routers__builddoctor__SettingsIn":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"model":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Model"},"daily_project":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Project"},"daily_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Total"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens"},"auto_explain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Explain"},"auto_stages":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":4},{"type":"null"}],"title":"Auto Stages"}},"type":"object","title":"SettingsIn"},"app__routers__coupons__CreateIn":{"properties":{"percent_off":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Percent Off"},"applies_to":{"items":{"type":"string","enum":["hosting","servers","install","support"]},"type":"array","maxItems":4,"minItems":1,"title":"Applies To"},"interval":{"type":"string","enum":["any","month","year"],"title":"Interval","default":"any"},"duration":{"type":"string","enum":["once","months","years","forever"],"title":"Duration","default":"once"},"duration_count":{"type":"integer","maximum":36.0,"minimum":0.0,"title":"Duration Count","default":0},"valid_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Valid Until"},"customer_email":{"type":"string","maxLength":254,"title":"Customer Email","default":""},"note":{"type":"string","maxLength":500,"title":"Note","default":""},"code":{"type":"string","maxLength":64,"title":"Code","default":""},"prefix":{"type":"string","maxLength":12,"title":"Prefix","default":"KV"}},"type":"object","required":["percent_off","applies_to"],"title":"CreateIn"},"app__routers__deleted__RestoreIn":{"properties":{"project_id":{"type":"integer","title":"Project Id"},"file":{"type":"string","maxLength":255,"title":"File","default":""},"neutralize":{"type":"boolean","title":"Neutralize","default":true}},"type":"object","required":["project_id"],"title":"RestoreIn"},"app__routers__docs__FeedbackIn":{"properties":{"slug":{"type":"string","maxLength":80,"minLength":1,"title":"Slug"},"helpful":{"type":"boolean","title":"Helpful"}},"type":"object","required":["slug","helpful"],"title":"FeedbackIn"},"app__routers__google_auth__LinkIn":{"properties":{"code":{"type":"string","maxLength":64,"title":"Code","default":""}},"type":"object","title":"LinkIn"},"app__routers__growth__PreviewIn":{"properties":{"user_id":{"type":"integer","title":"User Id"}},"type":"object","required":["user_id"],"title":"PreviewIn"},"app__routers__growth__TestIn":{"properties":{"email_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Email Id"}},"type":"object","title":"TestIn"},"app__routers__helpchat__FeedbackIn":{"properties":{"conversation":{"type":"string","maxLength":64,"title":"Conversation"},"value":{"type":"string","maxLength":8,"title":"Value","default":""}},"type":"object","required":["conversation"],"title":"FeedbackIn"},"app__routers__helpchat__ReplyIn":{"properties":{"message":{"type":"string","maxLength":20000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"ReplyIn"},"app__routers__helpchat__SettingsIn":{"properties":{"api_key":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Api Key"},"clear_api_key":{"type":"boolean","title":"Clear Api Key","default":false},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public"},"model":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Model"},"daily_user":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily User"},"daily_ip":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Ip"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens"},"max_turns":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Turns"},"effort":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Effort"},"price_in":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price In"},"price_out":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Out"}},"type":"object","title":"SettingsIn"},"app__routers__importsources__ApplyIn":{"properties":{"project_id":{"type":"integer","title":"Project Id"},"stage":{"type":"string","pattern":"^(production|staging)$","title":"Stage","default":"production"},"branch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Branch Id"},"branch_name":{"type":"string","maxLength":255,"title":"Branch Name","default":""},"neutralize":{"type":"boolean","title":"Neutralize","default":true}},"type":"object","required":["project_id"],"title":"ApplyIn"},"app__routers__inbound__DomainIn":{"properties":{"host":{"type":"string","maxLength":253,"minLength":4,"title":"Host"}},"type":"object","required":["host"],"title":"DomainIn"},"app__routers__inbound__TestIn":{"properties":{"local":{"type":"string","maxLength":64,"title":"Local","default":"catchall"}},"type":"object","title":"TestIn"},"app__routers__lifecycle__PreviewIn":{"properties":{"flow":{"type":"string","enum":["checkout","signup","server"],"title":"Flow"},"step":{"type":"integer","maximum":2.0,"minimum":1.0,"title":"Step","default":1},"subject":{"anyOf":[{"type":"string","maxLength":150},{"type":"null"}],"title":"Subject"},"body":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Body"},"coupon_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Coupon Percent"},"coupon_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Coupon Days"}},"type":"object","required":["flow"],"title":"PreviewIn"},"app__routers__lifecycle__SettingsIn":{"properties":{"flows":{"additionalProperties":true,"type":"object","title":"Flows"}},"type":"object","required":["flows"],"title":"SettingsIn"},"app__routers__linked__LinkIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name"},"host":{"type":"string","maxLength":255,"minLength":1,"title":"Host"},"port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Port","default":22},"terminal":{"type":"boolean","title":"Terminal","default":true}},"type":"object","required":["name","host"],"title":"LinkIn"},"app__routers__linked__ServerPatch":{"properties":{"alerts":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Alerts"},"name":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Name"},"complimentary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Complimentary"}},"type":"object","title":"ServerPatch"},"app__routers__linked_backups__ServerIn":{"properties":{"region":{"type":"string","maxLength":32,"title":"Region","default":""}},"type":"object","title":"ServerIn"},"app__routers__me__PrefsIn":{"properties":{"support_sound":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Support Sound"}},"type":"object","title":"PrefsIn"},"app__routers__moves__PlanIn":{"properties":{"server_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Server Id"},"region":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Region"},"backups":{"type":"string","pattern":"^(move|delete)$","title":"Backups","default":"move"}},"type":"object","title":"PlanIn"},"app__routers__odoo_install__DomainIn":{"properties":{"domain":{"type":"string","maxLength":253,"minLength":1,"title":"Domain"}},"type":"object","required":["domain"],"title":"DomainIn"},"app__routers__orgs__CreateIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":2,"title":"Name"},"copy_billing":{"type":"boolean","title":"Copy Billing","default":true}},"type":"object","required":["name"],"title":"CreateIn"},"app__routers__orgs__DeleteIn":{"properties":{"confirm":{"type":"string","maxLength":120,"title":"Confirm"}},"type":"object","required":["confirm"],"title":"DeleteIn"},"app__routers__orgs__TokenIn":{"properties":{"token":{"type":"string","maxLength":100,"minLength":20,"title":"Token"}},"type":"object","required":["token"],"title":"TokenIn"},"app__routers__partners__CheckoutIn":{"properties":{"workers":{"type":"integer","title":"Workers"},"storage_gb":{"type":"integer","title":"Storage Gb"},"staging":{"type":"integer","title":"Staging","default":0},"interval":{"type":"string","enum":["month","year"],"title":"Interval","default":"month"},"region":{"type":"string","pattern":"^([a-z][a-z0-9-]{0,31})?$","title":"Region","default":""},"client_id":{"type":"integer","title":"Client Id"}},"type":"object","required":["workers","storage_gb","client_id"],"title":"CheckoutIn"},"app__routers__partners__ClientIn":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"company":{"type":"string","maxLength":255,"title":"Company","default":""}},"type":"object","required":["email"],"title":"ClientIn"},"app__routers__partners__CodeIn":{"properties":{"code":{"type":"string","maxLength":32,"minLength":3,"title":"Code"},"confirm":{"type":"boolean","title":"Confirm","default":false}},"type":"object","required":["code"],"title":"CodeIn"},"app__routers__partners__MemberIn":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"role":{"type":"string","enum":["owner","member"],"title":"Role","default":"member"}},"type":"object","required":["email"],"title":"MemberIn"},"app__routers__partners__PlanIn":{"properties":{"workers":{"type":"integer","title":"Workers"},"storage_gb":{"type":"integer","title":"Storage Gb"},"staging":{"type":"integer","title":"Staging","default":0},"interval":{"type":"string","enum":["month","year"],"title":"Interval","default":"month"},"region":{"type":"string","pattern":"^([a-z][a-z0-9-]{0,31})?$","title":"Region","default":""}},"type":"object","required":["workers","storage_gb"],"title":"PlanIn"},"app__routers__partners__TokenIn":{"properties":{"token":{"type":"string","maxLength":100,"minLength":20,"title":"Token"}},"type":"object","required":["token"],"title":"TokenIn"},"app__routers__perfadvisor__ApplyIn":{"properties":{"rec_id":{"type":"string","maxLength":200,"minLength":1,"title":"Rec Id"},"report_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Report Id"}},"type":"object","required":["rec_id"],"title":"ApplyIn"},"app__routers__platform__PricingIn":{"properties":{"price":{"anyOf":[{"type":"number","maximum":100000000.0,"minimum":0.0},{"type":"null"}],"title":"Price"},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","title":"Currency","default":"USD"},"plan":{"type":"string","maxLength":64,"title":"Plan","default":""}},"type":"object","title":"PricingIn"},"app__routers__platform__TokenIn":{"properties":{"token":{"type":"string","minLength":10,"title":"Token"}},"type":"object","required":["token"],"title":"TokenIn"},"app__routers__portal__CheckoutIn":{"properties":{"interval":{"type":"string","enum":["month","year"],"title":"Interval","default":"month"},"coupon":{"type":"string","maxLength":64,"title":"Coupon","default":""}},"type":"object","title":"CheckoutIn"},"app__routers__portal__ClientIn":{"properties":{"login":{"type":"string","maxLength":254,"minLength":1,"title":"Login"},"role":{"type":"string","enum":["client_admin","client_viewer"],"title":"Role","default":"client_viewer"},"databases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Databases"},"can_restart":{"type":"boolean","title":"Can Restart","default":false}},"type":"object","required":["login"],"title":"ClientIn"},"app__routers__servers__ServerIn":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$","title":"Name"},"region":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,31}$","title":"Region"},"region_label":{"type":"string","maxLength":64,"title":"Region Label","default":""},"host":{"type":"string","maxLength":255,"minLength":1,"title":"Host"},"ssh_user":{"type":"string","pattern":"^[a-z_][a-z0-9_-]{0,31}$","title":"Ssh User","default":"root"},"ssh_port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Ssh Port","default":22},"base_domain":{"type":"string","maxLength":253,"minLength":3,"title":"Base Domain"},"capacity_workers":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Capacity Workers","default":0}},"type":"object","required":["name","region","host","base_domain"],"title":"ServerIn"},"app__routers__servers__ServerPatch":{"properties":{"capacity_workers":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Capacity Workers"},"region_label":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Region Label"},"draining":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Draining"}},"type":"object","title":"ServerPatch"},"app__routers__statussubs__TokenIn":{"properties":{"token":{"type":"string","maxLength":3000,"title":"Token"}},"type":"object","required":["token"],"title":"TokenIn"},"app__routers__support__PlanIn":{"properties":{"key":{"type":"string","maxLength":32,"title":"Key"},"name":{"type":"string","maxLength":64,"title":"Name"},"price_month":{"type":"number","title":"Price Month"},"yearly_discount_pct":{"type":"number","title":"Yearly Discount Pct","default":0},"hours":{"type":"number","title":"Hours","default":0},"response_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Hours"},"response_business":{"type":"boolean","title":"Response Business","default":false},"features":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Features"},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["key","name","price_month"],"title":"PlanIn"},"app__routers__support__ReplyIn":{"properties":{"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"},"status":{"anyOf":[{"type":"string","enum":["new","in_progress","waiting","resolved"]},{"type":"null"}],"title":"Status"}},"type":"object","required":["body"],"title":"ReplyIn"},"app__routers__trials__SettingsIn":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"max_concurrent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Concurrent"},"mem_limit_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mem Limit Mb"},"cpu_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cpu Shares"},"cron_threads":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cron Threads"},"hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hours"},"extend_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extend Hours"},"per_ip_day":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Per Ip Day"},"per_email_week":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Per Email Week"},"daily_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Max"},"queue_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Max"},"queue_wait_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Wait Min"},"min_free_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Free Mb"},"pool_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pool Size"},"versions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Versions"},"mem_budget_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mem Budget Mb"},"max_db_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Db Mb"},"max_files_mb":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Files Mb"},"confirm_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Confirm Email"},"dedicated_pg":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dedicated Pg"}},"type":"object","title":"SettingsIn"},"app__routers__twofactor__CodeIn":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"CodeIn"},"app__routers__upgradeassist__TestIn":{"properties":{"target":{"type":"string","pattern":"^\\d+\\.0$","title":"Target"},"source_branch":{"type":"string","pattern":"^[A-Za-z0-9._/-]{0,255}$","title":"Source Branch","default":""}},"type":"object","required":["target"],"title":"TestIn"},"app__routers__webpush__PrefsIn":{"properties":{"events":{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"type":"object","title":"Events"}},"type":"object","title":"PrefsIn"},"app__schemas__DomainIn":{"properties":{"host":{"type":"string","maxLength":300,"minLength":3,"title":"Host"},"branch_id":{"type":"integer","title":"Branch Id"},"is_primary":{"type":"boolean","title":"Is Primary","default":false}},"type":"object","required":["host","branch_id"],"title":"DomainIn"},"app__schemas__MemberIn":{"properties":{"login":{"type":"string","minLength":1,"title":"Login"},"role":{"type":"string","pattern":"^(admin|tester|developer)$","title":"Role","default":"developer"}},"type":"object","required":["login"],"title":"MemberIn"},"app__schemas__RestoreIn":{"properties":{"branch_id":{"type":"integer","title":"Branch Id"}},"type":"object","required":["branch_id"],"title":"RestoreIn"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"AccessToken":{"type":"http","scheme":"bearer","bearerFormat":"kvp_…","description":"Personal access token (Profile → Access tokens), in the Authorization header only. Each operation says whether it accepts one, and with which scope."}}}}