Tags
Create Tag
Create a new tag.
Required Fields:
- name: Tag name
- slug: URL slug (must be unique within the blog)
Response Codes:
- 201: Tag created successfully
- 409: Slug already exists
post/tags
Request
- Base URLhttps://inblog.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"jsonapi": {
"version": "1.0"
},
"data": {
"attributes": {
"name": "React",
"slug": "react"
}
}
}Response
Tag created successfully
Example response
{
"jsonapi": {
"version": "1.0"
},
"data": {
"type": "tags",
"attributes": {
"name": "JavaScript",
"slug": "javascript"
}
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.