Description
We currently have no way of assigning a poster to an event. The events will live on this web server for now, but may change later (no need to worry about this).
Features
Database schemas
See #156 (comment)
Event Endpoints
I think most of the endpoints are fine for event_info, but GET /events should also include the image_url of the event.
I would add some way to perform CRUD operations on a group of events.
- POST /event/group
Creates one or more events under the same group key.
Body: Array of EventCreate
Response:
{
"group_id": string;
"events": Event[]
}
- PATCH /event/group/{group_id}
Updates one more more events under the same group.
{
"group_id": string;
"events": Event[]
}
- DELETE /event/group/{group_id}
Updates one more more events under the same group. Responses should follow the same patterns as before.
Description
We currently have no way of assigning a poster to an event. The events will live on this web server for now, but may change later (no need to worry about this).
Features
Database schemas
See #156 (comment)
Event Endpoints
I think most of the endpoints are fine for
event_info, but GET /events should also include theimage_urlof the event.I would add some way to perform CRUD operations on a group of events.
Creates one or more events under the same group key.
Body: Array of
EventCreateResponse:
Updates one more more events under the same group.
Updates one more more events under the same group. Responses should follow the same patterns as before.