-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: v2 slots new version #18758
base: main
Are you sure you want to change the base?
feat: v2 slots new version #18758
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
Converting to draft because have 1 more thing to do - slots endpoint should also return information in case of seated events of how many attendees are at that slot already. So might need to change output format but thats easy. |
Resolved - slots for seated bookings now also return attendees count and booking uid |
Hello, I’d like to emphasize an important point. Alongside the default "reserve slot" behavior, which reserves a slot for 5 minutes, we need the flexibility to define how far into the future a slot can be reserved. For instance, instead of the default 5-minute duration, we should be able to reserve a slot for an extended period—up to 1000 years, if needed—effectively keeping the slot reserved indefinitely until we trigger a "Delete a selected slot" API or complete a booking. This functionality would be particularly useful when building on top of Cal.com using its platform API, such as when creating predefined classes. |
If possible, it would be great to include the ability to return reserved slots along with their slot ID and datetime. This would be especially beneficial for managing predefined timed classes or events across various platforms. |
Thanks for the input and it's a great idea! Luckily, this is implemented in this PR. Here is an example POST request made to
|
The response of reserving a slot can be viewed here: reserve-slot.output.ts Slots don't have IDs per se, but reservations do, so response contains UID of the reservation and the |
Linear CAL-5052