{"openapi": "3.1.0", "info": {"title": "LOCALHOST API", "version": "0.1.0", "description": ""}, "paths": {"/me": {"get": {"operationId": "config_api_me", "summary": "Me", "parameters": [], "responses": {"200": {"description": "OK"}}, "description": "The account behind the key, in short: what `lh login` checks.", "tags": ["accounts"], "security": [{"ApiKeyAuth": []}]}}, "/sites/": {"get": {"operationId": "apps_sites_api_list_sites", "summary": "List Sites", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/SiteOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["sites"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_sites_api_create_site", "summary": "Create Site", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SiteOut"}}}}}, "tags": ["sites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/SiteIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sites/{slug}": {"get": {"operationId": "apps_sites_api_get_site", "summary": "Get Site", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SiteOut"}}}}}, "tags": ["sites"], "security": [{"ApiKeyAuth": []}]}}, "/sites/{slug}/logs": {"get": {"operationId": "apps_sites_api_site_logs", "summary": "Site Logs", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}, {"in": "query", "name": "tail", "schema": {"default": 100, "title": "Tail", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/LogsOut"}}}}}, "tags": ["sites"], "security": [{"ApiKeyAuth": []}]}}, "/sites/{slug}/deploy": {"post": {"operationId": "apps_sites_api_deploy", "summary": "Deploy", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}, {"in": "query", "name": "image", "schema": {"title": "Image", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SiteOut"}}}}}, "tags": ["sites"], "security": [{"ApiKeyAuth": []}]}}, "/sites/{slug}/env": {"get": {"operationId": "apps_sites_api_list_env", "summary": "List Env", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/VarOut"}, "title": "Response", "type": "array"}}}}}, "description": "Everything the site's app gets, with where each value comes from. Secrets are masked.", "tags": ["variables"], "security": [{"ApiKeyAuth": []}]}}, "/sites/{slug}/env/{key}": {"put": {"operationId": "apps_sites_api_put_env", "summary": "Put Env", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}, {"in": "path", "name": "key", "schema": {"title": "Key", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/VarOut"}}}}}, "description": "Add or change one of the site's own settings. The site restarts with it without going offline.", "tags": ["variables"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/VarIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_sites_api_delete_env", "summary": "Delete Env", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}, {"in": "path", "name": "key", "schema": {"title": "Key", "type": "string"}, "required": true}], "responses": {"204": {"description": "No Content"}}, "tags": ["variables"], "security": [{"ApiKeyAuth": []}]}}, "/sites/{slug}/{action}": {"post": {"operationId": "apps_sites_api_action", "summary": "Action", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}, {"in": "path", "name": "action", "schema": {"title": "Action", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SiteOut"}}}}}, "tags": ["sites"], "security": [{"ApiKeyAuth": []}]}}, "/accounts/me": {"get": {"operationId": "apps_accounts_api_router_whoami", "summary": "Whoami", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AccountOut"}}}}}, "description": "The account behind this API key, and what the key may do.", "tags": ["accounts"], "security": [{"ApiKeyAuth": []}]}}, "/billing/wallet": {"get": {"operationId": "apps_billing_api_router_wallet", "summary": "Wallet", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/WalletOut"}}}}}, "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/billing/invoices": {"get": {"operationId": "apps_billing_api_router_invoices", "summary": "Invoices", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/InvoiceOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/billing/transactions": {"get": {"operationId": "apps_billing_api_router_transactions", "summary": "Transactions", "parameters": [{"in": "query", "name": "limit", "schema": {"default": 100, "title": "Limit", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/TransactionOut"}, "title": "Response", "type": "array"}}}}}, "description": "Wallet movements, newest first (up to 500).", "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/billing/invoices/{number}": {"get": {"operationId": "apps_billing_api_router_invoice", "summary": "Invoice", "parameters": [{"in": "path", "name": "number", "schema": {"title": "Number", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/InvoiceOut"}}}}}, "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/billing/subscriptions": {"get": {"operationId": "apps_billing_api_router_subscriptions", "summary": "Subscriptions", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/SubscriptionOut"}, "title": "Response", "type": "array"}}}}}, "description": "Everything that renews from the wallet.", "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/billing/subscriptions/{pk}/auto-renew": {"post": {"operationId": "apps_billing_api_router_subscription_auto_renew", "summary": "Subscription Auto Renew", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SubscriptionOut"}}}}}, "description": "Renew by itself from the wallet, or not. Turning it on also undoes a cancel.", "tags": ["billing"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AutoRenewIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/billing/subscriptions/{pk}/cancel": {"post": {"operationId": "apps_billing_api_router_subscription_cancel", "summary": "Subscription Cancel", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SubscriptionOut"}}}}}, "description": "Stop it renewing: it keeps working until renews_at, then it is paused. Undo with auto-renew on.", "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/billing/subscriptions/{pk}/pay": {"post": {"operationId": "apps_billing_api_router_subscription_pay", "summary": "Subscription Pay", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SubscriptionOut"}}}}}, "description": "Pay a missed or paused renewal from the wallet now; anything paused comes back. 402 when the wallet is short.", "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/billing/subscriptions/{pk}/level": {"post": {"operationId": "apps_billing_api_router_subscription_level", "summary": "Subscription Level", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ChangeOut"}}}}}, "description": "Move a package to another level now. The difference for the rest of the paid period is charged (or credited back\nwhen it is cheaper); the renewal date stays.", "tags": ["billing"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LevelIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/billing/entitlements": {"get": {"operationId": "apps_billing_api_router_account_entitlements", "summary": "Account Entitlements", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EntitlementsOut"}}}}}, "description": "What the account may have from what it pays for (null: no limit), and what it has now.", "tags": ["billing"], "security": [{"ApiKeyAuth": []}]}}, "/domains/": {"get": {"operationId": "apps_domains_api_router_list_domains", "summary": "List Domains", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/DomainOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_domains_api_router_register", "summary": "Register", "parameters": [], "responses": {"202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/OrderOut"}}}}}, "description": "Register a name, paid now from the wallet. The registry finishes it later (status pending -> active).", "tags": ["domains"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/RegisterIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/domains/check": {"get": {"operationId": "apps_domains_api_router_check", "summary": "Check", "parameters": [{"in": "query", "name": "names", "schema": {"title": "Names", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/CheckOut"}, "title": "Response", "type": "array"}}}}}, "description": "Up to 20 comma-separated names. `price` is what this account pays (partner prices applied).", "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}}, "/domains/prices": {"get": {"operationId": "apps_domains_api_router_prices", "summary": "Prices", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/PriceOut"}, "title": "Response", "type": "array"}}}}}, "description": "Every ending we sell, at this account's prices.", "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}": {"get": {"operationId": "apps_domains_api_router_get_domain", "summary": "Get Domain", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DomainOut"}}}}}, "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/operations": {"get": {"operationId": "apps_domains_api_router_operations", "summary": "Operations", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/OperationOut"}, "title": "Response", "type": "array"}}}}}, "description": "What has been asked of the registry for this name, newest first.", "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/contacts": {"get": {"operationId": "apps_domains_api_router_get_contacts", "summary": "Get Contacts", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": {"type": "string"}, "title": "Response", "type": "object"}}}}}, "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}, "put": {"operationId": "apps_domains_api_router_set_contacts", "summary": "Set Contacts", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "query", "name": "submit", "schema": {"default": true, "title": "Submit", "type": "boolean"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": {"type": "string"}, "title": "Response", "type": "object"}}}}, "202": {"description": "Accepted", "content": {"application/json": {"schema": {"additionalProperties": {"type": "string"}, "title": "Response", "type": "object"}}}}}, "description": "Owner details. While a new name waits for them they're saved and, once complete, submitted: they lock and the\nregistration goes (200). Pass ?submit=false to save them for checking first, then POST /{name}/contacts/submit,\nthe way the website asks the owner. On a registered name the change is sent to the registry (202) and\nshows here once it confirms; GET /{name}/operations follows it.", "tags": ["domains"], "requestBody": {"content": {"application/json": {"schema": {"additionalProperties": {"type": "string"}, "title": "Data", "type": "object"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/domains/transfers": {"post": {"operationId": "apps_domains_api_router_transfer_in", "summary": "Transfer In", "parameters": [], "responses": {"202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/OrderOut"}}}}}, "description": "Move a name here from another provider, paid now (free for the .zw endings).", "tags": ["domains"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/TransferIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/renew": {"post": {"operationId": "apps_domains_api_router_renew", "summary": "Renew", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/OrderOut"}}}}}, "description": "Renew ahead for 1-5 years, paid now. The new expiry shows once the registry confirms.", "tags": ["domains"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/RenewIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/nameservers": {"put": {"operationId": "apps_domains_api_router_set_nameservers", "summary": "Set Nameservers", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DomainOut"}}}}}, "tags": ["domains"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NameserversIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/contacts/submit": {"post": {"operationId": "apps_domains_api_router_submit_contacts", "summary": "Submit Contacts", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": {"type": "string"}, "title": "Response", "type": "object"}}}}}, "description": "Submit a new name's owner details as they are: they lock, and the registration goes.", "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/lock": {"put": {"operationId": "apps_domains_api_router_set_lock", "summary": "Set Lock", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DomainOut"}}}}}, "tags": ["domains"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ToggleIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/auto-renew": {"put": {"operationId": "apps_domains_api_router_set_auto_renew", "summary": "Set Auto Renew", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DomainOut"}}}}}, "tags": ["domains"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ToggleIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/domains/{name}/auth-code": {"get": {"operationId": "apps_domains_api_router_auth_code", "summary": "Auth Code", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AuthCodeOut"}}}}}, "description": "The transfer code, for moving the name away. Needs domains:write.", "tags": ["domains"], "security": [{"ApiKeyAuth": []}]}}, "/dns/zones": {"get": {"operationId": "apps_dns_api_router_list_zones", "summary": "List Zones", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ZoneOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["dns"], "security": [{"ApiKeyAuth": []}]}}, "/dns/zones/{name}/records": {"get": {"operationId": "apps_dns_api_router_list_records", "summary": "List Records", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/RecordOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["dns"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_dns_api_router_create_record", "summary": "Create Record", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RecordOut"}}}}}, "tags": ["dns"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/RecordIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_dns_api_router_delete_record_by_query", "summary": "Delete Record By Query", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "query", "name": "id", "schema": {"title": "Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK"}}, "description": "DELETE /dns/zones/{name}/records?id=123", "tags": ["dns"], "security": [{"ApiKeyAuth": []}]}}, "/dns/zones/{name}/records/{record_id}": {"put": {"operationId": "apps_dns_api_router_update_record", "summary": "Update Record", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "path", "name": "record_id", "schema": {"title": "Record Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RecordOut"}}}}}, "description": "Change one record in place (its name, type, content, TTL or priority). Records we keep for email or a website\n(managed_by set) can't be changed here.", "tags": ["dns"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/RecordIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_dns_api_router_delete_record", "summary": "Delete Record", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "path", "name": "record_id", "schema": {"title": "Record Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK"}}, "tags": ["dns"], "security": [{"ApiKeyAuth": []}]}}, "/mail/": {"get": {"operationId": "apps_mail_api_router_list_mail_names", "summary": "List Mail Names", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"additionalProperties": true, "type": "object"}, "title": "Response", "type": "array"}}}}}, "description": "The account's names with email on, and the names email could be turned on for.", "tags": ["mail"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_mail_api_router_enable_mail", "summary": "Enable Mail", "parameters": [], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Turn email on for one of the account's names: its keys, its DNS records (when we hold its DNS) and the mail\nserver. Needs Hosting or a package.", "tags": ["mail"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/EnableIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/mail/eligible": {"get": {"operationId": "apps_mail_api_router_eligible_names", "summary": "Eligible Names", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"type": "string"}, "title": "Response", "type": "array"}}}}}, "description": "The account's own names that could have email turned on.", "tags": ["mail"], "security": [{"ApiKeyAuth": []}]}}, "/mail/{name}": {"get": {"operationId": "apps_mail_api_router_get_mail_name", "summary": "Get Mail Name", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "One name's email: state, the DNS records it needs and whether each is there, warnings, mailboxes, settings.", "tags": ["mail"], "security": [{"ApiKeyAuth": []}]}}, "/mail/{name}/mailboxes": {"get": {"operationId": "apps_mail_api_router_list_mailboxes", "summary": "List Mailboxes", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"additionalProperties": true, "type": "object"}, "title": "Response", "type": "array"}}}}}, "tags": ["mail"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_mail_api_router_create_mailbox", "summary": "Create Mailbox", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "A new mailbox. With `password_to`, the person who'll use it gets a one-time link (48 hours) to choose its\npassword and nothing secret comes back; without it, the answer carries a password, once.", "tags": ["mail"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/MailboxIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/mail/{name}/mailboxes/{local_part}": {"get": {"operationId": "apps_mail_api_router_get_mailbox", "summary": "Get Mailbox", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "path", "name": "local_part", "schema": {"title": "Local Part", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "tags": ["mail"], "security": [{"ApiKeyAuth": []}]}, "patch": {"operationId": "apps_mail_api_router_update_mailbox", "summary": "Update Mailbox", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "path", "name": "local_part", "schema": {"title": "Local Part", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Change a mailbox's name shown to people, its size, its aliases (other addresses that arrive in it), or suspend\nit (nobody can sign in or send; mail still arrives) and bring it back.", "tags": ["mail"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/MailboxPatch"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_mail_api_router_delete_mailbox", "summary": "Delete Mailbox", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "path", "name": "local_part", "schema": {"title": "Local Part", "type": "string"}, "required": true}], "responses": {"204": {"description": "No Content"}}, "description": "Delete a mailbox and every message in it. This can't be undone.", "tags": ["mail"], "security": [{"ApiKeyAuth": []}]}}, "/mail/{name}/mailboxes/{local_part}/password": {"post": {"operationId": "apps_mail_api_router_mailbox_password", "summary": "Mailbox Password", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}, {"in": "path", "name": "local_part", "schema": {"title": "Local Part", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "A new password: with `send_to`, a one-time link where the person chooses it (the old one keeps working until\nthen); without, a new one made now and returned once (the old one stops working).", "tags": ["mail"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PasswordIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/resellers/me": {"get": {"operationId": "apps_resellers_api_router_me", "summary": "Me", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/MeOut"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/clients": {"get": {"operationId": "apps_resellers_api_router_clients", "summary": "Clients", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ClientOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_resellers_api_router_add_client", "summary": "Add Client", "parameters": [], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientOut"}}}}}, "tags": ["resellers"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/resellers/clients/{link_id}": {"get": {"operationId": "apps_resellers_api_router_client", "summary": "Client", "parameters": [{"in": "path", "name": "link_id", "schema": {"title": "Link Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientOut"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/clients/{link_id}/fund": {"post": {"operationId": "apps_resellers_api_router_fund", "summary": "Fund", "parameters": [{"in": "path", "name": "link_id", "schema": {"title": "Link Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "tags": ["resellers"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/FundIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/resellers/clients/{link_id}/handoff": {"post": {"operationId": "apps_resellers_api_router_handoff", "summary": "Handoff", "parameters": [{"in": "path", "name": "link_id", "schema": {"title": "Link Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientOut"}}}}}, "tags": ["resellers"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/HandoffIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_resellers_api_router_cancel_handoff", "summary": "Cancel Handoff", "parameters": [{"in": "path", "name": "link_id", "schema": {"title": "Link Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientOut"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/domains": {"get": {"operationId": "apps_resellers_api_router_book_domains", "summary": "Book Domains", "parameters": [{"in": "query", "name": "client", "schema": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Client"}, "required": false}, {"in": "query", "name": "status", "schema": {"default": "", "title": "Status", "type": "string"}, "required": false}, {"in": "query", "name": "expiring_within", "schema": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Expiring Within"}, "required": false}, {"in": "query", "name": "q", "schema": {"default": "", "title": "Q", "type": "string"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/PortfolioDomainOut"}, "title": "Response", "type": "array"}}}}}, "description": "`client` is a client id from /clients; `expiring_within` a number of days.", "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/domains/bulk": {"post": {"operationId": "apps_resellers_api_router_bulk", "summary": "Bulk", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BulkOut"}}}}}, "description": "action: renew | auto_renew_on | auto_renew_off | lock | unlock | nameservers. Each name succeeds or fails on its\nown. Renewals are paid from your wallet (pay_from \"partner\") or each client's (\"client\").", "tags": ["resellers"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BulkIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/resellers/sites": {"get": {"operationId": "apps_resellers_api_router_book_sites", "summary": "Book Sites", "parameters": [{"in": "query", "name": "client", "schema": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Client"}, "required": false}, {"in": "query", "name": "state", "schema": {"default": "", "title": "State", "type": "string"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/PortfolioSiteOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/sites/{site_id}/{action}": {"post": {"operationId": "apps_resellers_api_router_site_action", "summary": "Site Action", "parameters": [{"in": "path", "name": "site_id", "schema": {"format": "uuid", "title": "Site Id", "type": "string"}, "required": true}, {"in": "path", "name": "action", "schema": {"title": "Action", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PortfolioSiteOut"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/prices": {"get": {"operationId": "apps_resellers_api_router_prices", "summary": "Prices", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/PriceOut"}, "title": "Response", "type": "array"}}}}}, "description": "What you pay against the list price, for names and plans.", "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/pricing": {"get": {"operationId": "apps_resellers_api_router_get_pricing", "summary": "Get Pricing", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PricingOut"}}}}}, "description": "Your own prices to your clients: on or off, and the markup per group (percent over list price).", "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}, "put": {"operationId": "apps_resellers_api_router_put_pricing", "summary": "Put Pricing", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PricingOut"}}}}}, "description": "Turning own prices on needs agree=true once: you present them as your own, never as LOCALHOST's (partner terms).", "tags": ["resellers"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PricingIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/resellers/commissions": {"get": {"operationId": "apps_resellers_api_router_commissions", "summary": "Commissions", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/CommissionOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/events": {"get": {"operationId": "apps_resellers_api_router_events", "summary": "Events", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": {"type": "string"}, "title": "Response", "type": "object"}}}}}, "description": "Every event a webhook can subscribe to. \"domain.*\" subscribes to a whole group.", "tags": ["resellers"]}}, "/resellers/webhooks": {"get": {"operationId": "apps_resellers_api_router_list_webhooks", "summary": "List Webhooks", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/WebhookOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_resellers_api_router_create_webhook", "summary": "Create Webhook", "parameters": [], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookCreated"}}}}}, "description": "The answer carries the signing secret, once.", "tags": ["resellers"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/resellers/webhooks/{hook_id}": {"patch": {"operationId": "apps_resellers_api_router_update_webhook", "summary": "Update Webhook", "parameters": [{"in": "path", "name": "hook_id", "schema": {"title": "Hook Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookOut"}}}}}, "tags": ["resellers"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookPatch"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_resellers_api_router_delete_webhook", "summary": "Delete Webhook", "parameters": [{"in": "path", "name": "hook_id", "schema": {"title": "Hook Id", "type": "integer"}, "required": true}], "responses": {"204": {"description": "No Content"}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/webhooks/{hook_id}/rotate-secret": {"post": {"operationId": "apps_resellers_api_router_rotate_secret", "summary": "Rotate Secret", "parameters": [{"in": "path", "name": "hook_id", "schema": {"title": "Hook Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebhookCreated"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/webhooks/{hook_id}/test": {"post": {"operationId": "apps_resellers_api_router_test_webhook", "summary": "Test Webhook", "parameters": [{"in": "path", "name": "hook_id", "schema": {"title": "Hook Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DeliveryOut"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/webhooks/{hook_id}/deliveries": {"get": {"operationId": "apps_resellers_api_router_deliveries", "summary": "Deliveries", "parameters": [{"in": "path", "name": "hook_id", "schema": {"title": "Hook Id", "type": "integer"}, "required": true}, {"in": "query", "name": "status", "schema": {"default": "", "title": "Status", "type": "string"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/DeliveryOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/resellers/webhooks/{hook_id}/deliveries/{delivery_id}/redeliver": {"post": {"operationId": "apps_resellers_api_router_redeliver", "summary": "Redeliver", "parameters": [{"in": "path", "name": "hook_id", "schema": {"title": "Hook Id", "type": "integer"}, "required": true}, {"in": "path", "name": "delivery_id", "schema": {"title": "Delivery Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DeliveryOut"}}}}}, "tags": ["resellers"], "security": [{"ApiKeyAuth": []}]}}, "/connect/peers": {"get": {"operationId": "apps_connect_api_router_list_peers", "summary": "List Peers", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/PeerOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["connect"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_connect_api_router_create_peer", "summary": "Create Peer", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PeerCreated"}}}}}, "tags": ["connect"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PeerIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/connect/routes": {"get": {"operationId": "apps_connect_api_router_list_routes", "summary": "List Routes", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/RouteOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["connect"], "security": [{"ApiKeyAuth": []}]}}, "/connect/connectors": {"get": {"operationId": "apps_connect_api_router_list_connectors", "summary": "List Connectors", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ConnectorOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["connect"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_connect_api_router_create_connector", "summary": "Create Connector", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConnectorCreated"}}}}}, "tags": ["connect"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConnectorIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/connect/connectors/{name}/routes": {"post": {"operationId": "apps_connect_api_router_add_connector_route", "summary": "Add Connector Route", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConnectorOut"}}}}}, "tags": ["connect"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ConnectorRouteIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/databases/": {"get": {"operationId": "apps_databases_api_router_list_databases", "summary": "List Databases", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/DatabaseOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["databases"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_databases_api_router_create_database", "summary": "Create Database", "parameters": [], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DatabaseOut"}}}}}, "description": "A new database, as many as the plan includes; past that, one more at the extra database price a month with\n`add_extra` (its first month from the wallet now). The connection details are in the panel, or become the named\nsite's DATABASE_URL.", "tags": ["databases"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/DatabaseIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/builds/": {"get": {"operationId": "apps_builds_api_router_list_builds", "summary": "List Builds", "parameters": [{"in": "query", "name": "site", "schema": {"title": "Site", "type": "string"}, "required": true}, {"in": "query", "name": "limit", "schema": {"default": 20, "title": "Limit", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/BuildOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["builds"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_builds_api_router_create_build", "summary": "Create Build", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BuildOut"}}}}}, "tags": ["builds"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BuildIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/builds/sites": {"post": {"operationId": "apps_builds_api_router_create_git_site", "summary": "Create Git Site", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BuildOut"}}}}}, "description": "Create a site that deploys from a repository; returns its first build.", "tags": ["builds"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/GitSiteIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/builds/scan": {"post": {"operationId": "apps_builds_api_router_scan_folder", "summary": "Scan Folder", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ScanOut"}}}}}, "description": "What `lh init` sends: a folder's file names and its build files. Runs the same read-only scan a build does\n(nothing in it is executed) and answers with the plan and an lh.toml that writes it down.", "tags": ["builds"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ScanIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/builds/previews": {"get": {"operationId": "apps_builds_api_router_list_previews", "summary": "List Previews", "parameters": [{"in": "query", "name": "site", "schema": {"title": "Site", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/PreviewOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["builds"], "security": [{"ApiKeyAuth": []}]}}, "/builds/sources/{slug}": {"get": {"operationId": "apps_builds_api_router_get_source", "summary": "Get Source", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SourceOut"}}}}}, "tags": ["builds"], "security": [{"ApiKeyAuth": []}]}, "put": {"operationId": "apps_builds_api_router_put_source", "summary": "Put Source", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SourceOut"}}}}}, "description": "Connect (or change) the site's repository. Connecting for the first time starts a build.", "tags": ["builds"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/SourceIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_builds_api_router_delete_source", "summary": "Delete Source", "parameters": [{"in": "path", "name": "slug", "schema": {"title": "Slug", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK"}}, "tags": ["builds"], "security": [{"ApiKeyAuth": []}]}}, "/builds/{build_id}": {"get": {"operationId": "apps_builds_api_router_get_build", "summary": "Get Build", "parameters": [{"in": "path", "name": "build_id", "schema": {"format": "uuid", "title": "Build Id", "type": "string"}, "required": true}, {"in": "query", "name": "since", "schema": {"default": 0, "title": "Since", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BuildLogOut"}}}}}, "description": "The build with its log from character `since`; pass log_next back to follow it.", "tags": ["builds"], "security": [{"ApiKeyAuth": []}]}}, "/builds/{build_id}/cancel": {"post": {"operationId": "apps_builds_api_router_cancel_build", "summary": "Cancel Build", "parameters": [{"in": "path", "name": "build_id", "schema": {"format": "uuid", "title": "Build Id", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BuildOut"}}}}}, "tags": ["builds"], "security": [{"ApiKeyAuth": []}]}}, "/builds/{build_id}/rollback": {"post": {"operationId": "apps_builds_api_router_rollback", "summary": "Rollback", "parameters": [{"in": "path", "name": "build_id", "schema": {"format": "uuid", "title": "Build Id", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BuildOut"}}}}}, "description": "Put this build's version back live; returns the new rollback build.", "tags": ["builds"], "security": [{"ApiKeyAuth": []}]}}, "/sms/otp/send": {"post": {"operationId": "apps_sms_api_router_otp_send", "summary": "Otp Send", "parameters": [], "responses": {"202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/OtpSendOut"}}}}}, "description": "Text a 6-digit code to a Zimbabwe mobile number. One per number per minute; valid 5 minutes, 5 tries, used once.", "tags": ["sms"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/OtpSendIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sms/otp/verify": {"post": {"operationId": "apps_sms_api_router_otp_verify", "summary": "Otp Verify", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/OtpVerifyOut"}}}}}, "description": "Is this the code we sent? Give the id from /otp/send, or the phone number (the latest code to it).", "tags": ["sms"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/OtpVerifyIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sms/messages": {"post": {"operationId": "apps_sms_api_router_send", "summary": "Send", "parameters": [], "responses": {"202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SendOut"}}}}}, "description": "Send one message to one or many numbers (up to 200).", "tags": ["sms"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/SendIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sms/campaigns": {"post": {"operationId": "apps_sms_api_router_create_campaign", "summary": "Create Campaign", "parameters": [], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CampaignOut"}}}}}, "description": "Send a campaign. Every https link in the message becomes a tracked short link, one per recipient.", "tags": ["sms"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CampaignIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "get": {"operationId": "apps_sms_api_router_list_campaigns", "summary": "List Campaigns", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/CampaignOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["sms"], "security": [{"ApiKeyAuth": []}]}}, "/sms/campaigns/{campaign_id}": {"get": {"operationId": "apps_sms_api_router_get_campaign", "summary": "Get Campaign", "parameters": [{"in": "path", "name": "campaign_id", "schema": {"title": "Campaign Id", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CampaignOut"}}}}}, "tags": ["sms"], "security": [{"ApiKeyAuth": []}]}}, "/sms/senders": {"get": {"operationId": "apps_sms_api_router_senders", "summary": "Senders", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"type": "string"}, "title": "Response", "type": "array"}}}}}, "description": "The names this account can send from right now: its approved own names, then the shared one.", "tags": ["sms"], "security": [{"ApiKeyAuth": []}]}}, "/variables/": {"get": {"operationId": "apps_variables_api_router_list_vars", "summary": "List Vars", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/VarOut"}, "title": "Response", "type": "array"}}}}}, "tags": ["variables"], "security": [{"ApiKeyAuth": []}]}}, "/variables/{key}": {"put": {"operationId": "apps_variables_api_router_put_var", "summary": "Put Var", "parameters": [{"in": "path", "name": "key", "schema": {"title": "Key", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/VarOut"}}}}}, "tags": ["variables"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/VarIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_variables_api_router_delete_var", "summary": "Delete Var", "parameters": [{"in": "path", "name": "key", "schema": {"title": "Key", "type": "string"}, "required": true}], "responses": {"204": {"description": "No Content"}}, "tags": ["variables"], "security": [{"ApiKeyAuth": []}]}}, "/legal/closing": {"get": {"operationId": "apps_legal_api_router_closing", "summary": "Closing", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClosingOut"}}}}}, "description": "What closing your account would do, what's in the way, and whether you've already asked.", "tags": ["privacy"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_legal_api_router_close", "summary": "Close", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClosingOut"}}}}}, "description": "Ask to close your account. It closes after `days`; until then `POST /legal/closing/keep` keeps it.", "tags": ["privacy"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CloseIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/legal/closing/keep": {"post": {"operationId": "apps_legal_api_router_keep", "summary": "Keep", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClosingOut"}}}}}, "description": "Changed your mind: your account stays open.", "tags": ["privacy"], "security": [{"ApiKeyAuth": []}]}}, "/legal/data": {"get": {"operationId": "apps_legal_api_router_data", "summary": "Data", "parameters": [], "responses": {"200": {"description": "OK"}}, "description": "Everything we hold about you and your accounts, as JSON.", "tags": ["privacy"], "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites": {"get": {"operationId": "apps_sitekit_api_router_list_websites", "summary": "List Websites", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"additionalProperties": true, "type": "object"}, "title": "Response", "type": "array"}}}}}, "tags": ["websites"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_sitekit_api_router_create_website", "summary": "Create Website", "parameters": [], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "A new website of a kind, with its example sections to change. Within what the plan includes, or one more at\nthe extra-website price a month with add_extra (its first month from the wallet now). It isn't live until\npublished.", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WebsiteIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}": {"get": {"operationId": "apps_sitekit_api_router_get_website", "summary": "Get Website", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "The whole draft: business details, look, every section with its fields, what can be added, and the live state.", "tags": ["websites"], "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_sitekit_api_router_remove_website", "summary": "Remove Website", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}, {"in": "query", "name": "confirm", "schema": {"title": "Confirm", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Take it offline, stop Google listing it, end an extra-website charge, and delete it. confirm is its name.\nNames that pointed at it keep answering with the holding page. This can't be undone.", "tags": ["websites"], "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/sections/{sid}": {"patch": {"operationId": "apps_sitekit_api_router_update_section", "summary": "Update Section", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}, {"in": "path", "name": "sid", "schema": {"title": "Sid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Change a section's words, pictures, layout or tone; only what's given changes. header and footer are sections too.", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/SectionPatch"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}, "delete": {"operationId": "apps_sitekit_api_router_remove_section", "summary": "Remove Section", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}, {"in": "path", "name": "sid", "schema": {"title": "Sid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "tags": ["websites"], "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/sections": {"post": {"operationId": "apps_sitekit_api_router_add_section", "summary": "Add Section", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Add a section of a kind from can_add, after a given section (or in the natural place).", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/SectionAdd"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/sections/{sid}/move": {"post": {"operationId": "apps_sitekit_api_router_move_section", "summary": "Move Section", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}, {"in": "path", "name": "sid", "schema": {"title": "Sid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/MoveIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/look": {"put": {"operationId": "apps_sitekit_api_router_set_look", "summary": "Set Look", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "The theme: palette, fonts, shape, density (names from the website's look.options), and the WhatsApp button.", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/LookIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/business": {"put": {"operationId": "apps_sitekit_api_router_set_business", "summary": "Set Business", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "The business's details every section can use: name, tagline, contacts, hours, social links.", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BusinessIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/publish": {"post": {"operationId": "apps_sitekit_api_router_publish_website", "summary": "Publish Website", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Put the draft live for visitors. Refused (409) while must-do checklist items are open, unless anyway=true.", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PublishIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/unpublish": {"post": {"operationId": "apps_sitekit_api_router_unpublish_website", "summary": "Unpublish Website", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Take it offline. The draft is kept; publish again any time.", "tags": ["websites"], "security": [{"ApiKeyAuth": []}]}}, "/sitekit/kinds": {"get": {"operationId": "apps_sitekit_api_router_website_kinds", "summary": "Website Kinds", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"additionalProperties": true, "type": "object"}, "title": "Response", "type": "array"}}}}}, "description": "The kinds of business a website can be for, what each gets (a shop, bookings \u2026) and its starting sections.", "tags": ["websites"], "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/kind": {"post": {"operationId": "apps_sitekit_api_router_change_website_kind", "summary": "Change Website Kind", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Change what the website is for. Its sections start again from the new kind's, keeping every section the owner\nchanged or added and their details and look. Only the draft changes until it is published.", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/KindIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/sitekit/websites/{pk}/sections/{sid}/photo": {"put": {"operationId": "apps_sitekit_api_router_set_photo", "summary": "Set Photo", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "string"}, "required": true}, {"in": "path", "name": "sid", "schema": {"title": "Sid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Put a picture from an https address into an image field (path c.image, c.items.2.photo; the paths are in\nget_website's fields), or the business's logo (path business.logo). A copy is kept with the website: upright, its\nlocation data removed, smaller.", "tags": ["websites"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PhotoIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/signatures/": {"get": {"operationId": "apps_signatures_api_router_list_signatures", "summary": "List Signatures", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"additionalProperties": true, "type": "object"}, "title": "Response", "type": "array"}}}}}, "tags": ["signatures"], "security": [{"ApiKeyAuth": []}]}}, "/signatures/{name}": {"get": {"operationId": "apps_signatures_api_router_get_signature", "summary": "Get Signature", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "One name's signature: its details, design, the designs there are, and how it looks (HTML and plain text).", "tags": ["signatures"], "security": [{"ApiKeyAuth": []}]}, "patch": {"operationId": "apps_signatures_api_router_update_signature", "summary": "Update Signature", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Change the details, pick a design, give your own HTML, turn it on or off. Only the fields given change.", "tags": ["signatures"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/SignaturePatch"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/signatures/{name}/designs": {"post": {"operationId": "apps_signatures_api_router_add_signature_designs", "summary": "Add Signature Designs", "parameters": [{"in": "path", "name": "name", "schema": {"title": "Name", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Start Signature designs on this name: every design, your own HTML and the offer line, monthly from the wallet.", "tags": ["signatures"], "security": [{"ApiKeyAuth": []}]}}, "/seo/": {"get": {"operationId": "apps_seo_api_router_listings", "summary": "Listings", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "What is on Google and how it does, and what could be added: live websites and names not on yet, and parked\nnames (no website to list).", "tags": ["seo"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_seo_api_router_turn_on", "summary": "Turn On", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Put a live website, or a name of the account's with a website elsewhere, on Google. The steps run in the\nbackground; read them back with GET /seo/.", "tags": ["seo"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/TurnOnIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/postmaster/": {"get": {"operationId": "apps_postmaster_api_router_watches", "summary": "Watches", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"additionalProperties": true, "type": "object"}, "title": "Response", "type": "array"}}}}}, "description": "Each name with working email: whether Gmail watching is on, and what Gmail says, in plain words.", "tags": ["postmaster"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_postmaster_api_router_watch", "summary": "Watch", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Ask Gmail to measure a name with working email (or try again after a problem).", "tags": ["postmaster"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/WatchIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/support/conversations": {"get": {"operationId": "apps_support_api_router_conversations", "summary": "Conversations", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"additionalProperties": true, "type": "object"}, "title": "Response", "type": "array"}}}}}, "description": "The person's questions to us, newest first.", "tags": ["support"], "security": [{"ApiKeyAuth": []}]}, "post": {"operationId": "apps_support_api_router_ask", "summary": "Ask", "parameters": [], "responses": {"201": {"description": "Created", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "A new question. Answered by email to the person's address (and in the panel's chat).", "tags": ["support"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/AskIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/support/conversations/{pk}": {"get": {"operationId": "apps_support_api_router_conversation", "summary": "Conversation", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "One conversation with every message we can show them.", "tags": ["support"], "security": [{"ApiKeyAuth": []}]}}, "/support/conversations/{pk}/reply": {"post": {"operationId": "apps_support_api_router_reply", "summary": "Reply", "parameters": [{"in": "path", "name": "pk", "schema": {"title": "Pk", "type": "integer"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": true, "title": "Response", "type": "object"}}}}}, "description": "Add to a conversation (it opens again if we had closed it).", "tags": ["support"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ReplyIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/phone-auth/send": {"post": {"operationId": "apps_phone_auth_api_router_send", "summary": "Send", "parameters": [], "responses": {"202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SendOut"}}}}}, "description": "Text a code to a Zimbabwe mobile number. One per number per minute; it lasts the app's minutes (5 by default),\ncan be tried 5 times and works once. 402 when the account's SMS credits have run out.", "tags": ["phone-auth"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/SendIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/phone-auth/verify": {"post": {"operationId": "apps_phone_auth_api_router_verify", "summary": "Verify", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/VerifyOut"}}}}}, "description": "Is this the code we sent? Give the id from /send, or the phone number (the latest code to it from this app).", "tags": ["phone-auth"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/VerifyIn"}}}, "required": true}, "security": [{"ApiKeyAuth": []}]}}, "/phone-auth/apps": {"get": {"operationId": "apps_phone_auth_api_router_apps", "summary": "Apps", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/AppOut"}, "title": "Response", "type": "array"}}}}}, "description": "The account's Phone Auth apps: the id to pass as `app`, the name in the text, the sender, the code's length.", "tags": ["phone-auth"], "security": [{"ApiKeyAuth": []}]}}}, "components": {"schemas": {"SiteOut": {"properties": {"id": {"title": "Id", "type": "string"}, "slug": {"title": "Slug", "type": "string"}, "name": {"title": "Name", "type": "string"}, "image": {"title": "Image", "type": "string"}, "port": {"title": "Port", "type": "integer"}, "size": {"title": "Size", "type": "string"}, "desired_state": {"title": "Desired State", "type": "string"}, "observed_state": {"title": "Observed State", "type": "string"}, "url": {"title": "Url", "type": "string"}, "hostnames": {"items": {"type": "string"}, "title": "Hostnames", "type": "array"}, "last_error": {"title": "Last Error", "type": "string"}}, "required": ["id", "slug", "name", "image", "port", "size", "desired_state", "observed_state", "url", "hostnames", "last_error"], "title": "SiteOut", "type": "object"}, "SiteIn": {"properties": {"slug": {"title": "Slug", "type": "string"}, "image": {"title": "Image", "type": "string"}, "name": {"default": "", "title": "Name", "type": "string"}, "port": {"default": 80, "title": "Port", "type": "integer"}, "size": {"default": "S", "title": "Size", "type": "string"}, "env": {"additionalProperties": {"type": "string"}, "default": {}, "title": "Env", "type": "object"}}, "required": ["slug", "image"], "title": "SiteIn", "type": "object"}, "LogsOut": {"properties": {"slug": {"title": "Slug", "type": "string"}, "lines": {"items": {"type": "string"}, "title": "Lines", "type": "array"}}, "required": ["slug", "lines"], "title": "LogsOut", "type": "object"}, "VarOut": {"properties": {"key": {"title": "Key", "type": "string"}, "value": {"title": "Value", "type": "string"}, "secret": {"title": "Secret", "type": "boolean"}, "source": {"title": "Source", "type": "string"}, "build_time": {"default": false, "title": "Build Time", "type": "boolean"}, "production_only": {"default": false, "title": "Production Only", "type": "boolean"}, "only_sites": {"default": [], "items": {"type": "string"}, "title": "Only Sites", "type": "array"}, "overrides": {"default": "", "title": "Overrides", "type": "string"}}, "required": ["key", "value", "secret", "source"], "title": "VarOut", "type": "object"}, "VarIn": {"properties": {"value": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Value"}, "secret": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Secret"}, "build_time": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Build Time"}, "production_only": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Production Only"}, "only_sites": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Only Sites"}, "note": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Note"}}, "title": "VarIn", "type": "object"}, "AccountOut": {"properties": {"slug": {"title": "Slug", "type": "string"}, "name": {"title": "Name", "type": "string"}, "kind": {"title": "Kind", "type": "string"}, "tin": {"title": "Tin", "type": "string"}, "vat_number": {"title": "Vat Number", "type": "string"}, "whatsapp": {"title": "Whatsapp", "type": "string"}, "key_name": {"title": "Key Name", "type": "string"}, "scopes": {"items": {"type": "string"}, "title": "Scopes", "type": "array"}}, "required": ["slug", "name", "kind", "tin", "vat_number", "whatsapp", "key_name", "scopes"], "title": "AccountOut", "type": "object"}, "WalletOut": {"properties": {"balance": {"title": "Balance", "type": "string"}, "currency": {"title": "Currency", "type": "string"}, "auto_renew": {"title": "Auto Renew", "type": "boolean"}}, "required": ["balance", "currency", "auto_renew"], "title": "WalletOut", "type": "object"}, "InvoiceOut": {"properties": {"number": {"title": "Number", "type": "string"}, "status": {"title": "Status", "type": "string"}, "currency": {"title": "Currency", "type": "string"}, "total": {"title": "Total", "type": "string"}, "issued_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Issued At"}, "paid_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Paid At"}, "lines": {"items": {"additionalProperties": true, "type": "object"}, "title": "Lines", "type": "array"}}, "required": ["number", "status", "currency", "total", "issued_at", "paid_at", "lines"], "title": "InvoiceOut", "type": "object"}, "TransactionOut": {"properties": {"kind": {"title": "Kind", "type": "string"}, "amount": {"title": "Amount", "type": "string"}, "description": {"title": "Description", "type": "string"}, "balance_after": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Balance After"}, "reference": {"title": "Reference", "type": "string"}, "created_at": {"title": "Created At", "type": "string"}}, "required": ["kind", "amount", "description", "balance_after", "reference", "created_at"], "title": "TransactionOut", "type": "object"}, "SubscriptionOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "kind": {"title": "Kind", "type": "string"}, "label": {"title": "Label", "type": "string"}, "price": {"title": "Price", "type": "string"}, "period": {"title": "Period", "type": "string"}, "renews_at": {"title": "Renews At", "type": "string"}, "auto_renew": {"title": "Auto Renew", "type": "boolean"}, "status": {"title": "Status", "type": "string"}, "grace_until": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Grace Until"}, "paused_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Paused At"}, "delete_after": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Delete After"}}, "required": ["id", "kind", "label", "price", "period", "renews_at", "auto_renew", "status", "grace_until", "paused_at", "delete_after"], "title": "SubscriptionOut", "type": "object"}, "AutoRenewIn": {"properties": {"on": {"title": "On", "type": "boolean"}}, "required": ["on"], "title": "AutoRenewIn", "type": "object"}, "ChangeOut": {"properties": {"subscription": {"$ref": "#/components/schemas/SubscriptionOut"}, "charged": {"title": "Charged", "type": "string"}}, "required": ["subscription", "charged"], "title": "ChangeOut", "type": "object"}, "LevelIn": {"properties": {"level": {"title": "Level", "type": "string"}}, "required": ["level"], "title": "LevelIn", "type": "object"}, "EntitlementsOut": {"properties": {"allowed": {"additionalProperties": true, "title": "Allowed", "type": "object"}, "used": {"additionalProperties": true, "title": "Used", "type": "object"}}, "required": ["allowed", "used"], "title": "EntitlementsOut", "type": "object"}, "DomainOut": {"properties": {"name": {"title": "Name", "type": "string"}, "tld": {"title": "Tld", "type": "string"}, "status": {"title": "Status", "type": "string"}, "nameservers": {"items": {"type": "string"}, "title": "Nameservers", "type": "array"}, "auto_renew": {"title": "Auto Renew", "type": "boolean"}, "locked": {"title": "Locked", "type": "boolean"}, "registered_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Registered At"}, "expires_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Expires At"}}, "required": ["name", "tld", "status", "nameservers", "auto_renew", "locked", "registered_at", "expires_at"], "title": "DomainOut", "type": "object"}, "OrderOut": {"properties": {"domain": {"$ref": "#/components/schemas/DomainOut"}, "invoice": {"title": "Invoice", "type": "string"}, "charged": {"title": "Charged", "type": "string"}, "currency": {"title": "Currency", "type": "string"}, "next_step": {"title": "Next Step", "type": "string"}}, "required": ["domain", "invoice", "charged", "currency", "next_step"], "title": "OrderOut", "type": "object"}, "RegisterIn": {"properties": {"name": {"title": "Name", "type": "string"}, "nameservers": {"default": [], "items": {"type": "string"}, "title": "Nameservers", "type": "array"}, "registrant": {"additionalProperties": {"type": "string"}, "default": {}, "title": "Registrant", "type": "object"}, "auto_renew": {"default": true, "title": "Auto Renew", "type": "boolean"}, "pay_from": {"default": "account", "title": "Pay From", "type": "string"}}, "required": ["name"], "title": "RegisterIn", "type": "object"}, "CheckOut": {"properties": {"name": {"title": "Name", "type": "string"}, "available": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Available"}, "status": {"title": "Status", "type": "string"}, "price": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Price"}, "list_price": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "List Price"}, "currency": {"default": "USD", "title": "Currency", "type": "string"}, "needs_transfer_code": {"title": "Needs Transfer Code", "type": "boolean"}}, "required": ["name", "available", "status", "price", "list_price", "needs_transfer_code"], "title": "CheckOut", "type": "object"}, "PriceOut": {"properties": {"kind": {"title": "Kind", "type": "string"}, "ref": {"title": "Ref", "type": "string"}, "list_price": {"title": "List Price", "type": "string"}, "your_price": {"title": "Your Price", "type": "string"}, "client_price": {"title": "Client Price", "type": "string"}, "period": {"title": "Period", "type": "string"}}, "required": ["kind", "ref", "list_price", "your_price", "client_price", "period"], "title": "PriceOut", "type": "object"}, "OperationOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "op": {"title": "Op", "type": "string"}, "state": {"title": "State", "type": "string"}, "note": {"title": "Note", "type": "string"}, "created_at": {"format": "date-time", "title": "Created At", "type": "string"}, "completed_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Completed At"}}, "required": ["id", "op", "state", "note", "created_at", "completed_at"], "title": "OperationOut", "type": "object"}, "TransferIn": {"properties": {"name": {"title": "Name", "type": "string"}, "auth_code": {"default": "", "title": "Auth Code", "type": "string"}, "owner_email": {"default": "", "title": "Owner Email", "type": "string"}}, "required": ["name"], "title": "TransferIn", "type": "object"}, "RenewIn": {"properties": {"years": {"default": 1, "title": "Years", "type": "integer"}, "pay_from": {"default": "account", "title": "Pay From", "type": "string"}}, "title": "RenewIn", "type": "object"}, "NameserversIn": {"properties": {"nameservers": {"items": {"type": "string"}, "title": "Nameservers", "type": "array"}}, "required": ["nameservers"], "title": "NameserversIn", "type": "object"}, "ToggleIn": {"properties": {"on": {"title": "On", "type": "boolean"}}, "required": ["on"], "title": "ToggleIn", "type": "object"}, "AuthCodeOut": {"properties": {"name": {"title": "Name", "type": "string"}, "auth_code": {"title": "Auth Code", "type": "string"}}, "required": ["name", "auth_code"], "title": "AuthCodeOut", "type": "object"}, "ZoneOut": {"properties": {"name": {"title": "Name", "type": "string"}, "serial": {"title": "Serial", "type": "integer"}, "records": {"title": "Records", "type": "integer"}, "synced": {"title": "Synced", "type": "boolean"}}, "required": ["name", "serial", "records", "synced"], "title": "ZoneOut", "type": "object"}, "RecordOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "name": {"title": "Name", "type": "string"}, "type": {"title": "Type", "type": "string"}, "content": {"title": "Content", "type": "string"}, "ttl": {"title": "Ttl", "type": "integer"}, "priority": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Priority"}, "managed_by": {"title": "Managed By", "type": "string"}, "editable": {"title": "Editable", "type": "boolean"}}, "required": ["id", "name", "type", "content", "ttl", "priority", "managed_by", "editable"], "title": "RecordOut", "type": "object"}, "RecordIn": {"properties": {"name": {"default": "@", "title": "Name", "type": "string"}, "type": {"title": "Type", "type": "string"}, "content": {"title": "Content", "type": "string"}, "ttl": {"default": 300, "title": "Ttl", "type": "integer"}, "priority": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Priority"}}, "required": ["type", "content"], "title": "RecordIn", "type": "object"}, "EnableIn": {"properties": {"name": {"title": "Name", "type": "string"}}, "required": ["name"], "title": "EnableIn", "type": "object"}, "MailboxIn": {"properties": {"local_part": {"title": "Local Part", "type": "string"}, "display_name": {"default": "", "title": "Display Name", "type": "string"}, "quota_mb": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Quota Mb"}, "password_to": {"default": "", "title": "Password To", "type": "string"}}, "required": ["local_part"], "title": "MailboxIn", "type": "object"}, "MailboxPatch": {"properties": {"display_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Display Name"}, "quota_mb": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Quota Mb"}, "aliases": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Aliases"}, "suspended": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Suspended"}}, "title": "MailboxPatch", "type": "object"}, "PasswordIn": {"properties": {"send_to": {"default": "", "title": "Send To", "type": "string"}}, "title": "PasswordIn", "type": "object"}, "MeOut": {"properties": {"account": {"title": "Account", "type": "string"}, "name": {"title": "Name", "type": "string"}, "tier": {"title": "Tier", "type": "string"}, "discount_pct": {"title": "Discount Pct", "type": "integer"}, "commission_pct": {"title": "Commission Pct", "type": "integer"}, "referral_code": {"title": "Referral Code", "type": "string"}, "referral_url": {"title": "Referral Url", "type": "string"}, "wallet_balance": {"title": "Wallet Balance", "type": "string"}, "currency": {"title": "Currency", "type": "string"}, "clients": {"title": "Clients", "type": "integer"}, "white_label_host": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "White Label Host"}}, "required": ["account", "name", "tier", "discount_pct", "commission_pct", "referral_code", "referral_url", "wallet_balance", "currency", "clients", "white_label_host"], "title": "MeOut", "type": "object"}, "ClientOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "slug": {"title": "Slug", "type": "string"}, "name": {"title": "Name", "type": "string"}, "state": {"title": "State", "type": "string"}, "source": {"title": "Source", "type": "string"}, "managed": {"title": "Managed", "type": "boolean"}, "joined_at": {"format": "date-time", "title": "Joined At", "type": "string"}, "domains": {"title": "Domains", "type": "integer"}, "sites": {"title": "Sites", "type": "integer"}, "wallet_balance": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Wallet Balance"}}, "required": ["id", "slug", "name", "state", "source", "managed", "joined_at", "domains", "sites", "wallet_balance"], "title": "ClientOut", "type": "object"}, "ClientIn": {"properties": {"name": {"title": "Name", "type": "string"}, "kind": {"default": "business", "title": "Kind", "type": "string"}}, "required": ["name"], "title": "ClientIn", "type": "object"}, "FundIn": {"properties": {"amount": {"anyOf": [{"type": "number"}, {"type": "string"}], "title": "Amount"}, "note": {"default": "", "title": "Note", "type": "string"}}, "required": ["amount"], "title": "FundIn", "type": "object"}, "HandoffIn": {"properties": {"email": {"title": "Email", "type": "string"}}, "required": ["email"], "title": "HandoffIn", "type": "object"}, "PortfolioDomainOut": {"properties": {"name": {"title": "Name", "type": "string"}, "account": {"title": "Account", "type": "string"}, "client_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Client Id"}, "status": {"title": "Status", "type": "string"}, "expires_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Expires At"}, "auto_renew": {"title": "Auto Renew", "type": "boolean"}, "locked": {"title": "Locked", "type": "boolean"}, "nameservers": {"items": {"type": "string"}, "title": "Nameservers", "type": "array"}}, "required": ["name", "account", "client_id", "status", "expires_at", "auto_renew", "locked", "nameservers"], "title": "PortfolioDomainOut", "type": "object"}, "BulkOut": {"properties": {"done": {"items": {"type": "string"}, "title": "Done", "type": "array"}, "failed": {"items": {"additionalProperties": true, "type": "object"}, "title": "Failed", "type": "array"}}, "required": ["done", "failed"], "title": "BulkOut", "type": "object"}, "BulkIn": {"properties": {"action": {"title": "Action", "type": "string"}, "names": {"items": {"type": "string"}, "title": "Names", "type": "array"}, "nameservers": {"default": [], "items": {"type": "string"}, "title": "Nameservers", "type": "array"}, "pay_from": {"default": "partner", "title": "Pay From", "type": "string"}}, "required": ["action", "names"], "title": "BulkIn", "type": "object"}, "PortfolioSiteOut": {"properties": {"id": {"title": "Id", "type": "string"}, "slug": {"title": "Slug", "type": "string"}, "name": {"title": "Name", "type": "string"}, "account": {"title": "Account", "type": "string"}, "client_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Client Id"}, "state": {"title": "State", "type": "string"}, "desired": {"title": "Desired", "type": "string"}, "url": {"title": "Url", "type": "string"}}, "required": ["id", "slug", "name", "account", "client_id", "state", "desired", "url"], "title": "PortfolioSiteOut", "type": "object"}, "PricingOut": {"properties": {"own_prices": {"title": "Own Prices", "type": "boolean"}, "markups": {"additionalProperties": {"type": "integer"}, "title": "Markups", "type": "object"}, "agreed_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Agreed At"}, "groups": {"additionalProperties": {"type": "string"}, "title": "Groups", "type": "object"}}, "required": ["own_prices", "markups", "agreed_at", "groups"], "title": "PricingOut", "type": "object"}, "PricingIn": {"properties": {"own_prices": {"title": "Own Prices", "type": "boolean"}, "markups": {"additionalProperties": {"type": "integer"}, "default": {}, "title": "Markups", "type": "object"}, "agree": {"default": false, "title": "Agree", "type": "boolean"}}, "required": ["own_prices"], "title": "PricingIn", "type": "object"}, "CommissionOut": {"properties": {"invoice": {"title": "Invoice", "type": "string"}, "client": {"title": "Client", "type": "string"}, "kind": {"title": "Kind", "type": "string"}, "pct": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Pct"}, "amount": {"title": "Amount", "type": "string"}, "created_at": {"format": "date-time", "title": "Created At", "type": "string"}}, "required": ["invoice", "client", "kind", "pct", "amount", "created_at"], "title": "CommissionOut", "type": "object"}, "WebhookOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "url": {"title": "Url", "type": "string"}, "events": {"items": {"type": "string"}, "title": "Events", "type": "array"}, "active": {"title": "Active", "type": "boolean"}, "description": {"title": "Description", "type": "string"}, "failures_in_a_row": {"title": "Failures In A Row", "type": "integer"}, "last_success_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Last Success At"}, "created_at": {"format": "date-time", "title": "Created At", "type": "string"}}, "required": ["id", "url", "events", "active", "description", "failures_in_a_row", "last_success_at", "created_at"], "title": "WebhookOut", "type": "object"}, "WebhookCreated": {"properties": {"id": {"title": "Id", "type": "integer"}, "url": {"title": "Url", "type": "string"}, "events": {"items": {"type": "string"}, "title": "Events", "type": "array"}, "active": {"title": "Active", "type": "boolean"}, "description": {"title": "Description", "type": "string"}, "failures_in_a_row": {"title": "Failures In A Row", "type": "integer"}, "last_success_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Last Success At"}, "created_at": {"format": "date-time", "title": "Created At", "type": "string"}, "secret": {"title": "Secret", "type": "string"}}, "required": ["id", "url", "events", "active", "description", "failures_in_a_row", "last_success_at", "created_at", "secret"], "title": "WebhookCreated", "type": "object"}, "WebhookIn": {"properties": {"url": {"title": "Url", "type": "string"}, "events": {"default": [], "items": {"type": "string"}, "title": "Events", "type": "array"}, "description": {"default": "", "title": "Description", "type": "string"}}, "required": ["url"], "title": "WebhookIn", "type": "object"}, "WebhookPatch": {"properties": {"url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Url"}, "events": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Events"}, "active": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Active"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description"}}, "title": "WebhookPatch", "type": "object"}, "DeliveryOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "event_id": {"title": "Event Id", "type": "string"}, "event": {"title": "Event", "type": "string"}, "status": {"title": "Status", "type": "string"}, "attempts": {"title": "Attempts", "type": "integer"}, "response_code": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Response Code"}, "response_body": {"title": "Response Body", "type": "string"}, "created_at": {"format": "date-time", "title": "Created At", "type": "string"}, "delivered_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Delivered At"}, "next_attempt_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Next Attempt At"}}, "required": ["id", "event_id", "event", "status", "attempts", "response_code", "response_body", "created_at", "delivered_at", "next_attempt_at"], "title": "DeliveryOut", "type": "object"}, "PeerOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "name": {"title": "Name", "type": "string"}, "kind": {"title": "Kind", "type": "string"}, "address": {"title": "Address", "type": "string"}, "public_key": {"title": "Public Key", "type": "string"}, "enabled": {"title": "Enabled", "type": "boolean"}, "state": {"title": "State", "type": "string"}, "connected": {"title": "Connected", "type": "boolean"}}, "required": ["id", "name", "kind", "address", "public_key", "enabled", "state", "connected"], "title": "PeerOut", "type": "object"}, "PeerCreated": {"properties": {"id": {"title": "Id", "type": "integer"}, "name": {"title": "Name", "type": "string"}, "kind": {"title": "Kind", "type": "string"}, "address": {"title": "Address", "type": "string"}, "public_key": {"title": "Public Key", "type": "string"}, "enabled": {"title": "Enabled", "type": "boolean"}, "state": {"title": "State", "type": "string"}, "connected": {"title": "Connected", "type": "boolean"}, "config": {"title": "Config", "type": "string"}}, "required": ["id", "name", "kind", "address", "public_key", "enabled", "state", "connected", "config"], "title": "PeerCreated", "type": "object"}, "PeerIn": {"properties": {"name": {"title": "Name", "type": "string"}, "kind": {"default": "dev", "title": "Kind", "type": "string"}}, "required": ["name"], "title": "PeerIn", "type": "object"}, "RouteOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "peer": {"title": "Peer", "type": "string"}, "host": {"title": "Host", "type": "string"}, "port": {"title": "Port", "type": "integer"}, "protocol": {"title": "Protocol", "type": "string"}, "identity_gate": {"title": "Identity Gate", "type": "boolean"}, "allowed_emails": {"items": {"type": "string"}, "title": "Allowed Emails", "type": "array"}, "state": {"title": "State", "type": "string"}}, "required": ["id", "peer", "host", "port", "protocol", "identity_gate", "allowed_emails", "state"], "title": "RouteOut", "type": "object"}, "ConnectorOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "name": {"title": "Name", "type": "string"}, "enabled": {"title": "Enabled", "type": "boolean"}, "connected": {"title": "Connected", "type": "boolean"}, "routes": {"items": {"additionalProperties": true, "type": "object"}, "title": "Routes", "type": "array"}}, "required": ["id", "name", "enabled", "connected", "routes"], "title": "ConnectorOut", "type": "object"}, "ConnectorCreated": {"properties": {"id": {"title": "Id", "type": "integer"}, "name": {"title": "Name", "type": "string"}, "enabled": {"title": "Enabled", "type": "boolean"}, "connected": {"title": "Connected", "type": "boolean"}, "routes": {"items": {"additionalProperties": true, "type": "object"}, "title": "Routes", "type": "array"}, "token": {"title": "Token", "type": "string"}}, "required": ["id", "name", "enabled", "connected", "routes", "token"], "title": "ConnectorCreated", "type": "object"}, "ConnectorIn": {"properties": {"name": {"title": "Name", "type": "string"}}, "required": ["name"], "title": "ConnectorIn", "type": "object"}, "ConnectorRouteIn": {"properties": {"host": {"title": "Host", "type": "string"}, "service": {"title": "Service", "type": "string"}}, "required": ["host", "service"], "title": "ConnectorRouteIn", "type": "object"}, "DatabaseOut": {"properties": {"id": {"title": "Id", "type": "string"}, "name": {"title": "Name", "type": "string"}, "role": {"title": "Role", "type": "string"}, "engine": {"title": "Engine", "type": "string"}, "host": {"title": "Host", "type": "string"}, "port": {"title": "Port", "type": "integer"}, "size_mb": {"title": "Size Mb", "type": "number"}, "status": {"title": "Status", "type": "string"}, "site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Site"}}, "required": ["id", "name", "role", "engine", "host", "port", "size_mb", "status"], "title": "DatabaseOut", "type": "object"}, "DatabaseIn": {"properties": {"name": {"default": "", "title": "Name", "type": "string"}, "engine": {"default": "postgres", "title": "Engine", "type": "string"}, "site": {"default": "", "title": "Site", "type": "string"}, "add_extra": {"default": false, "title": "Add Extra", "type": "boolean"}}, "title": "DatabaseIn", "type": "object"}, "BuildOut": {"properties": {"id": {"title": "Id", "type": "string"}, "site": {"title": "Site", "type": "string"}, "number": {"title": "Number", "type": "integer"}, "status": {"title": "Status", "type": "string"}, "ref": {"title": "Ref", "type": "string"}, "branch": {"title": "Branch", "type": "string"}, "sha": {"title": "Sha", "type": "string"}, "commit_message": {"title": "Commit Message", "type": "string"}, "triggered_by": {"title": "Triggered By", "type": "string"}, "image": {"title": "Image", "type": "string"}, "error": {"title": "Error", "type": "string"}, "created_at": {"title": "Created At", "type": "string"}, "finished_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Finished At"}, "rollback_of": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rollback Of"}, "tag": {"default": "", "title": "Tag", "type": "string"}, "pr_number": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Pr Number"}, "findings": {"default": [], "items": {"additionalProperties": true, "type": "object"}, "title": "Findings", "type": "array"}}, "required": ["id", "site", "number", "status", "ref", "branch", "sha", "commit_message", "triggered_by", "image", "error", "created_at", "finished_at"], "title": "BuildOut", "type": "object"}, "BuildIn": {"properties": {"site": {"title": "Site", "type": "string"}, "ref": {"default": "", "title": "Ref", "type": "string"}, "tag": {"default": "", "title": "Tag", "type": "string"}}, "required": ["site"], "title": "BuildIn", "type": "object"}, "GitSiteIn": {"properties": {"slug": {"title": "Slug", "type": "string"}, "repo": {"title": "Repo", "type": "string"}, "name": {"default": "", "title": "Name", "type": "string"}, "size": {"default": "S", "title": "Size", "type": "string"}, "branch": {"default": "main", "title": "Branch", "type": "string"}, "root_dir": {"default": "", "title": "Root Dir", "type": "string"}, "dockerfile_path": {"default": "", "title": "Dockerfile Path", "type": "string"}, "access_token": {"default": "", "title": "Access Token", "type": "string"}}, "required": ["slug", "repo"], "title": "GitSiteIn", "type": "object"}, "ScanOut": {"properties": {"plan": {"additionalProperties": true, "title": "Plan", "type": "object"}, "toml": {"title": "Toml", "type": "string"}, "problems": {"default": [], "items": {"additionalProperties": true, "type": "object"}, "title": "Problems", "type": "array"}}, "required": ["plan", "toml"], "title": "ScanOut", "type": "object"}, "ScanIn": {"properties": {"files": {"additionalProperties": {"type": "string"}, "title": "Files", "type": "object"}}, "required": ["files"], "title": "ScanIn", "type": "object"}, "PreviewOut": {"properties": {"site": {"title": "Site", "type": "string"}, "pr_number": {"title": "Pr Number", "type": "integer"}, "branch": {"title": "Branch", "type": "string"}, "title": {"title": "Title", "type": "string"}, "url": {"title": "Url", "type": "string"}, "status": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Status"}}, "required": ["site", "pr_number", "branch", "title", "url"], "title": "PreviewOut", "type": "object"}, "SourceOut": {"properties": {"site": {"title": "Site", "type": "string"}, "provider": {"title": "Provider", "type": "string"}, "repo_url": {"title": "Repo Url", "type": "string"}, "branch": {"title": "Branch", "type": "string"}, "root_dir": {"title": "Root Dir", "type": "string"}, "dockerfile_path": {"title": "Dockerfile Path", "type": "string"}, "auto_deploy": {"title": "Auto Deploy", "type": "boolean"}, "trigger": {"title": "Trigger", "type": "string"}, "tag_pattern": {"title": "Tag Pattern", "type": "string"}, "previews": {"title": "Previews", "type": "boolean"}, "webhook_url": {"title": "Webhook Url", "type": "string"}}, "required": ["site", "provider", "repo_url", "branch", "root_dir", "dockerfile_path", "auto_deploy", "trigger", "tag_pattern", "previews", "webhook_url"], "title": "SourceOut", "type": "object"}, "SourceIn": {"properties": {"repo": {"title": "Repo", "type": "string"}, "branch": {"default": "main", "title": "Branch", "type": "string"}, "root_dir": {"default": "", "title": "Root Dir", "type": "string"}, "dockerfile_path": {"default": "", "title": "Dockerfile Path", "type": "string"}, "access_token": {"default": "", "title": "Access Token", "type": "string"}, "auto_deploy": {"default": true, "title": "Auto Deploy", "type": "boolean"}, "trigger": {"default": "branch", "title": "Trigger", "type": "string"}, "tag_pattern": {"default": "v*", "title": "Tag Pattern", "type": "string"}, "previews": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Previews"}}, "required": ["repo"], "title": "SourceIn", "type": "object"}, "BuildLogOut": {"properties": {"id": {"title": "Id", "type": "string"}, "site": {"title": "Site", "type": "string"}, "number": {"title": "Number", "type": "integer"}, "status": {"title": "Status", "type": "string"}, "ref": {"title": "Ref", "type": "string"}, "branch": {"title": "Branch", "type": "string"}, "sha": {"title": "Sha", "type": "string"}, "commit_message": {"title": "Commit Message", "type": "string"}, "triggered_by": {"title": "Triggered By", "type": "string"}, "image": {"title": "Image", "type": "string"}, "error": {"title": "Error", "type": "string"}, "created_at": {"title": "Created At", "type": "string"}, "finished_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Finished At"}, "rollback_of": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rollback Of"}, "tag": {"default": "", "title": "Tag", "type": "string"}, "pr_number": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Pr Number"}, "findings": {"default": [], "items": {"additionalProperties": true, "type": "object"}, "title": "Findings", "type": "array"}, "log": {"title": "Log", "type": "string"}, "log_next": {"title": "Log Next", "type": "integer"}, "plan": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Plan"}}, "required": ["id", "site", "number", "status", "ref", "branch", "sha", "commit_message", "triggered_by", "image", "error", "created_at", "finished_at", "log", "log_next"], "title": "BuildLogOut", "type": "object"}, "OtpSendOut": {"properties": {"id": {"title": "Id", "type": "string"}, "to": {"title": "To", "type": "string"}, "expires_in": {"title": "Expires In", "type": "integer"}}, "required": ["id", "to", "expires_in"], "title": "OtpSendOut", "type": "object"}, "OtpSendIn": {"properties": {"phone": {"title": "Phone", "type": "string"}, "reference": {"default": "", "title": "Reference", "type": "string"}}, "required": ["phone"], "title": "OtpSendIn", "type": "object"}, "OtpVerifyOut": {"properties": {"valid": {"title": "Valid", "type": "boolean"}, "reason": {"default": "", "title": "Reason", "type": "string"}}, "required": ["valid"], "title": "OtpVerifyOut", "type": "object"}, "OtpVerifyIn": {"properties": {"code": {"title": "Code", "type": "string"}, "id": {"default": "", "title": "Id", "type": "string"}, "phone": {"default": "", "title": "Phone", "type": "string"}}, "required": ["code"], "title": "OtpVerifyIn", "type": "object"}, "SendOut": {"properties": {"id": {"title": "Id", "type": "string"}, "to": {"title": "To", "type": "string"}, "sender": {"title": "Sender", "type": "string"}, "expires_in": {"title": "Expires In", "type": "integer"}}, "required": ["id", "to", "sender", "expires_in"], "title": "SendOut", "type": "object"}, "SendIn": {"properties": {"phone": {"title": "Phone", "type": "string"}, "app": {"default": "", "title": "App", "type": "string"}, "reference": {"default": "", "title": "Reference", "type": "string"}}, "required": ["phone"], "title": "SendIn", "type": "object"}, "CampaignOut": {"properties": {"id": {"title": "Id", "type": "integer"}, "name": {"title": "Name", "type": "string"}, "sender": {"title": "Sender", "type": "string"}, "created_at": {"format": "date-time", "title": "Created At", "type": "string"}, "total": {"title": "Total", "type": "integer"}, "delivered": {"title": "Delivered", "type": "integer"}, "sending": {"title": "Sending", "type": "integer"}, "failed": {"title": "Failed", "type": "integer"}, "credits": {"title": "Credits", "type": "integer"}, "clicked_people": {"title": "Clicked People", "type": "integer"}, "links": {"items": {"$ref": "#/components/schemas/LinkOut"}, "title": "Links", "type": "array"}}, "required": ["id", "name", "sender", "created_at", "total", "delivered", "sending", "failed", "credits", "clicked_people", "links"], "title": "CampaignOut", "type": "object"}, "LinkOut": {"properties": {"url": {"title": "Url", "type": "string"}, "clicks": {"title": "Clicks", "type": "integer"}, "people": {"title": "People", "type": "integer"}}, "required": ["url", "clicks", "people"], "title": "LinkOut", "type": "object"}, "CampaignIn": {"properties": {"to": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "string"}], "title": "To"}, "sender": {"title": "Sender", "type": "string"}, "message": {"title": "Message", "type": "string"}, "name": {"default": "", "title": "Name", "type": "string"}}, "required": ["to", "sender", "message"], "title": "CampaignIn", "type": "object"}, "BlockerOut": {"properties": {"key": {"title": "Key", "type": "string"}, "account": {"title": "Account", "type": "string"}, "title": {"title": "Title", "type": "string"}, "detail": {"title": "Detail", "type": "string"}, "url": {"title": "Url", "type": "string"}, "can_give_up": {"title": "Can Give Up", "type": "boolean"}, "amount": {"title": "Amount", "type": "string"}, "names": {"items": {"type": "string"}, "title": "Names", "type": "array"}}, "required": ["key", "account", "title", "detail", "url", "can_give_up", "amount", "names"], "title": "BlockerOut", "type": "object"}, "ClosingOut": {"properties": {"state": {"title": "State", "type": "string"}, "closes_at": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Closes At"}, "days": {"title": "Days", "type": "integer"}, "closing_accounts": {"items": {"type": "string"}, "title": "Closing Accounts", "type": "array"}, "leaving_accounts": {"items": {"type": "string"}, "title": "Leaving Accounts", "type": "array"}, "blockers": {"items": {"$ref": "#/components/schemas/BlockerOut"}, "title": "Blockers", "type": "array"}, "goes": {"items": {"type": "string"}, "title": "Goes", "type": "array"}, "ends": {"items": {"type": "string"}, "title": "Ends", "type": "array"}, "refused": {"default": "", "title": "Refused", "type": "string"}}, "required": ["state", "days", "closing_accounts", "leaving_accounts", "blockers", "goes", "ends"], "title": "ClosingOut", "type": "object"}, "CloseIn": {"properties": {"give_up_balance": {"default": false, "title": "Give Up Balance", "type": "boolean"}, "give_up_names": {"default": false, "title": "Give Up Names", "type": "boolean"}, "reason": {"default": "", "title": "Reason", "type": "string"}}, "title": "CloseIn", "type": "object"}, "WebsiteIn": {"properties": {"kind": {"title": "Kind", "type": "string"}, "name": {"title": "Name", "type": "string"}, "tagline": {"default": "", "title": "Tagline", "type": "string"}, "whatsapp": {"default": "", "title": "Whatsapp", "type": "string"}, "phone": {"default": "", "title": "Phone", "type": "string"}, "city": {"default": "", "title": "City", "type": "string"}, "palette": {"default": "", "title": "Palette", "type": "string"}, "fonts": {"default": "", "title": "Fonts", "type": "string"}, "add_extra": {"default": false, "title": "Add Extra", "type": "boolean"}}, "required": ["kind", "name"], "title": "WebsiteIn", "type": "object"}, "SectionPatch": {"properties": {"content": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Content"}, "layout": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Layout"}, "tone": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Tone"}, "nav": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Nav"}, "hidden": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Hidden"}}, "title": "SectionPatch", "type": "object"}, "SectionAdd": {"properties": {"type": {"title": "Type", "type": "string"}, "after": {"default": "", "title": "After", "type": "string"}}, "required": ["type"], "title": "SectionAdd", "type": "object"}, "MoveIn": {"properties": {"step": {"title": "Step", "type": "integer"}}, "required": ["step"], "title": "MoveIn", "type": "object"}, "LookIn": {"properties": {"palette": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Palette"}, "fonts": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Fonts"}, "shape": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Shape"}, "density": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Density"}, "whatsapp_button": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Whatsapp Button"}}, "title": "LookIn", "type": "object"}, "BusinessIn": {"properties": {"name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Name"}, "tagline": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Tagline"}, "whatsapp": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Whatsapp"}, "phone": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Phone"}, "email": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Email"}, "address": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Address"}, "city": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "City"}, "hours": {"anyOf": [{"items": {"additionalProperties": true, "type": "object"}, "type": "array"}, {"type": "null"}], "title": "Hours"}, "socials": {"anyOf": [{"items": {"additionalProperties": true, "type": "object"}, "type": "array"}, {"type": "null"}], "title": "Socials"}}, "title": "BusinessIn", "type": "object"}, "PublishIn": {"properties": {"anyway": {"default": false, "title": "Anyway", "type": "boolean"}, "address": {"default": "", "title": "Address", "type": "string"}}, "title": "PublishIn", "type": "object"}, "KindIn": {"properties": {"kind": {"title": "Kind", "type": "string"}}, "required": ["kind"], "title": "KindIn", "type": "object"}, "PhotoIn": {"properties": {"path": {"title": "Path", "type": "string"}, "url": {"title": "Url", "type": "string"}, "alt": {"default": "", "title": "Alt", "type": "string"}}, "required": ["path", "url"], "title": "PhotoIn", "type": "object"}, "SignaturePatch": {"properties": {"business": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Business"}, "tagline": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Tagline"}, "phone": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Phone"}, "whatsapp": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Whatsapp"}, "website": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Website"}, "address": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Address"}, "accent": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Accent"}, "logo_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Logo Url"}, "disclaimer": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Disclaimer"}, "replies": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Replies"}, "banner_text": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Banner Text"}, "banner_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Banner Url"}, "design": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Design"}, "custom_html": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Custom Html"}, "on": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "On"}}, "title": "SignaturePatch", "type": "object"}, "TurnOnIn": {"properties": {"website": {"default": "", "title": "Website", "type": "string"}, "name": {"default": "", "title": "Name", "type": "string"}, "email": {"default": "", "title": "Email", "type": "string"}}, "title": "TurnOnIn", "type": "object"}, "WatchIn": {"properties": {"name": {"title": "Name", "type": "string"}}, "required": ["name"], "title": "WatchIn", "type": "object"}, "AskIn": {"properties": {"subject": {"default": "", "title": "Subject", "type": "string"}, "message": {"title": "Message", "type": "string"}}, "required": ["message"], "title": "AskIn", "type": "object"}, "ReplyIn": {"properties": {"message": {"title": "Message", "type": "string"}}, "required": ["message"], "title": "ReplyIn", "type": "object"}, "VerifyOut": {"properties": {"valid": {"title": "Valid", "type": "boolean"}, "reason": {"default": "", "title": "Reason", "type": "string"}}, "required": ["valid"], "title": "VerifyOut", "type": "object"}, "VerifyIn": {"properties": {"code": {"title": "Code", "type": "string"}, "id": {"default": "", "title": "Id", "type": "string"}, "phone": {"default": "", "title": "Phone", "type": "string"}, "app": {"default": "", "title": "App", "type": "string"}}, "required": ["code"], "title": "VerifyIn", "type": "object"}, "AppOut": {"properties": {"id": {"title": "Id", "type": "string"}, "name": {"title": "Name", "type": "string"}, "sender": {"title": "Sender", "type": "string"}, "digits": {"title": "Digits", "type": "integer"}, "expires_in": {"title": "Expires In", "type": "integer"}}, "required": ["id", "name", "sender", "digits", "expires_in"], "title": "AppOut", "type": "object"}}, "securitySchemes": {"ApiKeyAuth": {"type": "http", "scheme": "bearer"}}}, "servers": []}