{"openapi":"3.1.0","info":{"title":"GET /api/v1/public/blog/posts","version":"1.0.0","description":"List published blog posts"},"servers":[{"url":"https://api.ondayzero.com","description":"Production"}],"paths":{"/api/v1/public/blog/posts":{"get":{"tags":["blog-public"],"summary":"List published blog posts","description":"Public, unauthenticated, cached list of published marketing blog posts (newest first). Excerpts only — fetch the slug endpoint for the full body.","operationId":"list_public_posts_api_v1_public_blog_posts_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor.","title":"Cursor"},"description":"Opaque pagination cursor."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"description":"Filter to posts whose tags include this value. Lowercase-hyphenated to match the storage format.","title":"Tag"},"description":"Filter to posts whose tags include this value. Lowercase-hyphenated to match the storage format."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostPublicListResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BlogPostPublicListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BlogPostPublicSummary"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total","default":0},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_next":{"type":"boolean","title":"Has Next","default":false}},"type":"object","title":"BlogPostPublicListResponse","description":"Paginated list of published posts for the public API."},"BlogPostPublicSummary":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"cover_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Url"},"cover_image_alt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Alt"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"author_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Name"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["slug","title","published_at"],"title":"BlogPostPublicSummary","description":"Card-sized view used on /blog and in API list responses."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"API token authentication. Format: `Bearer dz_...`"}}},"security":[{"BearerAuth":[]}]}