Calendarset API

The CalendarSet is a set of calendars. Useful when a group has many calendars and some of them do share the same topics.

For example, a «Face beauty» CalendarSet can be created, with inside it the calendars of people doing these kind of services.

The calendarsets are optional. A group can have several calendarsets, and the calendars can belong to one of the calendarsets or to none of them.

Create a calendarset

POST /api/v1/groups/:group_id/calendarsets?apikey=xxxxxx
{
   "calendarset": {
      "group_id": 4,
      "name": "Calendarset de test"
   }
}

Retrieve all the calendarsets for a group

GET /api/v1/groups/:group_id/calendarsets

Update a calendarset

PUT /api/v1/groups/:group_id/calendarsets/:calendarset_id?apikey=xxxxxx
{
   "calendarset": {
      "publicname": "Calendarset available on Internet"
   }
}

Delete a calendarset

DELETE /api/v1/groups/:group_id/calendarsets/:calendarset_id

Retrieve all interventionsets for a calendarset

GET /api/v1/groups/:group_id/calendarsets/:calendarset_id/interventionsets

Retrieve all interventions for a calendarset

GET /api/v1/groups/:group_id/calendarsets/:calendarset_id/interventions