Modbot Docs
APIAPI referenceCalendar

Get what one time of an event did

GET/api/calendar/events/{id}/results

One 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.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Path Parameters

id*string
Formatuuid

Query Parameters

at?string
Formatdate-time

Response 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"}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.