forked from andyburke/autonomous.contact
refactor: events to a pure stream instead of being part of topics
NOTE: tests are passing, but the client is broken
This commit is contained in:
parent
c34069066d
commit
a5707e2f81
31 changed files with 934 additions and 686 deletions
15
public/api/events/README.md
Normal file
15
public/api/events/README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# /api/topics/:topic_id/events
|
||||
|
||||
Interact with a events for a topic.
|
||||
|
||||
## GET /api/topics/:topic_id/events
|
||||
|
||||
Get events for the given topic.
|
||||
|
||||
## PUT /api/topics/:topic_id/events/:event_id
|
||||
|
||||
Update an event.
|
||||
|
||||
## DELETE /api/topics/:topic_id/events/:event_id
|
||||
|
||||
Delete an event.
|
||||
Loading…
Add table
Add a link
Reference in a new issue