Write many event types at once
Write many event types at once Upserts event types keyed by slug, the key that pages and events reference, and deletes the named slugs, all in one …
Write many event types at once Upserts event types keyed by slug, the key that pages and events reference, and deletes the named slugs, all in one …
Write many events at once Applies a batch of event changes in one request, mirroring the pages batch. Everything lands or nothing does. POST …
Create an event Create one event. The response is a 201 with the new event’s URI in Location. POST …
Create an event type Create one event type. The response is a 201 with the new type’s URI in Location. POST …
Delete an event Delete one event. For bulk deletes, prefer deleteIds on the events batch. DELETE …
Delete an event type Delete one event type by its slug. Its events stay published and stop being categorized under it. The slug is also removed from …
List event types List a site’s event types, sorted by their display order. GET https://sitepaste.com/api/v1/public/sites/{siteId}/event-types …
List events List a site’s events. Unlike the schedule the published site shows, this returns hidden events too, and returns past events as well …
Read an event Read one event by ID. Hidden events are served here too, unlike on the published site. GET …
Read an event type Read one event type by the slug that pages and events reference it with. GET …
Reorder event types Set the display order of event types from the given slug order. The order carries through to the published site. PATCH …
Update an event Update a single event. Absent fields keep their stored values. PATCH …
Update an event type Update a single event type. Absent fields keep their stored values, including name, which the batch upsert requires but this does …