List calendars
Changed onViewSet for managing calendars.
Request
- The document declares no server URL.
- Auth: one of:
- HTTP bearer
- API key in cookie sessionid
Query parameters
Filter by calendar type (e.g. resource)
- personal - Personal Calendar
- resource - Resource Calendar
- virtual - Virtual Calendar
- bundle - Bundle Calendar
When true, include inactive (soft-deleted) calendars (visibility=inactive). Defaults to false.
When true, include unlisted calendars (visibility=unlisted) in the response. Unlisted calendars are hidden from booking queries but still synced. Defaults to false.
Number of results to return per page.
The initial index from which to return the results.
Scope the listing to a calendar owner. Pass 'me' to return only the authenticated user's own calendars. Pass a numeric user id to return that user's calendars — allowed for organization admins only; non-admins receive 403. When omitted, admins see all organization calendars while non-admins are restricted to their own.
Filter by provider (internal = manual, others = synced)
- internal - Internal Calendar
- google - Google Calendar
- microsoft - Microsoft Outlook Calendar
- apple - Apple Calendar
- ics - ICS
Filter by whether provider sync is enabled
Headers
Selects the active organization for this request. Optional for callers that belong to exactly one active organization — the single membership is resolved implicitly. Required when the caller has two or more active memberships; omitting it in that case returns 400. If the header names an organization the caller is not an active member of, the server returns 403.
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}Changes
- ○
added the new optional
queryrequest parameterowner
- ○
- ▲
the response property
//became optional for the status - ○
added the new optional
queryrequest parametercalendar_type - ○
added the new optional
queryrequest parameterprovider - ○
added the new optional
queryrequest parametersync_enabled - ○
the response required property
//became not read-only for the status
- ▲