ReferenceHTTP API
calendarSource
The calendarSource router: 2 methods of the calendar-source capability, with tier, scope, input and output.
Capability calendar-source · scope system · mode collection · source packages/types/src/capabilities/calendar-source.cap.ts:65.
Every method is called at /trpc/calendarSource.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
listCalendars | query | admin | admin only | no |
listEvents | query | admin | admin only | no |
calendarSource.listCalendars
- Kind: query —
GET /trpc/calendarSource.listCalendars - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=calendarSource.listCalendarson your hub
Input
voidOutput
CalendarInfoSchema[]Shapes: CalendarInfoSchema
calendarSource.listEvents
- Kind: query —
GET /trpc/calendarSource.listEvents - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=calendarSource.listEventson your hub
Input
CalendarListEventsInputSchemaOutput
CalendarEventSchema[]