{"openapi":"3.0.0","info":{"description":"Calendar service","version":[{"name":"v3","value":"v3"}]},"servers":[{"description":"Calendar service","url":"https://api.apirails.com/googlecalendar"}],"paths":{"/calendar/v3/calendars/{calendarId}/acl/{ruleId}":{"put":{"tags":["ACL"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"ruleId","in":"path","description":"ACL rule identifier","required":true,"schema":{"type":"string","example":""}},{"name":"sendNotifications","in":"query","description":"Whether to send notifications about the calendar sharing change","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/acl/update","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/acl/{ruleId}"},"summary":"Updates an access control rule.","description":"Updates an access control rule.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["ACL"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"ruleId","in":"path","description":"ACL rule identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/acl/delete","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/acl/{ruleId}"},"summary":"Deletes an access control rule.","description":"Deletes an access control rule.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"patch":{"tags":["ACL"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"ruleId","in":"path","description":"ACL rule identifier","required":true,"schema":{"type":"string","example":""}},{"name":"sendNotifications","in":"query","description":"Whether to send notifications about the calendar sharing change","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/acl/update","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/acl/{ruleId}"},"summary":"Updates an access control rule.","description":"Updates an access control rule.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"get":{"tags":["ACL"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"ruleId","in":"path","description":"ACL rule identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/acl/get","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/acl/{ruleId}"},"summary":"Returns an access control rule.","description":"Returns an access control rule.","security":[{"bearerAuth":[]}]}},"/calendar/v3/calendars/{calendarId}/acl":{"get":{"tags":["ACL"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"maxResults","in":"query","description":"Maximum number of entries returned on one result page","schema":{"type":"integer","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"showDeleted","in":"query","description":"Whether to include deleted ACLs in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/acl/get","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/acl"},"summary":"Returns the rules in the access control list for the calendar.","description":"Returns the rules in the access control list for the calendar.","security":[{"bearerAuth":[]}]},"post":{"tags":["ACL"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"sendNotifications","in":"query","description":"Whether to send notifications about the calendar sharing change","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/acl/insert","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/acl"},"summary":"Creates an access control rule.","description":"Creates an access control rule.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars/{calendarId}/acl/watch":{"post":{"tags":["ACL"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"maxResults","in":"query","description":"Maximum number of entries returned on one result page","schema":{"type":"integer","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"showDeleted","in":"query","description":"Whether to include deleted ACLs in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/acl/watch","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/acl/watch"},"summary":"Watch for changes to ACL resources.","description":"Watch for changes to ACL resources.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/users/me/calendarList":{"post":{"tags":["Calendar List"],"parameters":[{"name":"colorRgbFormat","in":"query","description":"Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB)","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/insert","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/calendarList"},"summary":"Inserts an existing calendar into the user's calendar list.","description":"Inserts an existing calendar into the user's calendar list.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"get":{"tags":["Calendar List"],"parameters":[{"name":"maxResults","in":"query","description":"Maximum number of entries returned on one result page","schema":{"type":"integer","example":""}},{"name":"minAccessRole","in":"query","description":"The minimum access role for the user in the returned entries","schema":{"type":"string","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"showDeleted","in":"query","description":"Whether to include deleted calendar list entries in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"showHidden","in":"query","description":"Whether to show hidden entries","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/list","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/calendarList"},"summary":"Returns the calendars on the user's calendar list.","description":"Returns the calendars on the user's calendar list.","security":[{"bearerAuth":[]}]}},"/calendar/v3/users/me/calendarList/{calendarId}":{"patch":{"tags":["Calendar List"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"colorRgbFormat","in":"query","description":"Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB)","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/patch","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/calendarList/{calendarId}"},"summary":"Updates an existing calendar on the user's calendar list.","description":"Updates an existing calendar on the user's calendar list.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"put":{"tags":["Calendar List"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"colorRgbFormat","in":"query","description":"Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB)","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/patch","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/calendarList/{calendarId}"},"summary":"Updates an existing calendar on the user's calendar list.","description":"Updates an existing calendar on the user's calendar list.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["Calendar List"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/delete","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/calendarList/{calendarId}"},"summary":"Removes a calendar from the user's calendar list.","description":"Removes a calendar from the user's calendar list.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"get":{"tags":["Calendar List"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/calendarList/{calendarId}"},"summary":"Returns a calendar from the user's calendar list.","description":"Returns a calendar from the user's calendar list.","security":[{"bearerAuth":[]}]}},"/calendar/v3/users/me/calendarList/watch":{"post":{"tags":["Calendar List"],"parameters":[{"name":"maxResults","in":"query","description":"Maximum number of entries returned on one result page","schema":{"type":"integer","example":""}},{"name":"minAccessRole","in":"query","description":"The minimum access role for the user in the returned entries","schema":{"type":"string","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"showDeleted","in":"query","description":"Whether to include deleted calendar list entries in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"showHidden","in":"query","description":"Whether to show hidden entries","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/watch","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/calendarList/watch"},"summary":"Watch for changes to CalendarList resources.","description":"Watch for changes to CalendarList resources.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars/{calendarId}":{"patch":{"tags":["Calendars"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/calendars/patch","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}"},"summary":"Updates metadata for a calendar.","description":"Updates metadata for a calendar.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["Calendars"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/calendars/delete","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}"},"summary":"Deletes a secondary calendar.","description":"Deletes a secondary calendar.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"get":{"tags":["Calendars"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/calendars/get","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}"},"summary":"Returns metadata for a calendar.","description":"Returns metadata for a calendar.","security":[{"bearerAuth":[]}]},"put":{"tags":["Calendars"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/calendars/update","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}"},"summary":"Updates metadata for a calendar.","description":"Updates metadata for a calendar.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars":{"post":{"tags":["Calendars"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/calendars/insert","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars"},"summary":"Creates a secondary calendar.","description":"Creates a secondary calendar.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/channels/stop":{"post":{"tags":["Channels"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/channels/stop","api_endpoint":"https://www.googleapis.com/calendar/v3/channels/stop"},"summary":"Stop watching resources through this channel.","description":"Stop watching resources through this channel.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/colors":{"get":{"tags":["Colors"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/colors/get","api_endpoint":"https://www.googleapis.com/calendar/v3/colors"},"summary":"Returns the color definitions for calendars and events.","description":"Returns the color definitions for calendars and events.","security":[{"bearerAuth":[]}]}},"/calendar/v3/calendars/{calendarId}/events/{eventId}":{"put":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"eventId","in":"path","description":"Event identifier","required":true,"schema":{"type":"string","example":""}},{"name":"alwaysIncludeEmail","in":"query","description":"Deprecated and ignored","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"conferenceDataVersion","in":"query","description":"Version number of conference data supported by the API client","schema":{"type":"integer","example":""}},{"name":"etc","in":"query","schema":{"type":"","example":""}},{"name":"maxAttendees","in":"query","description":"The maximum number of attendees to include in the response","schema":{"type":"integer","example":""}},{"name":"sendNotifications","in":"query","description":"Deprecated","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"sendUpdates","in":"query","description":"Guests who should receive notifications about the event update (for example title changes","schema":{"type":"string","example":""}},{"name":"supportsAttachments","in":"query","description":"Whether API client performing operation supports event attachments","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/update","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/{eventId}"},"summary":"Updates an event.","description":"Updates an event.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"eventId","in":"path","description":"Event identifier","required":true,"schema":{"type":"string","example":""}},{"name":"sendNotifications","in":"query","description":"Deprecated","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"sendUpdates","in":"query","description":"Guests who should receive notifications about the deletion of the event","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/delete","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/{eventId}"},"summary":"Deletes an event.","description":"Deletes an event.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"patch":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"eventId","in":"path","description":"Event identifier","required":true,"schema":{"type":"string","example":""}},{"name":"alwaysIncludeEmail","in":"query","description":"Deprecated and ignored","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"conferenceDataVersion","in":"query","description":"Version number of conference data supported by the API client","schema":{"type":"integer","example":""}},{"name":"etc","in":"query","schema":{"type":"","example":""}},{"name":"maxAttendees","in":"query","description":"The maximum number of attendees to include in the response","schema":{"type":"integer","example":""}},{"name":"sendNotifications","in":"query","description":"Deprecated","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"sendUpdates","in":"query","description":"Guests who should receive notifications about the event update (for example title changes","schema":{"type":"string","example":""}},{"name":"supportsAttachments","in":"query","description":"Whether API client performing operation supports event attachments","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/update","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/{eventId}"},"summary":"Updates an event.","description":"Updates an event.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"get":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"eventId","in":"path","description":"Event identifier","required":true,"schema":{"type":"string","example":""}},{"name":"alwaysIncludeEmail","in":"query","description":"Deprecated and ignored","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"maxAttendees","in":"query","description":"The maximum number of attendees to include in the response","schema":{"type":"integer","example":""}},{"name":"timeZone","in":"query","description":"Time zone used in the response","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/get","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/{eventId}"},"summary":"Returns an event based on its Google Calendar ID.","description":"Returns an event based on its Google Calendar ID.","security":[{"bearerAuth":[]}]}},"/calendar/v3/calendars/{calendarId}/events":{"get":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"alwaysIncludeEmail","in":"query","description":"Deprecated and ignored","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"attendee's displayName","in":"query","schema":{"type":"","example":""}},{"name":"attendee's email","in":"query","schema":{"type":"","example":""}},{"name":"eventTypes","in":"query","description":"Event types to return","schema":{"type":"string","example":""}},{"name":"iCalUID","in":"query","description":"Specifies an event ID in the iCalendar format to be provided in the response","schema":{"type":"string","example":""}},{"name":"location","in":"query","schema":{"type":"","example":""}},{"name":"maxAttendees","in":"query","description":"The maximum number of attendees to include in the response","schema":{"type":"integer","example":""}},{"name":"maxResults","in":"query","description":"Maximum number of events returned on one result page","schema":{"type":"integer","example":""}},{"name":"orderBy","in":"query","description":"The order of the events returned in the result","schema":{"type":"string","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"privateExtendedProperty","in":"query","description":"Extended properties constraint specified as propertyName=value","schema":{"type":"string","example":""}},{"name":"q","in":"query","description":"Free text search terms to find events that match these terms in the following fields","schema":{"type":"string","example":"","items":{"type":"string","enum":["summary description"]}}},{"name":"sharedExtendedProperty","in":"query","description":"Extended properties constraint specified as propertyName=value","schema":{"type":"string","example":""}},{"name":"showDeleted","in":"query","description":"Whether to include deleted events (with status equals \"cancelled\") in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"showHiddenInvitations","in":"query","description":"Whether to include hidden invitations in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"singleEvents","in":"query","description":"Whether to expand recurring events into instances and only return single one-off events and instances of recurring events but not the underlying recurring events themselves","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}},{"name":"timeMax","in":"query","description":"Upper bound (exclusive) for an event's start time to filter by","schema":{"type":"string","example":""}},{"name":"timeMin","in":"query","description":"Lower bound (exclusive) for an event's end time to filter by","schema":{"type":"string","example":""}},{"name":"timeZone","in":"query","description":"Time zone used in the response","schema":{"type":"string","example":""}},{"name":"updatedMin","in":"query","description":"Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/list","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events"},"summary":"Returns events on the specified calendar.","description":"Returns events on the specified calendar.","security":[{"bearerAuth":[]}]},"post":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"conferenceDataVersion","in":"query","description":"Version number of conference data supported by the API client","schema":{"type":"integer","example":""}},{"name":"maxAttendees","in":"query","description":"The maximum number of attendees to include in the response","schema":{"type":"integer","example":""}},{"name":"sendNotifications","in":"query","description":"Deprecated","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"sendUpdates","in":"query","description":"Whether to send notifications about the creation of the new event","schema":{"type":"string","example":""}},{"name":"supportsAttachments","in":"query","description":"Whether API client performing operation supports event attachments","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/insert","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events"},"summary":"Creates an event.","description":"Creates an event.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars/{calendarId}/events/import":{"post":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"conferenceDataVersion","in":"query","description":"Version number of conference data supported by the API client","schema":{"type":"integer","example":""}},{"name":"supportsAttachments","in":"query","description":"Whether API client performing operation supports event attachments","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/import","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/import"},"summary":"Imports an event.","description":"Imports an event.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars/{calendarId}/events/{eventId}/instances":{"get":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"eventId","in":"path","description":"Recurring event identifier","required":true,"schema":{"type":"string","example":""}},{"name":"alwaysIncludeEmail","in":"query","description":"Deprecated and ignored","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"maxAttendees","in":"query","description":"The maximum number of attendees to include in the response","schema":{"type":"integer","example":""}},{"name":"maxResults","in":"query","description":"Maximum number of events returned on one result page","schema":{"type":"integer","example":""}},{"name":"originalStart","in":"query","description":"The original start time of the instance in the result","schema":{"type":"string","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"showDeleted","in":"query","description":"Whether to include deleted events (with status equals \"cancelled\") in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"timeMax","in":"query","description":"Upper bound (exclusive) for an event's start time to filter by","schema":{"type":"string","example":""}},{"name":"timeMin","in":"query","description":"Lower bound (inclusive) for an event's end time to filter by","schema":{"type":"string","example":""}},{"name":"timeZone","in":"query","description":"Time zone used in the response","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/instances","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/{eventId}/instances"},"summary":"Returns instances of the specified recurring event.","description":"Returns instances of the specified recurring event.","security":[{"bearerAuth":[]}]}},"/calendar/v3/calendars/{calendarId}/events/{eventId}/move":{"post":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier of the source calendar where the event currently is on","required":true,"schema":{"type":"string","example":""}},{"name":"eventId","in":"path","description":"Event identifier","required":true,"schema":{"type":"string","example":""}},{"name":"destination","in":"query","description":"Calendar identifier of the target calendar where the event is to be moved to","required":true,"schema":{"type":"string","example":""}},{"name":"sendNotifications","in":"query","description":"Deprecated","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"sendUpdates","in":"query","description":"Guests who should receive notifications about the change of the event's organizer","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/move","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/{eventId}/move"},"summary":"Moves an event to another calendar i.","description":"Moves an event to another calendar i.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars/{calendarId}/events/quickAdd":{"post":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"text","in":"query","description":"The text describing the event to be created","required":true,"schema":{"type":"string","example":""}},{"name":"sendNotifications","in":"query","description":"Deprecated","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"sendUpdates","in":"query","description":"Guests who should receive notifications about the creation of the new event","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/quickAdd","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/quickAdd"},"summary":"Creates an event based on a simple text string.","description":"Creates an event based on a simple text string.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars/{calendarId}/events/watch":{"post":{"tags":["Events"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}},{"name":"alwaysIncludeEmail","in":"query","description":"Deprecated and ignored","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"attendee's displayName","in":"query","schema":{"type":"","example":""}},{"name":"attendee's email","in":"query","schema":{"type":"","example":""}},{"name":"eventTypes","in":"query","description":"Event types to return","schema":{"type":"string","example":""}},{"name":"iCalUID","in":"query","description":"Specifies an event ID in the iCalendar format to be provided in the response","schema":{"type":"string","example":""}},{"name":"location","in":"query","schema":{"type":"","example":""}},{"name":"maxAttendees","in":"query","description":"The maximum number of attendees to include in the response","schema":{"type":"integer","example":""}},{"name":"maxResults","in":"query","description":"Maximum number of events returned on one result page","schema":{"type":"integer","example":""}},{"name":"orderBy","in":"query","description":"The order of the events returned in the result","schema":{"type":"string","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"privateExtendedProperty","in":"query","description":"Extended properties constraint specified as propertyName=value","schema":{"type":"string","example":""}},{"name":"q","in":"query","description":"Free text search terms to find events that match these terms in the following fields","schema":{"type":"string","example":"","items":{"type":"string","enum":["summary description"]}}},{"name":"sharedExtendedProperty","in":"query","description":"Extended properties constraint specified as propertyName=value","schema":{"type":"string","example":""}},{"name":"showDeleted","in":"query","description":"Whether to include deleted events (with status equals \"cancelled\") in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"showHiddenInvitations","in":"query","description":"Whether to include hidden invitations in the result","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"singleEvents","in":"query","description":"Whether to expand recurring events into instances and only return single one-off events and instances of recurring events but not the underlying recurring events themselves","schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}},{"name":"timeMax","in":"query","description":"Upper bound (exclusive) for an event's start time to filter by","schema":{"type":"string","example":""}},{"name":"timeMin","in":"query","description":"Lower bound (exclusive) for an event's end time to filter by","schema":{"type":"string","example":""}},{"name":"timeZone","in":"query","description":"Time zone used in the response","schema":{"type":"string","example":""}},{"name":"updatedMin","in":"query","description":"Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/events/watch","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/watch"},"summary":"Watch for changes to Events resources.","description":"Watch for changes to Events resources.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/freeBusy":{"post":{"tags":["Freebusy"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query","api_endpoint":"https://www.googleapis.com/calendar/v3/freeBusy"},"summary":"Returns free/busy information for a set of calendars.","description":"Returns free/busy information for a set of calendars.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/users/me/settings/watch":{"post":{"tags":["Settings"],"parameters":[{"name":"maxResults","in":"query","description":"Maximum number of entries returned on one result page","schema":{"type":"integer","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/settings/watch","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/settings/watch"},"summary":"Watch for changes to Settings resources.","description":"Watch for changes to Settings resources.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/users/me/settings/{setting}":{"get":{"tags":["Settings"],"parameters":[{"name":"setting","in":"path","description":"The id of the user setting","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/settings/get","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/settings/{setting}"},"summary":"Returns a single user setting.","description":"Returns a single user setting.","security":[{"bearerAuth":[]}]}},"/calendar/v3/users/me/settings":{"get":{"tags":["Settings"],"parameters":[{"name":"maxResults","in":"query","description":"Maximum number of entries returned on one result page","schema":{"type":"integer","example":""}},{"name":"pageToken","in":"query","description":"Token specifying which result page to return","schema":{"type":"string","example":""}},{"name":"syncToken","in":"query","description":"Token obtained from the nextSyncToken field returned on the last page of results from the previous list request","schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/workspace/calendar/api/v3/reference/settings/list","api_endpoint":"https://www.googleapis.com/calendar/v3/users/me/settings"},"summary":"Returns all user settings for the authenticated user.","description":"Returns all user settings for the authenticated user.","security":[{"bearerAuth":[]}]}},"/calendar/v3/calendars/{calendarId}/clear":{"post":{"tags":["Calendars"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/calendars/clear","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/clear"},"summary":"Clears a primary calendar.","description":"Clears a primary calendar.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/calendar/v3/calendars/{calendarId}/transferOwnership":{"post":{"tags":["Calendars"],"parameters":[{"name":"calendarId","in":"path","description":"Calendar identifier. To retrieve calendar IDs, call the calendarList.list method.","required":true,"schema":{"type":"string","example":""}},{"name":"newDataOwner","in":"query","description":"The email address of a user who will become the data owner of the calendar.","required":true,"schema":{"type":"string","example":""}},{"name":"useAdminAccess","in":"query","description":"When true, the method runs using the user's Google Workspace administrator privileges. Currently only true is accepted.","required":true,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://developers.google.com/calendar/api/v3/reference/calendars/transferOwnership","api_endpoint":"https://www.googleapis.com/calendar/v3/calendars/{calendarId}/transferOwnership"},"summary":"Transfer calendar ownership","description":"Transfers a secondary calendar between users within a Google Workspace organization. Requires Manage Calendars admin privilege.","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"security":[{"bearerAuth":[]}]}