Realtime: get

This API is deprecated and will be turned down in January 2019. Migrate to Cloud Firestore or another data store as soon as possible to avoid disruptions to your application.

Exports the contents of the Realtime API data model associated with this file as JSON. Try it now.

Request

HTTP request

GET https://www.googleapis.com/drive/v2/files/fileId/realtime

Parameters

Parameter name Value Description
Path parameters
fileId string The ID of the file that the Realtime API data model is associated with.
Optional query parameters
revision integer The revision of the Realtime API data model to export. Revisions start at 1 (the initial empty data model) and are incremented with each change. If this parameter is excluded, the most recent data model will be returned.

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.readonly
https://www.googleapis.com/auth/drive.file

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 Realtime resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.