Create Blog Category
Powered by VitePress OpenAPI
Create a blog category.
Auth: session + admin.
Parameters
None.
Request Body
json
{
"name": "Engineering",
"slug": "engineering"
}Response 200
json
{
"data": { "id": "cat_2", "name": "Engineering", "slug": "engineering" },
"user_context": { "authenticated": true, "user_type": "admin" },
"meta": {}
}Response Errors
400invalid category payload401missing session403missing admin role
Notes
- Use this to add new taxonomy groups.
- Category names should be unique and human-friendly.