Changes: getStartPageToken

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 will be returned.
supportsAllDrives boolean Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support 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.

Надіслати відгук про…

Цю сторінку
Google Drive API
Google Drive API
Потрібна допомога? Відвідайте сторінку підтримки.