{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Home","operationId":"home__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/force_upgrade_app":{"get":{"summary":"Check App Version","operationId":"check_app_version_force_upgrade_app_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/graphql3":{"get":{"summary":"Graphql Explorer","operationId":"graphql_explorer_graphql3_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Graphql Server","operationId":"graphql_server_graphql3_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/graphql":{"post":{"summary":"Admin Graphql Server","operationId":"admin_graphql_server_admin_graphql_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/api/token":{"get":{"summary":"Admin Token","operationId":"admin_token_admin_api_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Admin Token Admin Api Token Get"}}}}}}},"/privacy_policy":{"get":{"summary":"Privacy Policy Fr","description":"Render the privacy policy page.","operationId":"privacy_policy_fr_privacy_policy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/privacy_policy_en":{"get":{"summary":"Privacy Policy En","operationId":"privacy_policy_en_privacy_policy_en_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhook/nima":{"post":{"summary":"Delete Content And Warn User Route","operationId":"delete_content_and_warn_user_route_webhook_nima_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhook/revenuecat":{"post":{"summary":"Handle Revenuecat Events","operationId":"handle_revenuecat_events_webhook_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/RevenueCatWebhookPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/multiplayer/devtools/copy":{"post":{"summary":"Devtools Copy","operationId":"devtools_copy_multiplayer_devtools_copy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DevtoolsCopyRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/coach/stream":{"post":{"summary":"Coach Stream","operationId":"coach_stream_coach_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoachStreamInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CoachMaterialType":{"type":"string","enum":["IMAGE","PDF"],"title":"CoachMaterialType"},"CoachStreamInput":{"properties":{"content":{"type":"string","title":"Content"},"thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Thread Id"},"materials":{"items":{"$ref":"#/components/schemas/MaterialInput"},"type":"array","title":"Materials","default":[]}},"type":"object","required":["content"],"title":"CoachStreamInput"},"DevtoolsCopyRequest":{"properties":{"value":{"type":"string","title":"Value"}},"type":"object","required":["value"],"title":"DevtoolsCopyRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"MaterialInput":{"properties":{"filename":{"type":"string","title":"Filename"},"type":{"$ref":"#/components/schemas/CoachMaterialType"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["filename","type"],"title":"MaterialInput"},"RevenueCatCancellationReason":{"type":"string","enum":["UNSUBSCRIBE","BILLING_ERROR","DEVELOPER_INITIATED","PRICE_INCREASE","CUSTOMER_SUPPORT","UNKNOWN"],"title":"RevenueCatCancellationReason"},"RevenueCatEnvironment":{"type":"string","enum":["PRODUCTION","SANDBOX"],"title":"RevenueCatEnvironment"},"RevenueCatEvent":{"properties":{"product_id":{"type":"string","title":"Product Id"},"period_type":{"$ref":"#/components/schemas/RevenueCatPeriodType"},"purchased_at_ms":{"type":"integer","title":"Purchased At Ms"},"expiration_at_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expiration At Ms"},"environment":{"$ref":"#/components/schemas/RevenueCatEnvironment"},"entitlement_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Entitlement Ids"},"transaction_id":{"type":"string","title":"Transaction Id"},"is_family_share":{"type":"boolean","title":"Is Family Share"},"country_code":{"type":"string","title":"Country Code"},"app_user_id":{"type":"string","title":"App User Id"},"currency":{"type":"string","title":"Currency"},"is_trial_conversion":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Trial Conversion"},"price":{"type":"number","title":"Price"},"price_in_purchased_currency":{"type":"number","title":"Price In Purchased Currency"},"store":{"$ref":"#/components/schemas/RevenueCatStore"},"takehome_percentage":{"type":"number","title":"Takehome Percentage"},"offer_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Code"},"tax_percentage":{"type":"number","title":"Tax Percentage"},"commission_percentage":{"type":"number","title":"Commission Percentage"},"renewal_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Renewal Number"},"type":{"$ref":"#/components/schemas/RevenueCatEventType"},"cancel_reason":{"anyOf":[{"$ref":"#/components/schemas/RevenueCatCancellationReason"},{"type":"null"}]},"expiration_reason":{"anyOf":[{"$ref":"#/components/schemas/RevenueCatExpirationReason"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["product_id","period_type","purchased_at_ms","environment","transaction_id","is_family_share","country_code","app_user_id","currency","price","price_in_purchased_currency","store","takehome_percentage","tax_percentage","commission_percentage","type"],"title":"RevenueCatEvent"},"RevenueCatEventType":{"type":"string","enum":["TEST","INITIAL_PURCHASE","NON_RENEWING_PURCHASE","RENEWAL","PRODUCT_CHANGE","CANCELLATION","BILLING_ISSUE","SUBSCRIBER_ALIAS","SUBSCRIPTION_PAUSED","UNCANCELLATION","TRANSFER","SUBSCRIPTION_EXTENDED","EXPIRATION","TEMPORARY_ENTITLEMENT_GRANT","INVOICE_ISSUANCE","VIRTUAL_CURRENCY_TRANSACTION","EXPERIMENT_ENROLLMENT"],"title":"RevenueCatEventType"},"RevenueCatExpirationReason":{"type":"string","enum":["UNSUBSCRIBE","BILLING_ERROR","DEVELOPER_INITIATED","PRICE_INCREASE","CUSTOMER_SUPPORT","UNKNOWN"],"title":"RevenueCatExpirationReason"},"RevenueCatPeriodType":{"type":"string","enum":["TRIAL","INTRO","NORMAL","PROMOTIONAL","PREPAID"],"title":"RevenueCatPeriodType"},"RevenueCatStore":{"type":"string","enum":["AMAZON","APP_STORE","MAC_APP_STORE","PADDLE","PLAY_STORE","PROMOTIONAL","RC_BILLING","ROKU","STRIPE","TEST_STORE"],"title":"RevenueCatStore"},"RevenueCatWebhookPayload":{"properties":{"event":{"$ref":"#/components/schemas/RevenueCatEvent"},"api_version":{"type":"string","title":"Api Version"}},"additionalProperties":true,"type":"object","required":["event","api_version"],"title":"RevenueCatWebhookPayload"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}