Google Doc's (Spreadsheet) get Revision Id -


i'm testing page:

https://developers.google.com/drive/v2/reference/revisions/get#try-it

i can't find revision id , when try put think revision id, error displayed saying: "message": "revision not found: "

how can find revision id of file (i'm trying spreadsheet)?

later i'll try use (in java):

revisionlist revisions = service.revisions().list(fileid).execute(); return revisions.getitems(); 

but need manually.

it works fine. need correct file id , revision id.

for eg -

file id = 0vs336abx5r3mdhjz1tzaci1kb0jsoexoshjdmwfzvue
revision id = 13723331213000

steps -

  1. get valid file id here. in try out - maxresults = 5 https://developers.google.com/drive/v2/reference/files/list
    json reply select file id.

  2. get revisions file - https://developers.google.com/drive/v2/reference/revisions/list
    try out - fieldid = enter file id copied above step.
    from json reply select revision id

  3. now use file id , revision id here - https://developers.google.com/drive/v2/reference/revisions/get#try-it


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -