{"openapi":"3.1.0","info":{"title":"Murmur Licensing","version":"0.1.0"},"paths":{"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/network/summary":{"get":{"summary":"Network Summary","description":"Public, unauthenticated: the aggregate Murmur network. No CORS, no ETag.\n\nThe data is a daily snapshot (store.daily_network_summary); this memo only spares the\ndatabase a read per request and is dropped on the UTC day change or an opt-out.","operationId":"network_summary_api_v1_network_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/public-key":{"get":{"summary":"Public Key","operationId":"public_key_api_v1_public_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/beta/me":{"get":{"summary":"Beta Me","operationId":"beta_me_api_v1_beta_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/server-claim":{"post":{"summary":"Beta Server Claim","operationId":"beta_server_claim_api_v1_beta_server_claim_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BetaServerClaimBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/request":{"post":{"summary":"Beta Request","operationId":"beta_request_api_v1_beta_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BetaRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/requests":{"get":{"summary":"Beta List Requests","operationId":"beta_list_requests_api_v1_beta_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/resolve-request":{"post":{"summary":"Beta Resolve Request","operationId":"beta_resolve_request_api_v1_beta_resolve_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BetaRequestIdBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/grants":{"post":{"summary":"Beta Issue","operationId":"beta_issue_api_v1_beta_grants_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BetaGrantBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/grants/{grant_id}/revoke":{"post":{"summary":"Beta Revoke","operationId":"beta_revoke_api_v1_beta_grants__grant_id__revoke_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/grants/{grant_id}/reissue":{"post":{"summary":"Beta Reissue","operationId":"beta_reissue_api_v1_beta_grants__grant_id__reissue_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/beta/validate":{"post":{"summary":"Beta Validate","operationId":"beta_validate_api_v1_beta_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BetaValidateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}":{"get":{"summary":"Organization","operationId":"organization_api_v1_organizations__org_id__get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/network":{"post":{"summary":"Set Network","description":"Admin map settings: show on the public map, region override, city from IP (2b).","operationId":"set_network_api_v1_organizations__org_id__network_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/join-code":{"post":{"summary":"Create Join Code","description":"Replace the org's join code (one active code per org). The code is shown only in this response.","operationId":"create_join_code_api_v1_organizations__org_id__join_code_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/join-code/revoke":{"post":{"summary":"Revoke Join Code","operationId":"revoke_join_code_api_v1_organizations__org_id__join_code_revoke_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/checkout":{"post":{"summary":"Checkout","description":"A paid Checkout for 11..50 devices, charged today. No trial is offered.","operationId":"checkout_api_v1_organizations__org_id__checkout_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CheckoutBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/free":{"post":{"summary":"Start Free","description":"Start the free tier: up to 10 devices, no Stripe customer, no card.","operationId":"start_free_api_v1_organizations__org_id__free_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FreeBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/billing-portal":{"post":{"summary":"Billing Portal","operationId":"billing_portal_api_v1_organizations__org_id__billing_portal_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/devices":{"post":{"summary":"Set Devices","description":"Change the paid device quantity (11..50), billed now and prorated.\n\nStripe holds the quantity; the webhook writes it back.","operationId":"set_devices_api_v1_organizations__org_id__devices_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DevicesBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/deployments":{"post":{"summary":"Register","operationId":"register_api_v1_organizations__org_id__deployments_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/deployments/{deployment_id}/revoke":{"post":{"summary":"Revoke","operationId":"revoke_api_v1_organizations__org_id__deployments__deployment_id__revoke_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organizations/{org_id}/deployments/{deployment_id}/rotate-key":{"post":{"summary":"Rotate Key","operationId":"rotate_key_api_v1_organizations__org_id__deployments__deployment_id__rotate_key_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/deployments/{deployment_id}/revoke":{"post":{"summary":"Operator Revoke","operationId":"operator_revoke_api_v1_operator_deployments__deployment_id__revoke_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/free-orgs":{"get":{"summary":"Operator Free Orgs","description":"Outreach list of orgs that started free (including any that later upgraded).","operationId":"operator_free_orgs_api_v1_operator_free_orgs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/actives":{"get":{"summary":"Operator Actives","description":"Active servers and devices per UTC day, and weekly actives. Counts only.","operationId":"operator_actives_api_v1_operator_actives_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/usage/count":{"post":{"summary":"Usage Count","description":"One daily count from a keyless server whose human said yes. Only day totals are stored.\nNothing about the caller or the body is logged.","operationId":"usage_count_api_v1_usage_count_post","responses":{"204":{"description":"Successful Response"}}}},"/api/v1/downloads/count":{"post":{"summary":"Downloads Count","description":"One download the CDN worker served. Only day totals are stored.\nNothing about the caller or the body is logged. If an install notifier is set, one\ninstall (INSTALL_ARTIFACT fetched by an installer) also emails Murmur staff its\nversion, platform and country, after the reply and at most INSTALL_EMAILS an hour.","operationId":"downloads_count_api_v1_downloads_count_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/activate":{"post":{"summary":"Activate","operationId":"activate_api_v1_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/renew":{"post":{"summary":"Renew","operationId":"renew_api_v1_renew_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/link/rooms":{"post":{"summary":"Link Room Open","operationId":"link_room_open_api_v1_link_rooms_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkRoomBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/link/rooms/{room_id}":{"delete":{"summary":"Link Room Close","operationId":"link_room_close_api_v1_link_rooms__room_id__delete","parameters":[{"name":"room_id","in":"path","required":true,"schema":{"type":"string","title":"Room Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/join":{"post":{"summary":"Join","description":"Join the code's company as a member. Never logs the code.","operationId":"join_api_v1_join_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/device/start":{"post":{"summary":"Device Start","operationId":"device_start_api_v1_device_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceStartBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/device/lookup":{"post":{"summary":"Device Lookup","description":"What the approve screen shows. Counts wrong codes per user, IP and globally.","operationId":"device_lookup_api_v1_device_lookup_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceCodeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/device/approve":{"post":{"summary":"Device Approve","operationId":"device_approve_api_v1_device_approve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceDecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/device/deny":{"post":{"summary":"Device Deny","operationId":"device_deny_api_v1_device_deny_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceDenyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/device/token":{"post":{"summary":"Device Token","operationId":"device_token_api_v1_device_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceTokenBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/webhook":{"post":{"summary":"Webhook","operationId":"webhook_stripe_webhook_post","parameters":[{"name":"stripe-signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActivateBody":{"properties":{"license_key":{"type":"string","title":"License Key"},"server_fingerprint":{"type":"string","title":"Server Fingerprint"},"device_ids":{"items":{"type":"string"},"type":"array","title":"Device Ids"},"telemetry":{"title":"Telemetry"}},"type":"object","required":["license_key","server_fingerprint"],"title":"ActivateBody"},"BetaGrantBody":{"properties":{"submission_id":{"type":"string","maxLength":24,"minLength":24,"title":"Submission Id"},"request_id":{"anyOf":[{"type":"string","maxLength":35,"minLength":35},{"type":"null"}],"title":"Request Id"},"email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Email"},"expires_at":{"type":"integer","title":"Expires At"}},"type":"object","required":["submission_id","expires_at"],"title":"BetaGrantBody"},"BetaRequestBody":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"company":{"type":"string","maxLength":120,"title":"Company","default":""},"platform":{"type":"string","pattern":"^(mac-arm64|mac-x64|both)$","title":"Platform"},"intended_use":{"type":"string","maxLength":2000,"minLength":1,"title":"Intended Use"}},"type":"object","required":["name","platform","intended_use"],"title":"BetaRequestBody"},"BetaRequestIdBody":{"properties":{"request_id":{"type":"string","maxLength":35,"minLength":35,"title":"Request Id"}},"type":"object","required":["request_id"],"title":"BetaRequestIdBody"},"BetaServerClaimBody":{"properties":{"device_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$","title":"Device Id"},"device_verifier_hash":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","title":"Device Verifier Hash"}},"type":"object","required":["device_id","device_verifier_hash"],"title":"BetaServerClaimBody"},"BetaValidateBody":{"properties":{"license_key":{"type":"string","maxLength":128,"minLength":1,"title":"License Key"},"session_token":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Session Token"}},"type":"object","required":["license_key"],"title":"BetaValidateBody"},"CheckoutBody":{"properties":{"devices":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Devices"},"acknowledge_charge":{"type":"boolean","title":"Acknowledge Charge","default":false},"return_to":{"type":"string","enum":["dashboard","device"],"title":"Return To","default":"dashboard"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false}},"type":"object","title":"CheckoutBody"},"DeviceCodeBody":{"properties":{"user_code":{"type":"string","maxLength":32,"minLength":1,"title":"User Code"}},"type":"object","required":["user_code"],"title":"DeviceCodeBody"},"DeviceDecisionBody":{"properties":{"user_code":{"type":"string","maxLength":32,"minLength":1,"title":"User Code"},"confirm":{"type":"boolean","const":true,"title":"Confirm"},"accept_terms":{"type":"boolean","const":true,"title":"Accept Terms"},"org_id":{"type":"string","maxLength":64,"minLength":1,"title":"Org Id"}},"type":"object","required":["user_code","confirm","accept_terms","org_id"],"title":"DeviceDecisionBody"},"DeviceDenyBody":{"properties":{"user_code":{"type":"string","maxLength":32,"minLength":1,"title":"User Code"}},"type":"object","required":["user_code"],"title":"DeviceDenyBody"},"DeviceStartBody":{"properties":{"purpose":{"type":"string","enum":["licence","link"],"title":"Purpose","default":"licence"},"server_fingerprint":{"anyOf":[{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Server Fingerprint"},"verifier_hash":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","title":"Verifier Hash"},"link_verifier_hash":{"anyOf":[{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Link Verifier Hash"},"hostname":{"type":"string","maxLength":63,"minLength":1,"pattern":"^[A-Za-z0-9.-]{1,63}$","title":"Hostname"}},"type":"object","required":["verifier_hash","hostname"],"title":"DeviceStartBody"},"DeviceTokenBody":{"properties":{"device_code":{"type":"string","maxLength":128,"minLength":1,"title":"Device Code"},"verifier":{"type":"string","maxLength":256,"minLength":1,"title":"Verifier"}},"type":"object","required":["device_code","verifier"],"title":"DeviceTokenBody"},"DevicesBody":{"properties":{"devices":{"type":"integer","title":"Devices"}},"type":"object","required":["devices"],"title":"DevicesBody"},"FreeBody":{"properties":{"accept_terms":{"type":"boolean","title":"Accept Terms","default":false}},"type":"object","title":"FreeBody"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JoinBody":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"JoinBody"},"LinkRoomBody":{"properties":{"server_fingerprint":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Server Fingerprint"},"server_url":{"type":"string","maxLength":100,"title":"Server Url"},"ca_pem":{"type":"string","maxLength":8192,"title":"Ca Pem"},"ttl_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Ttl Seconds","default":900}},"type":"object","required":["server_fingerprint","server_url","ca_pem"],"title":"LinkRoomBody"},"NetworkBody":{"properties":{"visible":{"type":"boolean","title":"Visible"},"region":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Region"},"city_opt_in":{"type":"boolean","title":"City Opt In","default":false}},"type":"object","required":["visible","region"],"title":"NetworkBody"},"RegisterBody":{"properties":{"server_fingerprint":{"type":"string","title":"Server Fingerprint"}},"type":"object","required":["server_fingerprint"],"title":"RegisterBody"},"RenewBody":{"properties":{"server_fingerprint":{"type":"string","title":"Server Fingerprint"},"device_ids":{"items":{"type":"string"},"type":"array","title":"Device Ids"},"telemetry":{"title":"Telemetry"}},"type":"object","required":["server_fingerprint"],"title":"RenewBody"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}