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.

Requires authorization

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


HTTP request



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.


This request requires authorization with at least one of the following scopes (read more about authentication and authorization).


Request body

Do not supply a request body with this method.


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.

Send feedback about...

Drive REST API v2
Drive REST API v2
Need help? Visit our support page.