{"openapi":"3.1.0","info":{"title":"kg/x","version":"1.0.0"},"paths":{"/health":{"get":{"tags":["Общи"],"summary":"Проверка дали API-то работи (без ключ)","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/me":{"get":{"tags":["Общи"],"summary":"Текущият ключ и използването му","operationId":"me_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/resolve":{"get":{"tags":["Търсене"],"summary":"Линк или @handle → вид и id","operationId":"resolve_resolve_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","maxLength":2048,"title":"Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/suggest":{"get":{"tags":["Търсене"],"summary":"Потребител по име (и по-широко търсене, ако има вход)","operationId":"suggest_suggest_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":100,"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/search":{"get":{"tags":["Търсене"],"summary":"Търсене в X (иска вход в агента или cookies)","operationId":"search_search_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":400,"title":"Q"}},{"name":"product","in":"query","required":false,"schema":{"type":"string","pattern":"^(latest|top|people|media)$","default":"latest","title":"Product"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/search/communities":{"get":{"tags":["Търсене"],"summary":"Търсене в общностите на X","operationId":"search_communities_search_communities_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":400,"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/explore":{"get":{"tags":["Търсене"],"summary":"Страницата Explore","operationId":"explore_explore_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/connect":{"get":{"tags":["Търсене"],"summary":"Хора, които X предлага","operationId":"connect_connect_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tweet":{"get":{"tags":["Публикация"],"summary":"Детайли за публикация","operationId":"tweet_tweet_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string","pattern":"^\\d{1,22}$","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tweet/replies":{"get":{"tags":["Публикация"],"summary":"Отговори под публикация","operationId":"tweet_replies_tweet_replies_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string","pattern":"^\\d{1,22}$","title":"Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tweet/similar":{"get":{"tags":["Публикация"],"summary":"Подобни публикации","operationId":"tweet_similar_tweet_similar_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string","pattern":"^\\d{1,22}$","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user":{"get":{"tags":["Потребител"],"summary":"Профил","operationId":"user_user_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/tweets":{"get":{"tags":["Потребител"],"summary":"Публикации на профила","operationId":"user_tab_tweets_user_tweets_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/with_replies":{"get":{"tags":["Потребител"],"summary":"Публикации и отговори","operationId":"user_tab_with_replies_user_with_replies_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/replies":{"get":{"tags":["Потребител"],"summary":"Само отговори","operationId":"user_tab_replies_user_replies_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/media":{"get":{"tags":["Потребител"],"summary":"Медия","operationId":"user_tab_media_user_media_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/photos":{"get":{"tags":["Потребител"],"summary":"Снимки","operationId":"user_tab_photos_user_photos_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/videos":{"get":{"tags":["Потребител"],"summary":"Видеа","operationId":"user_tab_videos_user_videos_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/live":{"get":{"tags":["Потребител"],"summary":"На живо","operationId":"user_tab_live_user_live_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/likes":{"get":{"tags":["Потребител"],"summary":"Харесвания","operationId":"user_tab_likes_user_likes_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/highlights":{"get":{"tags":["Потребител"],"summary":"Отбелязани","operationId":"user_tab_highlights_user_highlights_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/articles":{"get":{"tags":["Потребител"],"summary":"Статии","operationId":"user_tab_articles_user_articles_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/reposts":{"get":{"tags":["Потребител"],"summary":"Репостове","operationId":"user_tab_reposts_user_reposts_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/originals":{"get":{"tags":["Потребител"],"summary":"Оригинални публикации","operationId":"user_tab_originals_user_originals_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/super-follows":{"get":{"tags":["Потребител"],"summary":"Публикации за абонати","operationId":"user_tab_super_follows_user_super_follows_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/followers":{"get":{"tags":["Потребител"],"summary":"Последователи","operationId":"user_tab_followers_user_followers_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/following":{"get":{"tags":["Потребител"],"summary":"Последвани","operationId":"user_tab_following_user_following_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/verified-followers":{"get":{"tags":["Потребител"],"summary":"Потвърдени последователи","operationId":"user_tab_verified_followers_user_verified_followers_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/followers/you-know":{"get":{"tags":["Потребител"],"summary":"Последователи, които акаунтът познава","operationId":"user_tab_known_followers_user_followers_you_know_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/subscriptions":{"get":{"tags":["Потребител"],"summary":"Абонаменти","operationId":"user_tab_subscriptions_user_subscriptions_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/subscribers":{"get":{"tags":["Потребител"],"summary":"Абонати","operationId":"user_tab_subscribers_user_subscribers_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_name","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","title":"Screen Name"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":900},{"type":"null"}],"title":"Cursor"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":40,"minimum":1,"default":20,"title":"Count"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|likes)$","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users":{"get":{"tags":["Потребител"],"summary":"Няколко профила наведнъж","operationId":"users_users_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"screen_names","in":"query","required":true,"schema":{"type":"string","maxLength":400,"description":"До 20, разделени със запетая","title":"Screen Names"},"description":"До 20, разделени със запетая"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account":{"get":{"tags":["Акаунт"],"summary":"Профилът, в който е влязъл облачният браузър","operationId":"account_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/info":{"post":{"tags":["Изтегляне"],"summary":"Каква медия има публикацията","operationId":"info_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InfoIn"}}},"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":[]},{"APIKeyHeader":[]}]}},"/jobs":{"post":{"tags":["Изтегляне"],"summary":"Нова задача за изтегляне","operationId":"create_job_jobs_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"wait","in":"query","required":false,"schema":{"type":"integer","maximum":120,"minimum":0,"default":0,"title":"Wait"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Изтегляне"],"summary":"Задачите на този ключ","operationId":"list_jobs_jobs_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/jobs/{job_id}":{"get":{"tags":["Изтегляне"],"summary":"Състояние на задача","operationId":"get_job_jobs__job_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"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"}}}}}},"delete":{"tags":["Изтегляне"],"summary":"Отказ или изтриване на задача","operationId":"delete_job_jobs__job_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"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"}}}}}}},"/jobs/{job_id}/file":{"get":{"tags":["Изтегляне"],"summary":"Готовият файл (с ключ)","operationId":"job_file_jobs__job_id__file_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"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/{token}":{"get":{"tags":["Изтегляне"],"summary":"Готовият файл по подписан линк (без ключ)","operationId":"signed_file_files__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/status":{"get":{"tags":["Система"],"summary":"Маршрути, агент и опашка","operationId":"status_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/settings":{"get":{"tags":["Администрация"],"summary":"Настройки на маршрутите","operationId":"get_settings_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"patch":{"tags":["Администрация"],"summary":"Промяна на подадените полета","operationId":"patch_settings_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsPatch"}}},"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":[]},{"APIKeyHeader":[]}]}},"/routes/test":{"post":{"tags":["Администрация"],"summary":"Проба на всеки маршрут с известна публикация","operationId":"routes_test_routes_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/routes/reset":{"post":{"tags":["Администрация"],"summary":"Нулиране на блокировките","operationId":"routes_reset_routes_reset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/cookies":{"put":{"tags":["Администрация"],"summary":"Качване на cookies.txt (тяло: text/plain)","operationId":"put_cookies_cookies_put","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"delete":{"tags":["Администрация"],"summary":"Изтриване на качените cookies","operationId":"delete_cookies_cookies_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/agent/refresh":{"post":{"tags":["Администрация"],"summary":"Агентът да презареди X и да обнови cookies","operationId":"agent_refresh_agent_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/agent/import":{"post":{"tags":["Администрация"],"summary":"Прехвърляне на качените cookies в браузъра на агента","operationId":"agent_import_agent_import_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/agent/logout":{"post":{"tags":["Администрация"],"summary":"Изход от акаунта в браузъра на агента","operationId":"agent_logout_agent_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InfoIn":{"properties":{"url":{"type":"string","maxLength":2048,"title":"Url","description":"Линк към публикация в X или id"}},"additionalProperties":false,"type":"object","required":["url"],"title":"InfoIn"},"JobIn":{"properties":{"url":{"type":"string","maxLength":2048,"title":"Url"},"mode":{"type":"string","title":"Mode","description":"video, mute, audio или photo","default":"video"},"quality":{"type":"string","title":"Quality","description":"max или височина: 1080, 720…","default":"max"},"bitrate":{"type":"string","title":"Bitrate","description":"128, 192, 256 или 320 за MP3","default":"192"}},"additionalProperties":false,"type":"object","required":["url"],"title":"JobIn"},"SettingsPatch":{"properties":{"cookies_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cookies Mode"},"cookies_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cookies Source"},"data_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Source"}},"additionalProperties":false,"type":"object","title":"SettingsPatch"},"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"}},"securitySchemes":{"HTTPBearer":{"type":"http","description":"Authorization: Bearer xpk_…","scheme":"bearer"},"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}},"servers":[{"url":"/api/v1"}]}