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

MethodKindTierToken scopeViewer
listCalendarsqueryadminadmin onlyno
listEventsqueryadminadmin onlyno

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.listCalendars on your hub

Input

void

Output

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.listEvents on your hub

Input

CalendarListEventsInputSchema

Output

CalendarEventSchema[]

Shapes: CalendarListEventsInputSchema · CalendarEventSchema