POST /calendars/{calendarId}/events/import
Changed onImports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported. Deprecated behavior: If a non-default event is imported, its type will be changed to default and any event-type-specific properties it may have will be dropped.
Request
- Base URLhttps://www.googleapis.com/calendar/v3
- URLhttps://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/import
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendarAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendar.app.createdAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar.app.created
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendar.eventsAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar.events
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendar.events.ownedAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar.events.owned
Path parameters
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
Query parameters
Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color management. Version 1 enables support for event labels, and processes the eventLabelId in the event's body. In this case, the colorId field is ignored. The default is 0.
Whether API client performing operation supports event attachments. Optional. The default is False.
Request body
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/calendar.events.ownedwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendar.events.ownedwas removed from the endpoint's security schemeOauth2c
- info
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status - info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/calendar.events.ownedwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendar.events.ownedwas removed from the endpoint's security schemeOauth2c
- breaking