Update a topic
PUT/t/-/:id.json
Update a topic
Request
Path Parameters
id stringrequired
Header Parameters
Api-Key stringrequired
Api-Username stringrequired
- application/json
Body
topic object
title stringrequired
category_id integerrequired
Responses
- 200
topic updated
- application/json
- Schema
- Example (from schema)
Schema
basic_topic object
id integerrequired
title stringrequired
fancy_title stringrequired
slug stringrequired
posts_count integerrequired
{
"basic_topic": {
"id": 0,
"title": "string",
"fancy_title": "string",
"slug": "string",
"posts_count": 0
}
}
Loading...