{"openapi":"3.1.0","info":{"title":"safestate","description":"**Tentacore** — modular headless CMS. Endpoints under `/public/` are unauthenticated. All other write endpoints require a Bearer token from `POST /auth/login`.","version":"0.8.0"},"paths":{"/api/v1/setup/status":{"get":{"tags":["setup"],"summary":"Setup Status","description":"Public: whether first-run setup is still available.","operationId":"setup_status_api_v1_setup_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupStatusRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/setup":{"post":{"tags":["setup"],"summary":"Run Setup","description":"Public, but only while uninitialized: create the first admin and lock setup.\n\nReturns an access token so the new admin lands straight on the dashboard.","operationId":"run_setup_api_v1_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/auth/status":{"get":{"tags":["auth"],"summary":"Get Auth Status","operationId":"get_auth_status_api_v1_auth_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthStatusRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_v1_auth_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/auth/change-password":{"post":{"tags":["auth"],"summary":"Change Password","operationId":"change_password_api_v1_auth_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/auth/me":{"get":{"tags":["auth"],"summary":"Get Me","operationId":"get_me_api_v1_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/auth/passkeys":{"get":{"tags":["passkeys"],"summary":"List Passkeys","operationId":"list_passkeys_api_v1_auth_passkeys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PasskeyRead"},"type":"array","title":"Response List Passkeys Api V1 Auth Passkeys Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/auth/passkeys/register/options":{"post":{"tags":["passkeys"],"summary":"Register Options","operationId":"register_options_api_v1_auth_passkeys_register_options_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyOptionsRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/auth/passkeys/register/verify":{"post":{"tags":["passkeys"],"summary":"Register Verify","operationId":"register_verify_api_v1_auth_passkeys_register_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegisterVerifyRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/auth/passkeys/{credential_id}":{"delete":{"tags":["passkeys"],"summary":"Delete Passkey","operationId":"delete_passkey_api_v1_auth_passkeys__credential_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"integer","title":"Credential Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/auth/passkeys/login/options":{"post":{"tags":["passkeys"],"summary":"Login Options","operationId":"login_options_api_v1_auth_passkeys_login_options_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyOptionsRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/auth/passkeys/login/verify":{"post":{"tags":["passkeys"],"summary":"Login Verify","operationId":"login_verify_api_v1_auth_passkeys_login_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyLoginVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/users":{"get":{"tags":["users"],"summary":"List Users","operationId":"list_users_api_v1_users_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_UserRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["users"],"summary":"Create User","operationId":"create_user_api_v1_users_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/users/{user_id}":{"patch":{"tags":["users"],"summary":"Update User","operationId":"update_user_api_v1_users__user_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["users"],"summary":"Delete User","operationId":"delete_user_api_v1_users__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/health":{"get":{"tags":["health"],"summary":"Get Health","operationId":"get_health_api_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Get Health Api V1 Health Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/health/ready":{"get":{"tags":["health"],"summary":"Get Readiness","operationId":"get_readiness_api_v1_health_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Get Readiness Api V1 Health Ready Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/modules":{"get":{"tags":["modules"],"summary":"Get Modules","operationId":"get_modules_api_v1_modules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ModuleRead"},"type":"array","title":"Response Get Modules Api V1 Modules Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/modules/{name}":{"patch":{"tags":["modules"],"summary":"Update Module","operationId":"update_module_api_v1_modules__name__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModuleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModuleRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/modules/{name}/config":{"get":{"tags":["modules"],"summary":"Get Module Config","operationId":"get_module_config_api_v1_modules__name__config_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Module Config Api V1 Modules  Name  Config Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"tags":["modules"],"summary":"Set Module Config","operationId":"set_module_config_api_v1_modules__name__config_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Config"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/system":{"get":{"tags":["system"],"summary":"Get System","description":"Installed release + upgrade history for the Update Manager.\n\nThere is no automatic discovery (ADR 0009); this reports only what *this*\ninstance is and how it got there.","operationId":"get_system_api_v1_system_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/page-section-types":{"get":{"tags":["page-section-types"],"summary":"List Page Section Types","operationId":"list_page_section_types_api_v1_page_section_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response List Page Section Types Api V1 Page Section Types Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/pages":{"post":{"tags":["pages"],"summary":"Create Page","operationId":"create_page_api_v1_pages_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["pages"],"summary":"List Pages","operationId":"list_pages_api_v1_pages_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["draft","published","scheduled","archived"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_PageRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/pages/by-slug":{"get":{"tags":["pages"],"summary":"Get Page By Slug","operationId":"get_page_by_slug_api_v1_pages_by_slug_get","parameters":[{"name":"slug","in":"query","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/pages/{page_id}":{"put":{"tags":["pages"],"summary":"Update Page","operationId":"update_page_api_v1_pages__page_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_id","in":"path","required":true,"schema":{"type":"integer","title":"Page Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["pages"],"summary":"Get Page","operationId":"get_page_api_v1_pages__page_id__get","parameters":[{"name":"page_id","in":"path","required":true,"schema":{"type":"integer","title":"Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/pages/{page_id}/archive":{"post":{"tags":["pages"],"summary":"Archive Page","operationId":"archive_page_api_v1_pages__page_id__archive_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page_id","in":"path","required":true,"schema":{"type":"integer","title":"Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/blog/posts":{"post":{"tags":["blog"],"summary":"Create Blog Post","operationId":"create_blog_post_api_v1_blog_posts_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["blog"],"summary":"List Blog Posts","operationId":"list_blog_posts_api_v1_blog_posts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["draft","published","scheduled","archived"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_BlogPostRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/blog/posts/editable":{"get":{"tags":["blog"],"summary":"List Editable Blog Posts","operationId":"list_editable_blog_posts_api_v1_blog_posts_editable_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_BlogPostRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/blog/posts/by-slug":{"get":{"tags":["blog"],"summary":"Get Blog Post By Slug","operationId":"get_blog_post_by_slug_api_v1_blog_posts_by_slug_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"query","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/blog/posts/{post_id}":{"put":{"tags":["blog"],"summary":"Update Blog Post","operationId":"update_blog_post_api_v1_blog_posts__post_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["blog"],"summary":"Get Blog Post","operationId":"get_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/BlogPostRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/blog/posts/{post_id}/publish":{"post":{"tags":["blog"],"summary":"Publish Blog Post","operationId":"publish_blog_post_api_v1_blog_posts__post_id__publish_post","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/BlogPostRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/blog/posts/{post_id}/archive":{"post":{"tags":["blog"],"summary":"Archive Blog Post","operationId":"archive_blog_post_api_v1_blog_posts__post_id__archive_post","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/BlogPostRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/blog/categories":{"get":{"tags":["blog"],"summary":"List Blog Categories","operationId":"list_blog_categories_api_v1_blog_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BlogCategoryRead"},"type":"array","title":"Response List Blog Categories Api V1 Blog Categories Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["blog"],"summary":"Create Blog Category","operationId":"create_blog_category_api_v1_blog_categories_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogCategoryCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogCategoryRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/blog/categories/{category_id}":{"put":{"tags":["blog"],"summary":"Update Blog Category","operationId":"update_blog_category_api_v1_blog_categories__category_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogCategoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogCategoryRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["blog"],"summary":"Delete Blog Category","operationId":"delete_blog_category_api_v1_blog_categories__category_id__delete","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/BlogCategoryDeleteResult"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/media":{"post":{"tags":["media"],"summary":"Upload Media","operationId":"upload_media_api_v1_media_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_media_api_v1_media_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["media"],"summary":"List Media","operationId":"list_media_api_v1_media_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_MediaAssetRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/media/{asset_id}":{"get":{"tags":["media"],"summary":"Get Media","operationId":"get_media_api_v1_media__asset_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"integer","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["media"],"summary":"Update Media","operationId":"update_media_api_v1_media__asset_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"integer","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["media"],"summary":"Delete Media","operationId":"delete_media_api_v1_media__asset_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"integer","title":"Asset Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/analytics/overview":{"get":{"tags":["analytics"],"summary":"Get Overview","operationId":"get_overview_api_v1_analytics_overview_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"range","in":"query","required":false,"schema":{"enum":["7d","30d","90d"],"type":"string","default":"30d","title":"Range"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsOverview"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/analytics/content":{"get":{"tags":["analytics"],"summary":"Get Top Content","operationId":"get_top_content_api_v1_analytics_content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"range","in":"query","required":false,"schema":{"enum":["7d","30d","90d"],"type":"string","default":"30d","title":"Range"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentRow"},"title":"Response Get Top Content Api V1 Analytics Content Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/analytics/sources":{"get":{"tags":["analytics"],"summary":"Get Sources","operationId":"get_sources_api_v1_analytics_sources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AnalyticsSourceRead"},"type":"array","title":"Response Get Sources Api V1 Analytics Sources Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/public/pages":{"get":{"tags":["public-pages"],"summary":"List Public Pages","operationId":"list_public_pages_api_v1_public_pages_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_PageRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/pages/by-slug":{"get":{"tags":["public-pages"],"summary":"Get Public Page By Slug","operationId":"get_public_page_by_slug_api_v1_public_pages_by_slug_get","parameters":[{"name":"slug","in":"query","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"count","in":"query","required":false,"schema":{"type":"boolean","description":"Set on the one request that loads the content a visitor is viewing, to count it in Analytics. Omit it for supporting requests. Nothing about the visitor is stored.","default":false,"title":"Count"},"description":"Set on the one request that loads the content a visitor is viewing, to count it in Analytics. Omit it for supporting requests. Nothing about the visitor is stored."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/blog/posts":{"get":{"tags":["public-blog"],"summary":"List Public Blog Posts","operationId":"list_public_blog_posts_api_v1_public_blog_posts_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by category slug.","title":"Category"},"description":"Filter by category slug."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_BlogPostRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/blog/posts/by-slug":{"get":{"tags":["public-blog"],"summary":"Get Public Blog Post By Slug","operationId":"get_public_blog_post_by_slug_api_v1_public_blog_posts_by_slug_get","parameters":[{"name":"slug","in":"query","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"count","in":"query","required":false,"schema":{"type":"boolean","description":"Set on the one request that loads the content a visitor is viewing, to count it in Analytics. Omit it for supporting requests. Nothing about the visitor is stored.","default":false,"title":"Count"},"description":"Set on the one request that loads the content a visitor is viewing, to count it in Analytics. Omit it for supporting requests. Nothing about the visitor is stored."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/blog/categories":{"get":{"tags":["public-blog"],"summary":"List Public Blog Categories","operationId":"list_public_blog_categories_api_v1_public_blog_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BlogCategoryRead"},"type":"array","title":"Response List Public Blog Categories Api V1 Public Blog Categories Get"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/media/{storage_key}":{"get":{"tags":["public-media"],"summary":"Serve Media","operationId":"serve_media_api_v1_public_media__storage_key__get","parameters":[{"name":"storage_key","in":"path","required":true,"schema":{"type":"string","title":"Storage Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/contact":{"post":{"tags":["public","contact"],"summary":"Submit Contact","operationId":"submit_contact_api_v1_public_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSubmission"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/podcast/episodes":{"post":{"tags":["podcast"],"summary":"Create Episode","operationId":"create_episode_api_v1_podcast_episodes_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["podcast"],"summary":"List Episodes","operationId":"list_episodes_api_v1_podcast_episodes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["draft","published","scheduled"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_PodcastEpisodeListRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/podcast/episodes/{episode_id}":{"get":{"tags":["podcast"],"summary":"Get Episode","operationId":"get_episode_api_v1_podcast_episodes__episode_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"integer","title":"Episode Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"tags":["podcast"],"summary":"Update Episode","operationId":"update_episode_api_v1_podcast_episodes__episode_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"integer","title":"Episode Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["podcast"],"summary":"Delete Episode","operationId":"delete_episode_api_v1_podcast_episodes__episode_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"integer","title":"Episode Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/podcast/episodes/{episode_id}/publish":{"post":{"tags":["podcast"],"summary":"Publish Episode","operationId":"publish_episode_api_v1_podcast_episodes__episode_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"integer","title":"Episode Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/podcast/episodes/{episode_id}/unpublish":{"post":{"tags":["podcast"],"summary":"Unpublish Episode","operationId":"unpublish_episode_api_v1_podcast_episodes__episode_id__unpublish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"integer","title":"Episode Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/podcast/episodes":{"get":{"tags":["public-podcast"],"summary":"List Public Episodes","operationId":"list_public_episodes_api_v1_public_podcast_episodes_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paginated_PodcastEpisodeListRead_"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/podcast/episodes/{slug}":{"get":{"tags":["public-podcast"],"summary":"Get Public Episode","operationId":"get_public_episode_api_v1_public_podcast_episodes__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeRead"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/public/podcast/feed.xml":{"get":{"tags":["public-podcast"],"summary":"Get Rss Feed","operationId":"get_rss_feed_api_v1_public_podcast_feed_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"AdminRead":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"is_admin":{"type":"boolean","title":"Is Admin"}},"type":"object","required":["id","email","is_admin"],"title":"AdminRead"},"AnalyticsOverview":{"properties":{"views":{"type":"integer","title":"Views"},"timeseries":{"items":{"$ref":"#/components/schemas/TimeseriesDay"},"type":"array","title":"Timeseries"}},"type":"object","required":["views","timeseries"],"title":"AnalyticsOverview"},"AnalyticsSourceRead":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"event_types":{"items":{"type":"string"},"type":"array","title":"Event Types"},"entity":{"type":"string","title":"Entity"},"headline_metrics":{"items":{"type":"string"},"type":"array","title":"Headline Metrics"}},"type":"object","required":["key","label","event_types","entity","headline_metrics"],"title":"AnalyticsSourceRead"},"AuthStatusRead":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"mode":{"type":"string","title":"Mode"},"message":{"type":"string","title":"Message"},"totp_enabled":{"type":"boolean","title":"Totp Enabled","default":false}},"type":"object","required":["enabled","mode","message"],"title":"AuthStatusRead"},"BlogCategoryCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","required":["name"],"title":"BlogCategoryCreate"},"BlogCategoryDeleteResult":{"properties":{"id":{"type":"integer","title":"Id"},"uncategorized_posts":{"type":"integer","title":"Uncategorized Posts"}},"type":"object","required":["id","uncategorized_posts"],"title":"BlogCategoryDeleteResult"},"BlogCategoryRead":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"}},"type":"object","required":["id","name","slug"],"title":"BlogCategoryRead"},"BlogCategoryUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","title":"BlogCategoryUpdate"},"BlogPostBlockCreate":{"properties":{"type":{"type":"string","enum":["heading","paragraph","quote","code","image"],"title":"Type"},"sort_order":{"type":"integer","minimum":1.0,"title":"Sort Order"},"data":{"additionalProperties":true,"type":"object","title":"Data"}},"type":"object","required":["type","sort_order","data"],"title":"BlogPostBlockCreate"},"BlogPostBlockRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","enum":["heading","paragraph","quote","code","image"],"title":"Type"},"sort_order":{"type":"integer","title":"Sort Order"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","type","sort_order","data","created_at","updated_at"],"title":"BlogPostBlockRead"},"BlogPostBlockUpdate":{"properties":{"type":{"type":"string","enum":["heading","paragraph","quote","code","image"],"title":"Type"},"sort_order":{"type":"integer","minimum":1.0,"title":"Sort Order"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","sort_order","data"],"title":"BlogPostBlockUpdate"},"BlogPostCreate":{"properties":{"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"status":{"type":"string","enum":["draft","published","scheduled","archived"],"title":"Status","default":"draft"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"category_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Category Id"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"blocks":{"items":{"$ref":"#/components/schemas/BlogPostBlockCreate"},"type":"array","title":"Blocks"}},"type":"object","required":["title","slug"],"title":"BlogPostCreate"},"BlogPostRead":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"status":{"type":"string","enum":["draft","published","scheduled","archived"],"title":"Status"},"category":{"anyOf":[{"$ref":"#/components/schemas/BlogCategoryRead"},{"type":"null"}]},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"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"},"blocks":{"items":{"$ref":"#/components/schemas/BlogPostBlockRead"},"type":"array","title":"Blocks"}},"type":"object","required":["id","title","slug","status","excerpt","seo_title","seo_description","published_at","created_at","updated_at","blocks"],"title":"BlogPostRead"},"BlogPostUpdate":{"properties":{"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"status":{"type":"string","enum":["draft","published","scheduled","archived"],"title":"Status","default":"draft"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"category_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Category Id"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"blocks":{"items":{"$ref":"#/components/schemas/BlogPostBlockUpdate"},"type":"array","title":"Blocks"}},"type":"object","required":["title","slug"],"title":"BlogPostUpdate"},"Body_upload_media_api_v1_media_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"alt_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Text"},"namespace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Namespace"}},"type":"object","required":["file"],"title":"Body_upload_media_api_v1_media_post"},"ContactSubmission":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"message":{"type":"string","maxLength":5000,"minLength":1,"title":"Message"},"subject":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Subject"}},"type":"object","required":["name","email","message"],"title":"ContactSubmission"},"ContentRow":{"properties":{"source":{"type":"string","title":"Source"},"key":{"type":"string","title":"Key"},"views":{"type":"integer","title":"Views"}},"type":"object","required":["source","key","views"],"title":"ContentRow"},"ErrorDetail":{"properties":{"code":{"type":"string","title":"Code","description":"Stable, machine-readable snake_case key."},"message":{"type":"string","title":"Message","description":"Human-readable message, safe to display."},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details","description":"Structured business context for the error."},"fields":{"anyOf":[{"items":{"$ref":"#/components/schemas/ErrorField"},"type":"array"},{"type":"null"}],"title":"Fields","description":"Per-field validation problems (422 only)."}},"type":"object","required":["code","message"],"title":"ErrorDetail"},"ErrorField":{"properties":{"name":{"type":"string","title":"Name","description":"Dotted path into the request, e.g. 'body.slug'."},"message":{"type":"string","title":"Message"},"type":{"type":"string","title":"Type"}},"type":"object","required":["name","message","type"],"title":"ErrorField"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}},"type":"object","required":["error"],"title":"ErrorResponse"},"LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"totp_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Totp Code"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MediaAssetInfo":{"properties":{"storage_key":{"type":"string","title":"Storage Key"},"url":{"type":"string","title":"Url"},"content_type":{"type":"string","title":"Content Type"},"byte_size":{"type":"integer","title":"Byte Size"}},"type":"object","required":["storage_key","url","content_type","byte_size"],"title":"MediaAssetInfo"},"MediaAssetRead":{"properties":{"id":{"type":"integer","title":"Id"},"storage_key":{"type":"string","title":"Storage Key"},"namespace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Namespace"},"filename":{"type":"string","title":"Filename"},"content_type":{"type":"string","title":"Content Type"},"byte_size":{"type":"integer","title":"Byte Size"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"alt_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Text"},"url":{"type":"string","title":"Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","storage_key","namespace","filename","content_type","byte_size","width","height","alt_text","url","created_at","updated_at"],"title":"MediaAssetRead"},"MediaAssetUpdate":{"properties":{"alt_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Text"}},"type":"object","title":"MediaAssetUpdate"},"ModuleAdminSurfaceRead":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"path":{"type":"string","title":"Path"}},"type":"object","required":["key","label","path"],"title":"ModuleAdminSurfaceRead"},"ModuleCapabilityRead":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"description":{"type":"string","title":"Description"}},"type":"object","required":["key","label","description"],"title":"ModuleCapabilityRead"},"ModuleDependencyRead":{"properties":{"module":{"type":"string","title":"Module"},"optional":{"type":"boolean","title":"Optional"},"reason":{"type":"string","title":"Reason"},"satisfied":{"type":"boolean","title":"Satisfied"}},"type":"object","required":["module","optional","reason","satisfied"],"title":"ModuleDependencyRead"},"ModuleRead":{"properties":{"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"display_name":{"type":"string","title":"Display Name"},"description":{"type":"string","title":"Description"},"enabled":{"type":"boolean","title":"Enabled"},"api_routes":{"items":{"type":"string"},"type":"array","title":"Api Routes"},"content_types":{"items":{"type":"string"},"type":"array","title":"Content Types"},"capabilities":{"items":{"$ref":"#/components/schemas/ModuleCapabilityRead"},"type":"array","title":"Capabilities"},"admin_surfaces":{"items":{"$ref":"#/components/schemas/ModuleAdminSurfaceRead"},"type":"array","title":"Admin Surfaces"},"dependencies":{"items":{"$ref":"#/components/schemas/ModuleDependencyRead"},"type":"array","title":"Dependencies"}},"type":"object","required":["name","version","display_name","description","enabled","api_routes","content_types","capabilities","admin_surfaces","dependencies"],"title":"ModuleRead"},"ModuleUpdate":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"ModuleUpdate"},"PageCreate":{"properties":{"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"page_type":{"type":"string","enum":["standard","blog_index"],"title":"Page Type","default":"standard"},"status":{"type":"string","enum":["draft","published","scheduled","archived"],"title":"Status","default":"draft"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"sections":{"items":{"$ref":"#/components/schemas/PageSectionCreate"},"type":"array","title":"Sections"}},"type":"object","required":["title","slug"],"title":"PageCreate"},"PageRead":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"page_type":{"type":"string","enum":["standard","blog_index"],"title":"Page Type"},"status":{"type":"string","enum":["draft","published","scheduled","archived"],"title":"Status"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"sections":{"items":{"$ref":"#/components/schemas/PageSectionRead"},"type":"array","title":"Sections"}},"type":"object","required":["id","title","slug","page_type","status","published_at","seo_title","seo_description","created_at","updated_at","sections"],"title":"PageRead"},"PageSectionCreate":{"properties":{"type":{"type":"string","enum":["hero","text","quote","cta","faq","blog_teaser","image"],"title":"Type"},"sort_order":{"type":"integer","minimum":1.0,"title":"Sort Order"},"data":{"additionalProperties":true,"type":"object","title":"Data"}},"type":"object","required":["type","sort_order","data"],"title":"PageSectionCreate"},"PageSectionRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","enum":["hero","text","quote","cta","faq","blog_teaser","image"],"title":"Type"},"sort_order":{"type":"integer","title":"Sort Order"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","type","sort_order","data","created_at","updated_at"],"title":"PageSectionRead"},"PageSectionUpdate":{"properties":{"type":{"type":"string","enum":["hero","text","quote","cta","faq","blog_teaser","image"],"title":"Type"},"sort_order":{"type":"integer","minimum":1.0,"title":"Sort Order"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","sort_order","data"],"title":"PageSectionUpdate"},"PageUpdate":{"properties":{"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"page_type":{"type":"string","enum":["standard","blog_index"],"title":"Page Type","default":"standard"},"status":{"type":"string","enum":["draft","published","scheduled","archived"],"title":"Status","default":"draft"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"sections":{"items":{"$ref":"#/components/schemas/PageSectionUpdate"},"type":"array","title":"Sections"}},"type":"object","required":["title","slug"],"title":"PageUpdate"},"Paginated_BlogPostRead_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BlogPostRead"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Paginated[BlogPostRead]"},"Paginated_MediaAssetRead_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MediaAssetRead"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Paginated[MediaAssetRead]"},"Paginated_PageRead_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PageRead"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Paginated[PageRead]"},"Paginated_PodcastEpisodeListRead_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PodcastEpisodeListRead"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Paginated[PodcastEpisodeListRead]"},"Paginated_UserRead_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserRead"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Paginated[UserRead]"},"PasskeyLoginVerifyRequest":{"properties":{"handle":{"type":"string","title":"Handle"},"credential":{"additionalProperties":true,"type":"object","title":"Credential"}},"type":"object","required":["handle","credential"],"title":"PasskeyLoginVerifyRequest"},"PasskeyOptionsRead":{"properties":{"handle":{"type":"string","title":"Handle"},"options":{"additionalProperties":true,"type":"object","title":"Options"}},"type":"object","required":["handle","options"],"title":"PasskeyOptionsRead"},"PasskeyRead":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"transports":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transports"},"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"}},"type":"object","required":["id","name","transports","created_at","last_used_at"],"title":"PasskeyRead"},"PasskeyRegisterVerifyRequest":{"properties":{"handle":{"type":"string","title":"Handle"},"credential":{"additionalProperties":true,"type":"object","title":"Credential"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["handle","credential"],"title":"PasskeyRegisterVerifyRequest"},"PasswordChangeRequest":{"properties":{"current_password":{"type":"string","title":"Current Password"},"new_password":{"type":"string","minLength":8,"title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"PasswordChangeRequest"},"PodcastEpisodeCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"slug":{"type":"string","title":"Slug"},"description":{"type":"string","minLength":0,"title":"Description"},"episode_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode Number"},"season_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season Number"},"status":{"type":"string","enum":["draft","published","scheduled"],"title":"Status","default":"draft"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Duration Seconds"},"audio_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Audio Asset Id"},"image_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Asset Id"},"transcript":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transcript"}},"type":"object","required":["title","slug","description"],"title":"PodcastEpisodeCreate"},"PodcastEpisodeListRead":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"description":{"type":"string","title":"Description"},"episode_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode Number"},"season_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season Number"},"status":{"type":"string","enum":["draft","published","scheduled"],"title":"Status"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"audio_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Audio Asset Id"},"audio_asset":{"anyOf":[{"$ref":"#/components/schemas/MediaAssetInfo"},{"type":"null"}]},"image_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Asset Id"},"image_asset":{"anyOf":[{"$ref":"#/components/schemas/MediaAssetInfo"},{"type":"null"}]},"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","slug","description","episode_number","season_number","status","published_at","duration_seconds","audio_asset_id","image_asset_id","created_at","updated_at"],"title":"PodcastEpisodeListRead"},"PodcastEpisodeRead":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"description":{"type":"string","title":"Description"},"episode_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode Number"},"season_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season Number"},"status":{"type":"string","enum":["draft","published","scheduled"],"title":"Status"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"audio_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Audio Asset Id"},"audio_asset":{"anyOf":[{"$ref":"#/components/schemas/MediaAssetInfo"},{"type":"null"}]},"image_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Asset Id"},"image_asset":{"anyOf":[{"$ref":"#/components/schemas/MediaAssetInfo"},{"type":"null"}]},"transcript":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transcript"},"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","slug","description","episode_number","season_number","status","published_at","duration_seconds","audio_asset_id","image_asset_id","transcript","created_at","updated_at"],"title":"PodcastEpisodeRead"},"PodcastEpisodeUpdate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"slug":{"type":"string","title":"Slug"},"description":{"type":"string","minLength":0,"title":"Description"},"episode_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode Number"},"season_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season Number"},"status":{"type":"string","enum":["draft","published","scheduled"],"title":"Status","default":"draft"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Duration Seconds"},"audio_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Audio Asset Id"},"image_asset_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Asset Id"},"transcript":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transcript"}},"type":"object","required":["title","slug","description"],"title":"PodcastEpisodeUpdate"},"SetupRequest":{"properties":{"site_name":{"type":"string","maxLength":120,"minLength":1,"title":"Site Name"},"email":{"type":"string","title":"Email"},"password":{"type":"string","minLength":8,"title":"Password"}},"type":"object","required":["site_name","email","password"],"title":"SetupRequest"},"SetupStatusRead":{"properties":{"initialized":{"type":"boolean","title":"Initialized"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"}},"type":"object","required":["initialized"],"title":"SetupStatusRead"},"SystemRead":{"properties":{"version":{"type":"string","title":"Version"},"schema_revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Revision"},"installed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Installed At"},"upgrades":{"items":{"$ref":"#/components/schemas/UpgradeRead"},"type":"array","title":"Upgrades"}},"type":"object","required":["version","schema_revision","installed_at","upgrades"],"title":"SystemRead","description":"Installed-release info for the manual Update Manager (no discovery — ADR 0009)."},"TimeseriesDay":{"properties":{"day":{"type":"string","title":"Day"},"views":{"type":"integer","title":"Views"}},"type":"object","required":["day","views"],"title":"TimeseriesDay"},"TokenRead":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"expires_in":{"type":"integer","title":"Expires In","default":0}},"type":"object","required":["access_token"],"title":"TokenRead"},"UpgradeRead":{"properties":{"from_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Version"},"to_version":{"type":"string","title":"To Version"},"schema_revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Revision"},"git_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Git Sha"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["from_version","to_version","schema_revision","git_sha","created_at"],"title":"UpgradeRead"},"UserCreate":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","minLength":8,"title":"Password"},"is_admin":{"type":"boolean","title":"Is Admin","default":false}},"type":"object","required":["email","password"],"title":"UserCreate"},"UserRead":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"},"is_admin":{"type":"boolean","title":"Is Admin"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","email","is_admin","is_active","created_at"],"title":"UserRead"},"UserUpdate":{"properties":{"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"new_password":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"New Password"}},"type":"object","title":"UserUpdate"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"public-pages","description":"Published pages — no authentication required."},{"name":"public-blog","description":"Published blog posts — no authentication required."},{"name":"public-media","description":"Public media assets served by storage key — no authentication required."},{"name":"public-podcast","description":"Published podcast episodes and RSS 2.0 feed — no authentication required."},{"name":"contact","description":"Contact form submission — delivered via SMTP."},{"name":"auth","description":"Login, logout, token refresh and password change."},{"name":"passkeys","description":"WebAuthn / passkey registration and login."},{"name":"pages","description":"Admin: page and section management. Requires authentication."},{"name":"blog","description":"Admin: blog posts and categories. Requires authentication."},{"name":"media","description":"Admin: media asset upload and management. Requires authentication."},{"name":"podcast","description":"Admin: podcast episode and show settings. Requires authentication."},{"name":"analytics","description":"Admin: analytics query endpoints. Requires authentication."},{"name":"modules","description":"Admin: module registry — enable/disable/configure modules."},{"name":"users","description":"Admin: user management (CRUD, roles)."},{"name":"system","description":"System state, version info and upgrade history."},{"name":"health","description":"Health and readiness probes."},{"name":"setup","description":"First-run setup — locked once any admin user exists."},{"name":"page-section-types","description":"Available page section type definitions."}]}