How do I get Google Realtime to move the revision number up

80 Views Asked by At

I'm playing with the Google realtime API, specifically the Quickstart example.

I have a string at the root named 'text' and I have it bound to the DOM element in the example.

No matter how much typing I do, I can't seem to figure out a way to get it to actually save to google Drive. The file is there, but when I do a realtime/get API call for the file, I just get this:

API Endpoint: GET https://www.googleapis.com/drive/v2/files/{fileId}/realtime

{
 "appId": "XXXXXXXXXXXXXX",
 "revision": 1,
 "data": null
}
1

There are 1 best solutions below

6
On BEST ANSWER

You need to perform the GET call with the same app credentials as you use to do the writing. The realtime document is scoped to a particular app.