Dominevo
ReferenceHTTP API

calendars

The calendars router: 4 methods of the calendars capability, with tier, scope, input and output.

Capability calendars · scope system · mode singleton · source packages/types/src/capabilities/calendars.cap.ts:71.

Every method is called at /trpc/calendars.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
listCalendarsqueryadminadmin onlyno
listEventsqueryadminadmin onlyno
getPreferencesqueryadminadmin onlyno
setCalendarPreferencemutationadminadmin onlyno

calendars.listCalendars

  • Kind: query — GET /trpc/calendars.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=calendars.listCalendars on your hub

Input

void

Output

CalendarEntrySchema[]

Shapes: CalendarEntrySchema

calendars.listEvents

  • Kind: query — GET /trpc/calendars.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=calendars.listEvents on your hub

Input

CalendarListEventsInputSchema

Output

CalendarEventSchema[]

Shapes: CalendarListEventsInputSchema · CalendarEventSchema

calendars.getPreferences

  • Kind: query — GET /trpc/calendars.getPreferences
  • 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=calendars.getPreferences on your hub

Input

{}

Output

CalendarPreferencesSchema

Shapes: CalendarPreferencesSchema

calendars.setCalendarPreference

  • Kind: mutation — POST /trpc/calendars.setCalendarPreference
  • 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=calendars.setCalendarPreference on your hub

Input

CalendarSetPreferenceInputSchema

Output

CalendarPreferencesSchema

Shapes: CalendarSetPreferenceInputSchema · CalendarPreferencesSchema