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.


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:


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.


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...

Google Drive API
Google Drive API
Need help? Visit our support page.