{"openapi":"3.1.0","info":{"title":"Open Book API","version":"0.1.0"},"paths":{"/api/v1/health":{"get":{"tags":["health"],"summary":"Health","operationId":"health_api_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Api V1 Health Get"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_api_v1_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Me Api V1 Auth Me Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/partner-links/invite":{"post":{"tags":["partner-links"],"summary":"Create Invite","operationId":"create_invite_api_v1_partner_links_invite_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/partner-links/accept":{"post":{"tags":["partner-links"],"summary":"Accept Invite","operationId":"accept_invite_api_v1_partner_links_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLinkStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/partner-links/status":{"get":{"tags":["partner-links"],"summary":"Link Status","operationId":"link_status_api_v1_partner_links_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLinksResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/partner-links":{"delete":{"tags":["partner-links"],"summary":"Unpair","description":"Seeker-initiated unpair (§8.4): notifies the partner, never requires approval.","operationId":"unpair_api_v1_partner_links_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLinkStatusResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/partner-links/{link_id}":{"delete":{"tags":["partner-links"],"summary":"Unpair Partner","description":"Seeker-initiated removal of ONE partner (§8.4): notifies the partner, never\nrequires approval. 404 if the link isn't an active/pending link owned by this seeker.","operationId":"unpair_partner_api_v1_partner_links__link_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account":{"delete":{"tags":["account"],"summary":"Delete Current Account","description":"App Store 5.1.1(v): permanently delete the authenticated account + all its data.","operationId":"delete_current_account_api_v1_account_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/v1/block-events":{"post":{"tags":["block-events"],"summary":"Log Block Event","operationId":"log_block_event_api_v1_block_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockEventCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockEventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/devices/register":{"post":{"tags":["devices"],"summary":"Register Device","operationId":"register_device_api_v1_devices_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceRegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/heartbeat/monitor-token":{"post":{"tags":["heartbeat"],"summary":"Create Monitor Credential","description":"Mint an account-bound credential only for background heartbeat uploads.\n\nThe signature authenticates the seeker account, not an unforgeable OS attestation\nor the device's present protection state.","operationId":"create_monitor_credential_api_v1_heartbeat_monitor_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorTokenResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/heartbeat/background":{"post":{"tags":["heartbeat"],"summary":"Ingest Background Heartbeat","operationId":"ingest_background_heartbeat_api_v1_heartbeat_background_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackgroundHeartbeatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/heartbeat":{"post":{"tags":["heartbeat"],"summary":"Ingest Heartbeat","operationId":"ingest_heartbeat_api_v1_heartbeat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/tamper/report":{"post":{"tags":["tamper"],"summary":"Report Tamper","operationId":"report_tamper_api_v1_tamper_report_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TamperReport"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"integer"},"type":"object","title":"Response Report Tamper Api V1 Tamper Report Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/tamper/run-check":{"post":{"tags":["tamper"],"summary":"Run Check","operationId":"run_check_api_v1_tamper_run_check_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Run Check Api V1 Tamper Run Check Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/unlock-requests":{"post":{"tags":["unlock"],"summary":"Request Unlock","operationId":"request_unlock_api_v1_unlock_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnlockRequestCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/unlock-requests/current":{"get":{"tags":["unlock"],"summary":"Unlock Current","operationId":"unlock_current_api_v1_unlock_requests_current_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnlockStatusOut"}}}}},"security":[{"HTTPBearer":[]}]}},"/portal/login":{"get":{"tags":["portal"],"summary":"Login Page","operationId":"login_page_portal_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["portal"],"summary":"Login Submit","operationId":"login_submit_portal_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_submit_portal_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/forgot":{"get":{"tags":["portal"],"summary":"Forgot Page","operationId":"forgot_page_portal_forgot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["portal"],"summary":"Forgot Submit","operationId":"forgot_submit_portal_forgot_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_forgot_submit_portal_forgot_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/reset":{"get":{"tags":["portal"],"summary":"Reset Page","operationId":"reset_page_portal_reset_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["portal"],"summary":"Reset Submit","operationId":"reset_submit_portal_reset_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reset_submit_portal_reset_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/logout":{"get":{"tags":["portal"],"summary":"Logout","operationId":"logout_portal_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/accept":{"get":{"tags":["portal"],"summary":"Accept Page","operationId":"accept_page_portal_accept_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["portal"],"summary":"Accept Submit","operationId":"accept_submit_portal_accept_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_accept_submit_portal_accept_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dashboard":{"get":{"tags":["portal"],"summary":"Dashboard Page","operationId":"dashboard_page_portal_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/api/dashboard":{"get":{"tags":["portal"],"summary":"Dashboard Json","operationId":"dashboard_json_portal_api_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalDashboard"}}}}}}},"/portal/settings":{"get":{"tags":["portal"],"summary":"Settings Page","operationId":"settings_page_portal_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["portal"],"summary":"Settings Submit","operationId":"settings_submit_portal_settings_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_settings_submit_portal_settings_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/settings":{"get":{"tags":["portal"],"summary":"Settings Json","operationId":"settings_json_portal_api_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Settings Json Portal Api Settings Get"}}}}}}},"/portal/approve":{"get":{"tags":["portal"],"summary":"Unlock Approve Page","operationId":"unlock_approve_page_portal_approve_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["portal"],"summary":"Unlock Approve Submit","operationId":"unlock_approve_submit_portal_approve_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_unlock_approve_submit_portal_approve_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/deny":{"post":{"tags":["portal"],"summary":"Unlock Deny Submit","operationId":"unlock_deny_submit_portal_deny_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_unlock_deny_submit_portal_deny_post"}}},"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/webhooks/revenuecat":{"post":{"tags":["webhooks"],"summary":"Revenuecat Webhook","operationId":"revenuecat_webhook_api_v1_webhooks_revenuecat_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/RevenueCatWebhookBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revenuecat Webhook Api V1 Webhooks Revenuecat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/privacy":{"get":{"tags":["privacy"],"summary":"Privacy Page","operationId":"privacy_page_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/robots.txt":{"get":{"tags":["marketing"],"summary":"Robots Txt","operationId":"robots_txt_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/sitemap.xml":{"get":{"tags":["marketing"],"summary":"Sitemap Xml","operationId":"sitemap_xml_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms.txt":{"get":{"tags":["marketing"],"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/5b28f7df5ec6f6fc8a83d10b11c3f789.txt":{"get":{"tags":["marketing"],"summary":"Indexnow Key","operationId":"indexnow_key_5b28f7df5ec6f6fc8a83d10b11c3f789_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/go/{key}":{"get":{"tags":["marketing"],"summary":"Download Redirect","description":"Privacy-safe, bot-filtered per-page download redirect.\n\nLogs only the allowlisted page key with a counter for non-bot requests,\nplus source=chatgpt for ChatGPT visitors (no request IDs, IP, UA,\nreferrer, arbitrary query values, or raw search text) and redirects to\nthe hardcoded App Store destination. Unknown keys 404. Clicks are not\ninstalls; access logs remain a deployment responsibility.","operationId":"download_redirect_go__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/download/{key}":{"get":{"tags":["marketing"],"summary":"Download Redirect","description":"Privacy-safe, bot-filtered per-page download redirect.\n\nLogs only the allowlisted page key with a counter for non-bot requests,\nplus source=chatgpt for ChatGPT visitors (no request IDs, IP, UA,\nreferrer, arbitrary query values, or raw search text) and redirects to\nthe hardcoded App Store destination. Unknown keys 404. Clicks are not\ninstalls; access logs remain a deployment responsibility.","operationId":"download_redirect_download__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"tags":["marketing"],"summary":"Landing Page","operationId":"landing_page__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/porn-blocker-iphone":{"get":{"tags":["marketing"],"summary":"Porn Blocker Page","operationId":"porn_blocker_page_porn_blocker_iphone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/block-adult-websites-safari":{"get":{"tags":["marketing"],"summary":"Guide Safari Page","operationId":"guide_safari_page_guides_block_adult_websites_safari_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/iphone-content-blocking-without-vpn":{"get":{"tags":["marketing"],"summary":"Guide No Vpn Page","operationId":"guide_no_vpn_page_guides_iphone_content_blocking_without_vpn_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/best-porn-blocker-for-iphone":{"get":{"tags":["marketing"],"summary":"Guide Best Blocker Page","operationId":"guide_best_blocker_page_guides_best_porn_blocker_for_iphone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/covenant-eyes-alternatives":{"get":{"tags":["marketing"],"summary":"Guide Ce Alternatives Page","operationId":"guide_ce_alternatives_page_guides_covenant_eyes_alternatives_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/block-apps-from-being-downloaded-iphone":{"get":{"tags":["marketing"],"summary":"Guide App Downloads Page","operationId":"guide_app_downloads_page_guides_block_apps_from_being_downloaded_iphone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/blockerx-alternatives":{"get":{"tags":["marketing"],"summary":"Guide Blockerx Alternatives Page","operationId":"guide_blockerx_alternatives_page_guides_blockerx_alternatives_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/block-adult-content-on-iphone":{"get":{"tags":["marketing"],"summary":"Guide Adult Content Page","operationId":"guide_adult_content_page_guides_block_adult_content_on_iphone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/quittr-alternatives":{"get":{"tags":["marketing"],"summary":"Guide Quittr Alternatives Page","operationId":"guide_quittr_alternatives_page_guides_quittr_alternatives_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/ever-accountable-alternatives":{"get":{"tags":["marketing"],"summary":"Guide Ever Accountable Alternatives Page","operationId":"guide_ever_accountable_alternatives_page_guides_ever_accountable_alternatives_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/accountable2you-alternatives":{"get":{"tags":["marketing"],"summary":"Guide Accountable2You Alternatives Page","operationId":"guide_accountable2you_alternatives_page_guides_accountable2you_alternatives_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/how-to-stop-watching-porn":{"get":{"tags":["marketing"],"summary":"Guide Stop Watching Page","operationId":"guide_stop_watching_page_guides_how_to_stop_watching_porn_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/no-nut-november-app":{"get":{"tags":["marketing"],"summary":"Guide No Nut November Page","operationId":"guide_no_nut_november_page_guides_no_nut_november_app_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/quit-porn-new-years-resolution":{"get":{"tags":["marketing"],"summary":"Guide New Year Page","operationId":"guide_new_year_page_guides_quit_porn_new_years_resolution_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/best-app-to-block-porn-on-iphone":{"get":{"tags":["marketing"],"summary":"Guide Best App Questions Page","operationId":"guide_best_app_questions_page_guides_best_app_to_block_porn_on_iphone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/open-book-vs-canopy":{"get":{"tags":["marketing"],"summary":"Guide Open Book Vs Canopy Page","operationId":"guide_open_book_vs_canopy_page_guides_open_book_vs_canopy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/accountability-partner-apps":{"get":{"tags":["marketing"],"summary":"Guide Accountability Partner Apps Page","operationId":"guide_accountability_partner_apps_page_guides_accountability_partner_apps_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/support":{"get":{"tags":["marketing"],"summary":"Support Page","operationId":"support_page_support_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"tags":["marketing"],"summary":"Terms Page","operationId":"terms_page_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/quiz":{"get":{"tags":["marketing"],"summary":"Quiz Page","operationId":"quiz_page_quiz_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/quiz/event":{"post":{"tags":["marketing"],"summary":"Quiz Event","operationId":"quiz_event_quiz_event_post","responses":{"204":{"description":"Successful Response"}}}}},"components":{"schemas":{"AcceptInviteRequest":{"properties":{"invite_token":{"type":"string","title":"Invite Token"},"partner_email":{"type":"string","format":"email","title":"Partner Email"},"partner_password":{"type":"string","maxLength":128,"minLength":8,"title":"Partner Password"},"partner_phone":{"anyOf":[{"type":"string","maxLength":32,"minLength":5},{"type":"null"}],"title":"Partner Phone"},"sms_consent":{"type":"boolean","title":"Sms Consent","default":false}},"additionalProperties":false,"type":"object","required":["invite_token","partner_email","partner_password"],"title":"AcceptInviteRequest"},"AlertSummary":{"properties":{"type":{"type":"string","title":"Type"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"acknowledged":{"type":"boolean","title":"Acknowledged"}},"type":"object","required":["type","created_at","acknowledged"],"title":"AlertSummary"},"BackgroundHeartbeatRequest":{"properties":{"extension_active":{"type":"boolean","title":"Extension Active"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["extension_active","occurred_at"],"title":"BackgroundHeartbeatRequest"},"BlockEventCreate":{"properties":{"type":{"type":"string","enum":["block_started","block_stopped","unlock_requested","unlock_approved"],"title":"Type"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"}},"additionalProperties":false,"type":"object","required":["type","timestamp"],"title":"BlockEventCreate"},"BlockEventResponse":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"}},"type":"object","required":["id","type","timestamp"],"title":"BlockEventResponse"},"Body_accept_submit_portal_accept_post":{"properties":{"invite_token":{"type":"string","title":"Invite Token"},"partner_email":{"type":"string","title":"Partner Email"},"partner_password":{"type":"string","title":"Partner Password"},"partner_phone":{"type":"string","title":"Partner Phone","default":""},"sms_consent":{"type":"string","title":"Sms Consent","default":""}},"type":"object","required":["invite_token","partner_email","partner_password"],"title":"Body_accept_submit_portal_accept_post"},"Body_forgot_submit_portal_forgot_post":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_forgot_submit_portal_forgot_post"},"Body_login_submit_portal_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"Body_login_submit_portal_login_post"},"Body_reset_submit_portal_reset_post":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","title":"Password"}},"type":"object","required":["token","password"],"title":"Body_reset_submit_portal_reset_post"},"Body_settings_submit_portal_settings_post":{"properties":{"sms_alerts_enabled":{"type":"string","title":"Sms Alerts Enabled","default":"off"}},"type":"object","title":"Body_settings_submit_portal_settings_post"},"Body_unlock_approve_submit_portal_approve_post":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"Body_unlock_approve_submit_portal_approve_post"},"Body_unlock_deny_submit_portal_deny_post":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"Body_unlock_deny_submit_portal_deny_post"},"DeviceRegisterRequest":{"properties":{"device_id":{"type":"string","maxLength":128,"minLength":8,"title":"Device Id"}},"additionalProperties":false,"type":"object","required":["device_id"],"title":"DeviceRegisterRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeartbeatRequest":{"properties":{"extension_active":{"type":"boolean","title":"Extension Active"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["extension_active","occurred_at"],"title":"HeartbeatRequest"},"HeartbeatResponse":{"properties":{"last_checkin_at":{"type":"string","format":"date-time","title":"Last Checkin At"},"extension_active":{"type":"boolean","title":"Extension Active"}},"type":"object","required":["last_checkin_at","extension_active"],"title":"HeartbeatResponse"},"HeartbeatStatus":{"properties":{"last_checkin_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Checkin At"},"is_stale":{"type":"boolean","title":"Is Stale"},"extension_active":{"type":"boolean","title":"Extension Active"}},"type":"object","required":["last_checkin_at","is_stale","extension_active"],"title":"HeartbeatStatus"},"InviteResponse":{"properties":{"partner_link_id":{"type":"string","title":"Partner Link Id"},"invite_token":{"type":"string","title":"Invite Token"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","title":"Status"}},"type":"object","required":["partner_link_id","invite_token","expires_at","status"],"title":"InviteResponse"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MonitorTokenResponse":{"properties":{"token":{"type":"string","title":"Token"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["token","expires_at"],"title":"MonitorTokenResponse"},"PartnerLinkStatusResponse":{"properties":{"status":{"type":"string","title":"Status"},"partner_link_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partner Link Id"}},"type":"object","required":["status"],"title":"PartnerLinkStatusResponse"},"PartnerLinkSummary":{"properties":{"partner_link_id":{"type":"string","title":"Partner Link Id"},"status":{"type":"string","title":"Status"},"invited_at":{"type":"string","format":"date-time","title":"Invited At"}},"type":"object","required":["partner_link_id","status","invited_at"],"title":"PartnerLinkSummary"},"PartnerLinksResponse":{"properties":{"links":{"items":{"$ref":"#/components/schemas/PartnerLinkSummary"},"type":"array","title":"Links","default":[]}},"type":"object","title":"PartnerLinksResponse"},"PendingUnlock":{"properties":{"duration_minutes":{"type":"integer","title":"Duration Minutes"},"approve_token":{"type":"string","title":"Approve Token"}},"type":"object","required":["duration_minutes","approve_token"],"title":"PendingUnlock"},"PortalDashboard":{"properties":{"paired":{"type":"boolean","title":"Paired"},"heartbeat":{"anyOf":[{"$ref":"#/components/schemas/HeartbeatStatus"},{"type":"null"}]},"event_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Event Counts","default":{}},"recent_alerts":{"items":{"$ref":"#/components/schemas/AlertSummary"},"type":"array","title":"Recent Alerts","default":[]},"pending_unlock":{"anyOf":[{"$ref":"#/components/schemas/PendingUnlock"},{"type":"null"}]}},"type":"object","required":["paired"],"title":"PortalDashboard"},"RefreshRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshRequest"},"RevenueCatEvent":{"properties":{"type":{"type":"string","title":"Type"},"app_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App User Id"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"expiration_at_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expiration At Ms"},"environment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment"}},"type":"object","required":["type"],"title":"RevenueCatEvent"},"RevenueCatWebhookBody":{"properties":{"event":{"$ref":"#/components/schemas/RevenueCatEvent"}},"type":"object","required":["event"],"title":"RevenueCatWebhookBody"},"TamperReport":{"properties":{"type":{"type":"string","enum":["authorization_revoked","block_list_reduced","allow_list_expanded","block_stopped"],"title":"Type"}},"additionalProperties":false,"type":"object","required":["type"],"title":"TamperReport"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token","refresh_token"],"title":"TokenResponse"},"UnlockRequestCreate":{"properties":{"duration_minutes":{"type":"integer","maximum":120.0,"exclusiveMinimum":0.0,"title":"Duration Minutes"}},"additionalProperties":false,"type":"object","required":["duration_minutes"],"title":"UnlockRequestCreate"},"UnlockStatusOut":{"properties":{"status":{"type":"string","title":"Status"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"}},"type":"object","required":["status","expires_at","duration_minutes"],"title":"UnlockStatusOut"},"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"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}