23 lines
314 B
Markdown
23 lines
314 B
Markdown
# /api/topics/:topic_id
|
|
|
|
Interact with a specific topic.
|
|
|
|
## GET /api/topics/:topic_id
|
|
|
|
Get the topic specified by `:topic_id`.
|
|
|
|
## PUT /api/topics/:topic_id
|
|
|
|
Update the topics specified by `:topic_id`.
|
|
|
|
Eg:
|
|
|
|
```
|
|
{
|
|
name?: string;
|
|
}
|
|
```
|
|
|
|
## DELETE /api/topics/:topic_id
|
|
|
|
Delete the topic specified by `:topic_id`.
|