{"openapi":"3.1.0","info":{"title":"Video Theses","version":"0.1.0"},"paths":{"/legal/offer":{"get":{"summary":"Offer","operationId":"offer_legal_offer_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Offer","operationId":"offer_legal_offer_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/legal/privacy":{"get":{"summary":"Privacy","operationId":"privacy_legal_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Privacy","operationId":"privacy_legal_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/plans":{"get":{"summary":"Plans","operationId":"plans_api_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me":{"get":{"summary":"Me","operationId":"me_api_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/providers":{"get":{"summary":"Providers","operationId":"providers_api_auth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/consent":{"post":{"summary":"Consent","description":"Пользователь принял оферту и политику; заодно запоминаем задачу, к которой вернуться после входа.","operationId":"consent_api_auth_consent_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/logout":{"post":{"summary":"Logout","operationId":"logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/email/request":{"post":{"summary":"Email Request","operationId":"email_request_api_auth_email_request_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/email/verify":{"post":{"summary":"Email Verify","operationId":"email_verify_api_auth_email_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/telegram":{"get":{"summary":"Telegram Callback","operationId":"telegram_callback_auth_telegram_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/yandex/start":{"get":{"summary":"Yandex Start","operationId":"yandex_start_auth_yandex_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/vk/start":{"get":{"summary":"Vk Start","operationId":"vk_start_auth_vk_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/yandex/callback":{"get":{"summary":"Yandex Callback","operationId":"yandex_callback_auth_yandex_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/vk/callback":{"get":{"summary":"Vk Callback","operationId":"vk_callback_auth_vk_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/checkout":{"post":{"summary":"Checkout","operationId":"checkout_api_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/autorenew/off":{"post":{"summary":"Autorenew Off","description":"Пользователь отключает автопродление: сохранённый способ оплаты забываем.","operationId":"autorenew_off_api_autorenew_off_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/payments/yookassa/webhook":{"post":{"summary":"Yookassa Webhook","operationId":"yookassa_webhook_api_payments_yookassa_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payment/return":{"get":{"summary":"Payment Return","operationId":"payment_return_payment_return_get","parameters":[{"name":"ref","in":"query","required":false,"schema":{"type":"string","default":"","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/jobs":{"post":{"summary":"Create Job","operationId":"create_job_api_jobs_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_job_api_jobs_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/brand-preview":{"post":{"summary":"Brand Preview","operationId":"brand_preview_api_brand_preview_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_brand_preview_api_brand_preview_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/brand-presets":{"get":{"summary":"Brand Presets","operationId":"brand_presets_api_brand_presets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/jobs/{job_id}":{"get":{"summary":"Job Status","operationId":"job_status_api_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/files/{job_id}/{name}":{"get":{"summary":"Get File","operationId":"get_file_files__job_id___name__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preview/{job_id}/{n}":{"get":{"summary":"Get Preview","operationId":"get_preview_preview__job_id___n__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_brand_preview_api_brand_preview_post":{"properties":{"brand_name":{"type":"string","title":"Brand Name","default":""},"brand_tagline":{"type":"string","title":"Brand Tagline","default":""},"brand_accent":{"type":"string","title":"Brand Accent","default":""},"brand_bg_top":{"type":"string","title":"Brand Bg Top","default":""},"brand_bg_bottom":{"type":"string","title":"Brand Bg Bottom","default":""},"brand_text":{"type":"string","title":"Brand Text","default":""},"brand_photo":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Brand Photo"}},"type":"object","title":"Body_brand_preview_api_brand_preview_post"},"Body_create_job_api_jobs_post":{"properties":{"url":{"type":"string","title":"Url","default":""},"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"brand_name":{"type":"string","title":"Brand Name","default":""},"brand_tagline":{"type":"string","title":"Brand Tagline","default":""},"brand_accent":{"type":"string","title":"Brand Accent","default":""},"brand_bg_top":{"type":"string","title":"Brand Bg Top","default":""},"brand_bg_bottom":{"type":"string","title":"Brand Bg Bottom","default":""},"brand_text":{"type":"string","title":"Brand Text","default":""},"brand_photo":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Brand Photo"}},"type":"object","title":"Body_create_job_api_jobs_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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"}}}}