GET {{baseUrl}}/calendars/:calId/events?maxResults=<integer>&orderBy=startTime&showDeleted=<boolean>&singleEvents=<boolean>&pageToken=<string>&timeMax=<string>&timeMin=<string>&timeZone=<string>
Returns events on the specified calendar. Scopes: Rate Limit Label: calendar:read
,calendar:read:admin
MEDIUM
Body
PARAM
Key | Datatype | Required | Description |
maxResults
|
string | The maximum number of events returned on one result page. | |
orderBy
|
string | The order of the events returned in the result. | |
showDeleted
|
string | Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if `showDeleted` and `singleEvents` are both False. If `showDeleted` and `singleEvents` are both True and only single instances of deleted events (but not the underlying recurring events) are returned. The default is False. Optional. | |
singleEvents
|
string | 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. The default is False. Optional. | |
pageToken
|
string | The token that specifies which result page to return. Optional. | |
timeMax
|
string | The upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. It must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If `timeMin` is set, `timeMax` must be greater than `timeMin`. | |
timeMin
|
string | The lower bound (exclusive) for an event's end time from which to filter. Optional. The default is not to filter by end time. It must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds can be provided but are ignored. If `timeMax` is set, `timeMin` must be smaller than `timeMax`. | |
timeZone
|
string | The time zone in the response. The default is the time zone of the calendar. Optional. |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"kind": "<string>",
"etag": "<string>",
"summary": "<string>",
"description": {},
"updated": "<dateTime>",
"timeZone": "<string>",
"accessRole": "owner",
"defaultReminders": [
{
"method": "popup",
"minutes": "<integer>"
},
{
"method": "popup",
"minutes": "<integer>"
}
],
"nextPageToken": "<string>",
"items": [
{
"end": {
"date": "<date>",
"dateTime": "<dateTime>",
"timeZone": "<string>"
},
"start": {
"date": "<date>",
"dateTime": "<dateTime>",
"timeZone": "<string>"
},
"attendees": [
{
"email": "<email>",
"additionalGuests": "<integer>",
"displayName": "<string>",
"optional": "<boolean>",
"resource": "<boolean>",
"responseStatus": "accepted"
},
{
"email": "<email>",
"additionalGuests": "<integer>",
"displayName": "<string>",
"optional": "<boolean>",
"resource": "<boolean>",
"responseStatus": "needsAction"
}
],
"colorId": "<string>",
"description": "<string>",
"guestsCanInviteOthers": "<boolean>",
"guestsCanModify": "<boolean>",
"guestsCanSeeOtherGuests": "<boolean>",
"location": "<string>",
"recurrence": [
"<string>",
"<string>"
],
"reminders": {
"useDefault": "<boolean>",
"overrides": [
{
"method": "popup",
"minutes": "<integer>"
},
{
"method": "email",
"minutes": "<integer>"
}
]
},
"status": "cancelled",
"summary": "<string>",
"transparency": "opaque",
"visibility": "default",
"id": "<string>",
"created": "<string>",
"creator": {
"email": "<string>"
},
"organizer": {
"email": "<string>"
},
"kind": "<string>",
"updated": "<string>"
},
{
"end": {
"date": "<date>",
"dateTime": "<dateTime>",
"timeZone": "<string>"
},
"start": {
"date": "<date>",
"dateTime": "<dateTime>",
"timeZone": "<string>"
},
"attendees": [
{
"email": "<email>",
"additionalGuests": "<integer>",
"displayName": "<string>",
"optional": "<boolean>",
"resource": "<boolean>",
"responseStatus": "needsAction"
},
{
"email": "<email>",
"additionalGuests": "<integer>",
"displayName": "<string>",
"optional": "<boolean>",
"resource": "<boolean>",
"responseStatus": "declined"
}
],
"colorId": "<string>",
"description": "<string>",
"guestsCanInviteOthers": "<boolean>",
"guestsCanModify": "<boolean>",
"guestsCanSeeOtherGuests": "<boolean>",
"location": "<string>",
"recurrence": [
"<string>",
"<string>"
],
"reminders": {
"useDefault": "<boolean>",
"overrides": [
{
"method": "popup",
"minutes": "<integer>"
},
{
"method": "popup",
"minutes": "<integer>"
}
]
},
"status": "cancelled",
"summary": "<string>",
"transparency": "transparent",
"visibility": "public",
"id": "<string>",
"created": "<string>",
"creator": {
"email": "<string>"
},
"organizer": {
"email": "<string>"
},
"kind": "<string>",
"updated": "<string>"
}
]
} |
ENDPOINTS