{"openapi":"3.1.0","info":{"title":"ИкеТел · одна колонка","version":"0.2.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1-design/":{"get":{"summary":"Landing V1","operationId":"landing_v1_v1_design__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1-design":{"get":{"summary":"Landing V1","operationId":"landing_v1_v1_design_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/settings":{"get":{"summary":"Index","operationId":"index_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/control":{"get":{"summary":"Index","operationId":"index_control_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/trace":{"get":{"summary":"Trace Page","operationId":"trace_page_trace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/studio":{"get":{"summary":"Studio","operationId":"studio_studio_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/speaker":{"get":{"summary":"Studio","operationId":"studio_speaker_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sw.js":{"get":{"summary":"Sw","operationId":"sw_sw_js_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/manifest.webmanifest":{"get":{"summary":"Manifest","operationId":"manifest_manifest_webmanifest_get","parameters":[{"name":"app","in":"query","required":false,"schema":{"type":"string","default":"control","title":"App"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/login":{"post":{"summary":"Login","operationId":"login_v1_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/logout":{"post":{"summary":"Logout","operationId":"logout_v1_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/control/session":{"post":{"summary":"Settings Session","operationId":"settings_session_v1_control_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/state":{"get":{"summary":"State","operationId":"state_v1_admin_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/settings":{"patch":{"summary":"Settings","operationId":"settings_v1_admin_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ControlSettings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/sources/{ident}/refresh":{"post":{"summary":"Source Refresh","operationId":"source_refresh_v1_admin_sources__ident__refresh_post","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/context":{"delete":{"summary":"Clear","operationId":"clear_v1_admin_context_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/cancel":{"post":{"summary":"Cancel","operationId":"cancel_v1_admin_cancel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/trace":{"get":{"summary":"Trace","operationId":"trace_v1_trace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/requests":{"post":{"summary":"Create","operationId":"create_v1_requests_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_v1_requests_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/requests/{ident}":{"get":{"summary":"Result","operationId":"result_v1_requests__ident__get","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/requests/{ident}/audio":{"get":{"summary":"Get Audio","operationId":"get_audio_v1_requests__ident__audio_get","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dialog/audio":{"post":{"summary":"Device Audio","operationId":"device_audio_v1_dialog_audio_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_device_audio_v1_dialog_audio_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lab/session":{"post":{"summary":"Lab Session","operationId":"lab_session_v1_lab_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/lab/settings":{"patch":{"summary":"Lab Settings","operationId":"lab_settings_v1_lab_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ControlSettings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lab/context":{"delete":{"summary":"Lab Clear","operationId":"lab_clear_v1_lab_context_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/lab/requests":{"post":{"summary":"Lab Create","operationId":"lab_create_v1_lab_requests_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_lab_create_v1_lab_requests_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lab/requests/{ident}":{"get":{"summary":"Lab Result","operationId":"lab_result_v1_lab_requests__ident__get","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lab/requests/{ident}/audio":{"get":{"summary":"Lab Audio","operationId":"lab_audio_v1_lab_requests__ident__audio_get","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lab/cancel":{"post":{"summary":"Lab Cancel","operationId":"lab_cancel_v1_lab_cancel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_create_v1_requests_post":{"properties":{"audio":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Audio"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"}},"type":"object","title":"Body_create_v1_requests_post"},"Body_device_audio_v1_dialog_audio_post":{"properties":{"audio":{"type":"string","contentMediaType":"application/octet-stream","title":"Audio"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},"type":"object","required":["audio"],"title":"Body_device_audio_v1_dialog_audio_post"},"Body_lab_create_v1_lab_requests_post":{"properties":{"audio":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Audio"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"no_cache":{"type":"boolean","title":"No Cache","default":false}},"type":"object","title":"Body_lab_create_v1_lab_requests_post"},"ControlSettings":{"properties":{"language":{"type":"string","enum":["auto","tt","ru"],"title":"Language","default":"auto"},"public":{"type":"boolean","title":"Public","default":true},"adaptation_enabled":{"type":"boolean","title":"Adaptation Enabled","default":false},"tatar_level":{"type":"string","enum":["auto","basic","intermediate","advanced"],"title":"Tatar Level","default":"auto"},"personality":{"type":"string","enum":["precise","friendly","sage"],"title":"Personality","default":"friendly"},"notes":{"items":{"$ref":"#/components/schemas/Note"},"type":"array","maxItems":200,"title":"Notes"},"sources":{"items":{"$ref":"#/components/schemas/Source"},"type":"array","maxItems":20,"title":"Sources"},"place_name":{"type":"string","maxLength":160,"title":"Place Name","default":"Центр уникального мастерства"},"place_description":{"type":"string","maxLength":12000,"title":"Place Description","default":"Казань. Описание площадки ещё не заполнено администратором."}},"additionalProperties":false,"type":"object","title":"ControlSettings"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Login":{"properties":{"key":{"type":"string","maxLength":200,"minLength":1,"title":"Key"}},"type":"object","required":["key"],"title":"Login"},"Note":{"properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,64}$","title":"Id"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"body":{"type":"string","maxLength":12000,"minLength":1,"title":"Body"},"enabled":{"type":"boolean","title":"Enabled","default":true},"until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Until"},"source_url":{"type":"string","maxLength":2000,"title":"Source Url","default":""}},"additionalProperties":false,"type":"object","required":["id","title","body"],"title":"Note"},"Source":{"properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,64}$","title":"Id"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"url":{"type":"string","maxLength":2000,"title":"Url"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"additionalProperties":false,"type":"object","required":["id","title","url"],"title":"Source"},"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"}}}}