Exports a calendar specified by id into iCal formated file, with one of conditions: The calendar is public, OR the authenticated user is the owner of the calendar, OR the user belongs to the group of the calendar, OR the calendar has been shared with the user or with a group of the user.
URL:
http://{domain_name}/{rest_context_name}/private/v1/calendar/calendars/{id}/ics
Supported Format: text/calendar
Parameters:
Required (path parameters):
Parameter | Description |
---|---|
id | Identity of the exported calendar. |
Optional (query parameters): No
Request example:
GET: http://localhost:8080/rest/private/v1/calendar/calendars/demo-defaultCalendarId/ics
Response:
ICS file on success, or HTTP status code 404 on failure.