Publish Blog Post
Powered by VitePress OpenAPI
Publish a draft blog post.
Auth: session + owner/admin.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Post id |
Request Body
Optional.
json
{}Response 200
json
{
"data": { "id": "post_2", "status": "published" },
"user_context": { "authenticated": true },
"meta": {}
}Response Errors
401missing session403not owner/admin404post not found
Notes
- Moves a draft to live content.
- Usually called after review or editorial approval.