Hide
Drive REST API

Realtime: get

Requires authorization

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 (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/drive.file

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.