Calendars

Operations related to calendars

Get calendars

get

Retrieve a paginated list of calendars with optional filtering

Autorizaciones
x-api-keystringRequerido
Parámetros de consulta
namestringOpcional

Filter calendars by name (partial match)

Example: My Calendar
isPrimarybooleanOpcional

Filter calendars by primary status

Example: true
readOnlybooleanOpcional

Filter calendars by read-only status

Example: false
pagestringOpcional

Page number for pagination

Example: 1
limitstringOpcional

Number of items per page

Example: 10
Respuestas
chevron-right
200

Calendars retrieved successfully

application/json
get
/api/v1/calendars

Create calendar

post

Create a new calendar

Autorizaciones
x-api-keystringRequerido
Cuerpo
namestringRequerido

Name of the calendar

Example: My Calendar
descriptionstringOpcional

Description of the calendar

Example: My personal calendar for work events
hexColorstringOpcional

Hex color code for the calendar

Example: #4285f4
hexForegroundColorstringOpcional

Hex foreground color code for the calendar

Example: #ffffff
isPrimarybooleanOpcional

Whether this is the primary calendar

Example: false
locationstringOpcional

Location associated with the calendar

Example: New York, NY
timezonestringOpcional

IANA time zone database formatted string

Example: America/New_York
readOnlybooleanOpcional

Whether the calendar is read-only

Example: false
metadataobjectOpcional

Additional metadata for the calendar

Example: {"customField":"value"}
Respuestas
post
/api/v1/calendars

Get calendar by ID

get

Retrieve a specific calendar by its ID

Autorizaciones
x-api-keystringRequerido
Parámetros de ruta
idstringRequerido

Calendar ID

Example: 5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Respuestas
chevron-right
200

Calendar retrieved successfully

application/json
get
/api/v1/calendars/{id}

Update calendar

put

Update an existing calendar

Autorizaciones
x-api-keystringRequerido
Parámetros de ruta
idstringRequerido

Calendar ID

Example: 5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Cuerpo
namestringOpcional

Name of the calendar

Example: My Updated Calendar
descriptionstringOpcional

Description of the calendar

Example: My updated personal calendar for work events
hexColorstringOpcional

Hex color code for the calendar

Example: #4285f4
hexForegroundColorstringOpcional

Hex foreground color code for the calendar

Example: #ffffff
isPrimarybooleanOpcional

Whether this is the primary calendar

Example: false
locationstringOpcional

Location associated with the calendar

Example: New York, NY
timezonestringOpcional

IANA time zone database formatted string

Example: America/New_York
readOnlybooleanOpcional

Whether the calendar is read-only

Example: false
metadataobjectOpcional

Additional metadata for the calendar

Example: {"customField":"value"}
Respuestas
chevron-right
200

Calendar updated successfully

application/json
put
/api/v1/calendars/{id}

Delete calendar

delete

Delete a calendar by its ID

Autorizaciones
x-api-keystringRequerido
Parámetros de ruta
idstringRequerido

Calendar ID

Example: 5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Respuestas
chevron-right
200

Calendar deleted successfully

application/json
delete
/api/v1/calendars/{id}

Última actualización

¿Te fue útil?