cal.pub0.org/pages/api
Alex van Andel dee0f6a415
Remove GET /availabilities (#188)
Follows-up on earlier discussions about the relationships of
/availabilities and /schedules.

`GET /schedules/:id` returns a schedule with associated availabilities
in the `availabilities` property. It gives more context and less
consumer work to perform GET actions using this endpoint. Other
endpoints of this collection do make sense.

Proposing also to rename the /availabilities collection to
/availability; given after this it always involves one and only one
/availability record in CRUD.
2022-10-21 00:58:20 +01:00
..
attendees Fixes permission errors 2022-10-14 17:41:28 -06:00
availabilities Remove GET /availabilities (#188) 2022-10-21 00:58:20 +01:00
availability Fixes permission errors 2022-10-14 17:41:28 -06:00
booking-references Fixes permission errors 2022-10-14 17:41:28 -06:00
bookings Using abstracted booking cancellation (#191) 2022-10-21 00:49:57 +01:00
custom-inputs Fixes permission errors 2022-10-14 17:41:28 -06:00
destination-calendars feat: dynamic prisma 2022-06-06 18:17:10 +02:00
event-types Fixes permission errors 2022-10-14 17:41:28 -06:00
me Me cleanup 2022-10-10 18:02:36 -06:00
memberships feat: dynamic prisma 2022-06-06 18:17:10 +02:00
payments feat: dynamic prisma 2022-06-06 18:17:10 +02:00
schedules Fixes permission errors 2022-10-14 17:41:28 -06:00
selected-calendars Selected Calendars endpoints refactor (#193) 2022-10-20 11:35:02 -06:00
teams Permission fixes 2022-10-11 14:09:22 -06:00
users Changed req to query to allow passing in userId, not session (#197) 2022-10-20 18:27:01 +01:00
webhooks Refactor/webhooks (#186) 2022-10-19 12:26:12 -06:00
docs.ts Remove GET /availabilities (#188) 2022-10-21 00:58:20 +01:00
index.ts Update index.ts 2022-09-24 13:23:10 +00:00