forked from andyburke/autonomous.contact
refactor: zones => topics
This commit is contained in:
parent
20a5d1bc88
commit
fac8f409f4
26 changed files with 470 additions and 469 deletions
23
public/api/topics/:topic_id/README.md
Normal file
23
public/api/topics/:topic_id/README.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# /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`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue