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 -
get valid file id here. in try out - maxresults = 5 https://developers.google.com/drive/v2/reference/files/list
json reply select file id.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 idnow use file id , revision id here - https://developers.google.com/drive/v2/reference/revisions/get#try-it
Comments
Post a Comment