Get what one time of an event did
/api/calendar/events/{id}/resultsOne time an event ran, named by its start (at, as the calendar gives it): the instance it ran in, with the most at once and how long it ran as the instance popup has them; how many joined the group and how many asked to, from when the event opened until a day after it ended; and the middle value of each of those over the event's last earlier times.
The instance is the one Modbot opened for that time. When Modbot opened none, it is the group's instance in the event's world that was open for most of the event.
Who a moderator's client saw there (occurrence.seen and people) needs ViewAuditLog as well, as in the instance popup; without it canSeeWhoWasThere is false and both are empty. They exist only while a moderator's client was in the instance. 404 when the event has not run at that time.
Needs the ViewAnalytics and ViewCalendar permissions.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidQuery Parameters
date-timeResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/calendar/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/results"{ "occurrence": { "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c", "title": "string", "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "instance": null, "openedByModbot": true, "newMembers": 0, "joinRequests": 0, "seen": null }, "people": [ { "userId": "string", "displayName": null, "minutesSeen": 0.1, "arrivals": 0, "firstSeenAt": "2019-08-24T14:15:22Z", "lastSeenAt": "2019-08-24T14:15:22Z" } ], "usual": null, "canSeeWhoWasThere": true, "now": "2019-08-24T14:15:22Z"}Get public calendar feed file GET
The public calendar feed as iCalendar. No sign-in and no secret; 404 while it is off. Holds the events visible to everyone that are scheduled or open, and finished and cancelled ones for 30 days after. A join link only for an event anyone can join. Send If-None-Match with the ETag to get 304 when it has not changed.
List past events GET
Every time an event ran over the last `days` days (90 unless asked), the most at once first, at most 50. Each carries the same figures as one event's results, without who was seen. Needs the `ViewAnalytics` and `ViewCalendar` permissions.