10
I seem to be unable to retrieve the content of a file via the google drive SDK. To reproduce the problem I use the API explorer to get the meta data for a small text file:
200 OK
- Show headers -
{
"kind": "drive#file",
"id": "0B75zvzRT_NusaDBtSTVmWWk1cVk",
"etag": "\"B6kWtzuiQYCrVi2MWyRaub0CRyo/MTM1NTgzNDEzMjU5MA\"",
"selfLink": "https://www.googleapis.com/drive/v2/files/0B75zvzRT_NusaDBtSTVmWWk1cVk",
"webContentLink": "https://docs.google.com/uc?id=0B75zvzRT_NusaDBtSTVmWWk1cVk&export=download",
"alternateLink": "https://docs.google.com/file/d/0B75zvzRT_NusaDBtSTVmWWk1cVk/edit",
"iconLink": "https://ssl.gstatic.com/docs/doclist/images/icon_10_text_list.png",
"thumbnailLink": "https://lh4.googleusercontent.com/ntOMGJ9Is5KigDUzpOe6xKRqVqHPyeeXPImG1vZTF2FDM5YOyeCZT62FsdBWTnetBA=s220",
"title": "sync.txt",
"mimeType": "text/plain",
"description": "description",
"labels": {
"starred": false,
"hidden": false,
"trashed": false,
"restricted": false,
"viewed": true
},
"createdDate": "2012-12-18T11:49:21.710Z",
"modifiedDate": "2012-12-18T12:35:32.590Z",
"modifiedByMeDate": "2012-12-18T12:35:32.590Z",
"lastViewedByMeDate": "2012-12-18T12:35:32.416Z",
"parents": [
{
"kind": "drive#parentReference",
"id": "0B75zvzRT_NusdVVJeGk2dVc2VHM",
"selfLink": "https://www.googleapis.com/drive/v2/files/0B75zvzRT_NusaDBtSTVmWWk1cVk/parents/0B75zvzRT_NusdVVJeGk2dVc2VHM",
"parentLink": "https://www.googleapis.com/drive/v2/files/0B75zvzRT_NusdVVJeGk2dVc2VHM",
"isRoot": false
}
],
"downloadUrl": "https://doc-0g-0-docs.googleusercontent.com/docs/securesc/b2hod7vud4bdud0ju4mut5hh2assmdju/rmi0iqd62g0im724ngmc5uva7femfffo/1355832000000/00903399969355284739/00903399969355284739/0B75zvzRT_NusaDBtSTVmWWk1cVk?h=16653014193614665626&e=download&gd=true",
"userPermission": {
"kind": "drive#permission",
"etag"