Open petterroea opened 9 months ago
https://github.com/phoenixlan/phoenixapi-v1/issues/43 changes how events work, introducing event types. When this issue is done, we need to add some new api endpoints so we can administer the new system.
Suggested endpoints:
GET /event_type/:uuid
GET /event_type
POST /event_type
https://github.com/phoenixlan/phoenixapi-v1/issues/43 changes how events work, introducing event types. When this issue is done, we need to add some new api endpoints so we can administer the new system.
Suggested endpoints:
GET /event_type/:uuid
- returns an event type (and all events associated with it). Open for all.GET /event_type
- returns all event types(and associated events). Open for allPOST /event_type
- allows you to create a new event type. Only for admins.