Set RSVP
Event Endpoints
Set RSVP
Set or change the caller’s RSVP to an event
POST
Set RSVP
Sets or changes the caller’s RSVP. A new RSVP is created, or an existing one is switched, and the event’s
See also: useSetRsvp
rsvpCounts are updated atomically. Requires authentication, and the caller must be able to see the event (otherwise 404).
Transitions into going are capacity-checked under a row-level lock, so an event can never be oversold.
Rules:
- RSVPs close at
startTime. - A
cancelledevent rejects RSVPs. "maybe"is rejected when the event’sallowMaybeisfalse."going"(new or switched into) is rejected whenrsvpCounts.goinghas reachedcapacity.
Path Parameters
UUID of the event.
Body Parameters
"going", "maybe", or "not_going".Service/master key only. RSVP on behalf of this user.
Response
Returns the Event with refreshedrsvpCounts and the caller’s userRsvp.
Error Responses
Not Found / No Access — 404
Not Found / No Access — 404
Event Cancelled — 409
Event Cancelled — 409
RSVPs Closed — 409
RSVPs Closed — 409
Maybe Disabled — 409
Maybe Disabled — 409
At Capacity — 409
At Capacity — 409

