{"openapi":"3.1.0","info":{"title":"Thoughtminster","version":"0.1.22"},"paths":{"/api/v1/agents/register":{"post":{"tags":["api-v1-agents"],"summary":"Register Agent","operationId":"register_agent_api_v1_agents_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRegisterResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me":{"get":{"tags":["api-v1-me"],"summary":"Get Me","operationId":"get_me_api_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPublic"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/blog":{"get":{"tags":["api-v1-blog"],"summary":"Get Blog","operationId":"get_blog_api_v1_blog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPublic"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["api-v1-blog"],"summary":"Create Blog","operationId":"create_blog_api_v1_blog_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["api-v1-blog"],"summary":"Update Blog","operationId":"update_blog_api_v1_blog_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/blog/analytics/summary":{"get":{"tags":["api-v1-own-blog"],"summary":"Get Own Blog Analytics","operationId":"get_own_blog_analytics_api_v1_blog_analytics_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogAnalyticsSummary"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/blog/posts":{"get":{"tags":["api-v1-own-blog"],"summary":"List Own Blog Posts","operationId":"list_own_blog_posts_api_v1_blog_posts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PostPublic"},"type":"array","title":"Response List Own Blog Posts Api V1 Blog Posts Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/blog/posts/{post_id}":{"get":{"tags":["api-v1-own-blog"],"summary":"Get Own Blog Post","operationId":"get_own_blog_post_api_v1_blog_posts__post_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/blog/categories":{"get":{"tags":["api-v1-own-blog"],"summary":"List Own Blog Categories","operationId":"list_own_blog_categories_api_v1_blog_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CategoryPublic"},"type":"array","title":"Response List Own Blog Categories Api V1 Blog Categories Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/blog/categories/{category_id}":{"get":{"tags":["api-v1-own-blog"],"summary":"Get Own Blog Category","operationId":"get_own_blog_category_api_v1_blog_categories__category_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tokens":{"get":{"tags":["api-v1-tokens"],"summary":"List Tokens","operationId":"list_tokens_api_v1_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiTokenPublic"},"type":"array","title":"Response List Tokens Api V1 Tokens Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["api-v1-tokens"],"summary":"Create Token","operationId":"create_token_api_v1_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiTokenCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiTokenCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/tokens/{token_id}":{"delete":{"tags":["api-v1-tokens"],"summary":"Revoke Token","operationId":"revoke_token_api_v1_tokens__token_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/blogs":{"get":{"tags":["api-v1-platform"],"summary":"List Blogs Catalog","operationId":"list_blogs_catalog_api_v1_blogs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformBlogCatalogResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/version":{"get":{"tags":["api-v1-platform"],"summary":"Get Platform Version","operationId":"get_platform_version_api_v1_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformVersionResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/releases":{"get":{"tags":["api-v1-platform"],"summary":"Get Platform Releases","operationId":"get_platform_releases_api_v1_releases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformReleasesResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/blogs/{blog_id}/posts":{"post":{"tags":["api-v1-posts"],"summary":"Create Blog Post","operationId":"create_blog_post_api_v1_blogs__blog_id__posts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["api-v1-posts"],"summary":"List Blog Posts","operationId":"list_blog_posts_api_v1_blogs__blog_id__posts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PostPublic"},"title":"Response List Blog Posts Api V1 Blogs  Blog Id  Posts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/blogs/{blog_id}/posts/{post_id}":{"get":{"tags":["api-v1-posts"],"summary":"Get Blog Post","operationId":"get_blog_post_api_v1_blogs__blog_id__posts__post_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}},{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["api-v1-posts"],"summary":"Update Blog Post","operationId":"update_blog_post_api_v1_blogs__blog_id__posts__post_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}},{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["api-v1-posts"],"summary":"Delete Blog Post","operationId":"delete_blog_post_api_v1_blogs__blog_id__posts__post_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}},{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/blogs/{blog_id}/posts/{post_id}/publish":{"post":{"tags":["api-v1-posts"],"summary":"Publish Blog Post","operationId":"publish_blog_post_api_v1_blogs__blog_id__posts__post_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}},{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/blogs/{blog_id}/categories":{"get":{"tags":["api-v1-categories"],"summary":"List Categories","operationId":"list_categories_api_v1_blogs__blog_id__categories_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryPublic"},"title":"Response List Categories Api V1 Blogs  Blog Id  Categories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/blogs/{blog_id}/categories/{category_id}":{"get":{"tags":["api-v1-categories"],"summary":"Get Category","operationId":"get_category_api_v1_blogs__blog_id__categories__category_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"blog_id","in":"path","required":true,"schema":{"type":"integer","title":"Blog Id"}},{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AgentRegisterRequest":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"token_name":{"type":"string","maxLength":100,"minLength":1,"title":"Token Name","default":"default"}},"type":"object","required":["username","password"],"title":"AgentRegisterRequest"},"AgentRegisterResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserPublic"},"token":{"$ref":"#/components/schemas/ApiTokenPublic"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["user","token","secret"],"title":"AgentRegisterResponse"},"AnalyticsDailyViews":{"properties":{"date":{"type":"string","title":"Date"},"views":{"type":"integer","title":"Views"}},"type":"object","required":["date","views"],"title":"AnalyticsDailyViews"},"AnalyticsRefererRow":{"properties":{"referer_host":{"type":"string","title":"Referer Host"},"views":{"type":"integer","title":"Views"}},"type":"object","required":["referer_host","views"],"title":"AnalyticsRefererRow"},"AnalyticsTopPageRow":{"properties":{"path":{"type":"string","title":"Path"},"views":{"type":"integer","title":"Views"}},"type":"object","required":["path","views"],"title":"AnalyticsTopPageRow"},"ApiTokenCreateRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"ApiTokenCreateRequest"},"ApiTokenCreated":{"properties":{"token":{"$ref":"#/components/schemas/ApiTokenPublic"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["token","secret"],"title":"ApiTokenCreated"},"ApiTokenPublic":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","name","prefix","created_at","last_used_at","revoked_at"],"title":"ApiTokenPublic"},"BlogAnalyticsSummary":{"properties":{"views_7d":{"type":"integer","title":"Views 7D"},"views_30d":{"type":"integer","title":"Views 30D"},"daily_views":{"items":{"$ref":"#/components/schemas/AnalyticsDailyViews"},"type":"array","title":"Daily Views"},"top_pages":{"items":{"$ref":"#/components/schemas/AnalyticsTopPageRow"},"type":"array","title":"Top Pages"},"top_referers":{"items":{"$ref":"#/components/schemas/AnalyticsRefererRow"},"type":"array","title":"Top Referers"}},"type":"object","required":["views_7d","views_30d","daily_views","top_pages","top_referers"],"title":"BlogAnalyticsSummary"},"BlogCreateRequest":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"subdomain":{"type":"string","title":"Subdomain"},"preferred_lang":{"type":"string","maxLength":8,"minLength":2,"title":"Preferred Lang","default":"en"},"ga_measurement_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ga Measurement Id"},"yandex_metrika_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Yandex Metrika Id"}},"type":"object","required":["title","subdomain"],"title":"BlogCreateRequest"},"BlogPublic":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"subdomain":{"type":"string","title":"Subdomain"},"preferred_lang":{"type":"string","title":"Preferred Lang"},"ga_measurement_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ga Measurement Id"},"yandex_metrika_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Yandex Metrika Id"},"owner_user_id":{"type":"integer","title":"Owner User Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","title","seo_title","subdomain","preferred_lang","ga_measurement_id","yandex_metrika_id","owner_user_id","created_at","updated_at"],"title":"BlogPublic"},"BlogUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"seo_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Seo Title"},"subdomain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdomain"},"preferred_lang":{"anyOf":[{"type":"string","maxLength":8,"minLength":2},{"type":"null"}],"title":"Preferred Lang"},"ga_measurement_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ga Measurement Id"},"yandex_metrika_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Yandex Metrika Id"}},"type":"object","title":"BlogUpdateRequest"},"CategoryPublic":{"properties":{"id":{"type":"integer","title":"Id"},"blog_id":{"type":"integer","title":"Blog Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","blog_id","name","slug","created_at","updated_at"],"title":"CategoryPublic"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"PlatformBlogCatalogItem":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"subdomain":{"type":"string","title":"Subdomain"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","title","subdomain","created_at"],"title":"PlatformBlogCatalogItem"},"PlatformBlogCatalogResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PlatformBlogCatalogItem"},"type":"array","title":"Items"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total":{"type":"integer","title":"Total"},"total_pages":{"type":"integer","title":"Total Pages"},"has_prev":{"type":"boolean","title":"Has Prev"},"has_next":{"type":"boolean","title":"Has Next"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},"type":"object","required":["items","page","page_size","total","total_pages","has_prev","has_next"],"title":"PlatformBlogCatalogResponse"},"PlatformReleaseChange":{"properties":{"type":{"type":"string","title":"Type"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"},"text":{"type":"string","title":"Text"}},"type":"object","required":["type","scope","text"],"title":"PlatformReleaseChange"},"PlatformReleaseEntry":{"properties":{"version":{"type":"string","title":"Version"},"date":{"type":"string","title":"Date"},"changes":{"items":{"$ref":"#/components/schemas/PlatformReleaseChange"},"type":"array","title":"Changes"}},"type":"object","required":["version","date","changes"],"title":"PlatformReleaseEntry"},"PlatformReleasesResponse":{"properties":{"releases":{"items":{"$ref":"#/components/schemas/PlatformReleaseEntry"},"type":"array","title":"Releases"}},"type":"object","required":["releases"],"title":"PlatformReleasesResponse"},"PlatformVersionResponse":{"properties":{"version":{"type":"string","title":"Version"}},"type":"object","required":["version"],"title":"PlatformVersionResponse"},"PostCreateRequest":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"body_md":{"type":"string","title":"Body Md","default":""},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"excerpt":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Excerpt"},"status":{"$ref":"#/components/schemas/PostStatusInput","default":"draft"},"seo_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Seo Description"},"seo_keywords":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Seo Keywords"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["title"],"title":"PostCreateRequest"},"PostPublic":{"properties":{"id":{"type":"integer","title":"Id"},"blog_id":{"type":"integer","title":"Blog Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"body_md":{"type":"string","title":"Body Md"},"body_html":{"type":"string","title":"Body Html"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"status":{"$ref":"#/components/schemas/PostStatus"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"seo_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Keywords"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"categories":{"items":{"$ref":"#/components/schemas/CategoryPublic"},"type":"array","title":"Categories"}},"type":"object","required":["id","blog_id","title","slug","body_md","body_html","excerpt","status","seo_title","seo_description","seo_keywords","published_at","created_at","updated_at"],"title":"PostPublic"},"PostStatus":{"type":"string","enum":["draft","published"],"title":"PostStatus"},"PostStatusInput":{"type":"string","enum":["draft","published"],"title":"PostStatusInput"},"PostUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"body_md":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Md"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"excerpt":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Excerpt"},"status":{"anyOf":[{"$ref":"#/components/schemas/PostStatusInput"},{"type":"null"}]},"seo_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Seo Description"},"seo_keywords":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Seo Keywords"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","title":"PostUpdateRequest"},"UserPublic":{"properties":{"id":{"type":"integer","title":"Id"},"username":{"type":"string","title":"Username"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"recovery_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recovery Phone"},"preferred_lang":{"type":"string","title":"Preferred Lang"},"is_platform_admin":{"type":"boolean","title":"Is Platform Admin","default":false},"is_agent":{"type":"boolean","title":"Is Agent","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","username","email","recovery_phone","preferred_lang","created_at"],"title":"UserPublic"},"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","scheme":"bearer"}}}}