Gets the starting pageToken for listing future changes. Try it now.
Request
HTTP request
GET https://www.googleapis.com/drive/v2/changes/startPageToken
Parameters
Parameter name | Value | Description |
---|---|---|
Optional query parameters | ||
driveId |
string |
The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned. |
supportsAllDrives |
boolean |
Whether the requesting application supports both My Drives and shared drives.
(Default: false )
|
supportsTeamDrives |
boolean |
Deprecated use supportsAllDrives instead.
(Default: false )
|
teamDriveId |
string |
Deprecated use driveId instead. |
Authorization
This request requires authorization with at least one of the following scopes:
Scope |
---|
https://www.googleapis.com/auth/drive |
https://www.googleapis.com/auth/drive.file |
https://www.googleapis.com/auth/drive.readonly |
https://www.googleapis.com/auth/drive.metadata.readonly |
https://www.googleapis.com/auth/drive.appdata |
https://www.googleapis.com/auth/drive.apps.readonly |
https://www.googleapis.com/auth/drive.metadata |
https://www.googleapis.com/auth/drive.photos.readonly |
Some scopes are restricted and require a security assessment for your app to use them. For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "drive#startPageToken", "startPageToken": string }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Identifies what kind of resource this is. Value: the fixed string "drive#startPageToken" . |
|
startPageToken |
string |
The starting page token for listing changes. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response.