Hi dev team - why is `offering seats: boolean` not...
# developers
y
Hi dev team - why is
offering seats: boolean
not available in https://developer.cal.com/api/api-reference/event-types#create-a-new-event-type - thanks!
Hi @Joe Au-Yeung do you have any insight on the above? Thanks!
j
@Yoel Lapscher this should be an option in the create event type call. I'll add it to the list. Thanks for pointing this out.
y
Ok thanks Joe
Hi @Joe Au-Yeung I still don’t see seats in https://developer.cal.com/api/api-reference/event-types#create-a-new-event-type. Do you have a PR with this fix? Thx
j
Hey @Yoel Lapscher, wanted to follow up that
seatsPerTimeSlot
and
seatsShowAttendees
are now added to event type endpoints.
y
@Joe Au-Yeung I don’t see it on the docs yet. May take some time to propagate
@Joe Au-Yeung can you please check why I don’t see the variables you listed in the Create New Event Type endpoint? Thanks.
@Joe Au-Yeung I still don’t see these variables in the create event API endpoint. @Peer @Shiraz Dole can you please advise? Thanks!
p
@Joe Au-Yeung will reply tomorrow and @Ali can improve docs if needed
y
Ok, thanks!
Hi @Joe Au-Yeung - any updates? I really need this for my app to work… thanks!
j
Hi @Yoel Lapscher, thanks for your patience. Have you pulled recently from the
main
branch of the API? I see that the variables are there. I know the docs are currently still in the works of being updated right now.
They should be a part of the event type create schema on
apps/api/lib/validations/event-type.ts
line 60 - 61
y
Have not pulled yet - was waiting for the docs to be updated first. I’ll take a look - thanks!
also a new release with a lot of fixes
y
@Peer will both the code and docs be updated with this release?
p
no the docs are independed
y
Ok I’ll standby for an update from @Ali. Documentation is important for us, specially during the architecture design phase. Thanks!
a
@Yoel Lapscher The docs will be updated in the next couple of days. I'm taking a buffer time as the docs would be updated using OpenAPI3 standard (we use swagger in the API repo). Thanks for your patience. 🙏
y
Great, thanks for the update, Ali!
Hi @Ali hope you’re doing well. It’s been almost a month and I don’t see the docs including the seats field. Please let me know your ETA - thanks!
a
Hey @Yoel Lapscher Apologies for the delay. The PR is currently in review. It should be merged and reflected in the docs soon after
y
Thanks for the quick reply, Ali. Looking forward to it
Good morning @Ali ☀️ it’s been a few months and I still don’t see a field name for ‘seats’ in the schema of https://cal.com/docs/enterprise-features/api/api-reference/event-types#create-a-new-event-type. Am I missing something from the PR you mentioned in Feb? Thanks! FYI @Shiraz Dole
s
Hi Joe — the entire Cal.com team is heading for a team off site for the next week so responses and updates will be slower than usual 🙏🏽 Seats in particular is a bit of a beta feature and there are some underlying fixes we are still making delaying improvements to be made here. Thank you for the patience!
y
Thanks for the quick reply! Enjoy the offsite 🌳