Get Blog Stats
Powered by VitePress OpenAPI
Read aggregated stats for a blog post.
Auth: optional.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Post id |
Request Body
None.
Response 200
json
{
"data": {
"post_id": "post_2",
"views": 120,
"comments": 8,
"reactions": 15
},
"user_context": { "authenticated": false },
"meta": {}
}Response Errors
404post not found
Notes
- Good for dashboards and admin analytics.
- Can be cached if the backend exposes stale-friendly stats.