Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: chrome/test/data/chromeos/drive/filelist.json

Issue 10829056: Add FileResource/FileList parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for comments. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 {
2 "kind": "drive#fileList",
3 "etag": "\"WtRjAPZWbDA7_fkFjc5ojsEvDEF/zyHTfoHpnRHovyi8bWpwK0DXABC\"",
4 "selfLink": "https://www.googleapis.com/drive/v2/files",
5 "nextPageToken": "EAIaggELEgA6egpi96It9mH_____f_8AAP__AAD_okhU-cHLz83KzszMxsjMz s_RyNGJnridyrbHs7u9tv8AAP__AP7__n__AP8AokhU-cHLz83KzszMxsjMzs_RyNGJnridyrbHs7u9t v8A__4QZCEiXPTi_wtIgTkAAAAAngnSXUgCDEAAIgsJPgart10AAAAABC",
6 "nextLink": "https://www.googleapis.com/drive/v2/files?pageToken=EAIaggELEgA6eg pi96It9mH_____f_8AAP__AAD_okhU-cHLz83KzszMxsjMzs_RyNGJnridyrbHs7u9tv8AAP__AP7__n __AP8AokhU-cHLz83KzszMxsjMzs_RyNGJnridyrbHs7u9tv8A__4QZCEiXPTi_wtIgTkAAAAAngnSXU gCDEAAIgsJPgart10AAAAABC",
7 "items": [
8 {
9 "kind": "drive#file",
10 "id": "0B4v7G8yEYAWHUmRrU2lMS2hLABC",
11 "etag": "\"WtRjAPZWbDA7_fkFjc5ojsEvDEF/MTM0MzM2NzgwMDIXYZ\"",
12 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHUmRrU2lMS 2hLABC",
13 "webContentLink": "https://docs.google.com/uc?id=0B4v7G8yEYAWHUmRrU2lMS2hLABC &export=download",
14 "alternateLink": "https://docs.google.com/file/d/0B4v7G8yEYAWHUmRrU2lMS2hLABC /edit",
15 "title": "My first file data",
16 "mimeType": "application/octet-stream",
17 "labels": {
18 "starred": false,
19 "hidden": false,
20 "trashed": false,
21 "restricted": false,
22 "viewed": true
23 },
24 "createdDate": "2012-07-24T08:51:16.570Z",
25 "modifiedDate": "2012-07-27T05:43:20.269Z",
26 "modifiedByMeDate": "2012-07-27T05:43:20.269Z",
27 "lastViewedByMeDate": "2012-07-27T05:43:20.269Z",
28 "parents": [
29 {
30 "kind": "drive#parentReference",
31 "id": "0B4v7G8yEYAWHYW1OcExsUVZLABC",
32 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHNGpYVHJ INEFFABC/parents/0B4v7G8yEYAWHYW1OcExsUVZLABC",
33 "parentLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHYW1Oc ExsUVZLABC",
34 "isRoot": false
35 }
36 ],
37 "downloadUrl": "https://www.example.com/download",
38 "userPermission": {
39 "kind": "drive#permission",
40 "etag": "\"WtRjAPZWbDA7_fkFjc5ojsEvDEF/LKOJhhwatz2OKj-OblM3EvO8XYZ\"",
41 "id": "me",
42 "role": "owner",
43 "type": "user"
44 },
45 "originalFilename": "Untitled Document.ext",
46 "fileExtension": "ext",
47 "md5Checksum": "d41d8cd98f00b204e9800998ecf8427e",
48 "fileSize": "1000",
49 "quotaBytesUsed": "1000",
50 "ownerNames": [
51 "Test User"
52 ],
53 "lastModifyingUserName": "Test User",
54 "editable": true,
55 "writersCanShare": true
56 },
57 {
58 "kind": "drive#file",
59 "id": "1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC",
60 "etag": "\"WtRjAPZWbDA7_fkFjc5ojsEvDEF/MTM0MzM2NDg1MTAXYZ\"",
61 "selfLink": "https://www.googleapis.com/drive/v2/files/1Pc8jzfU1ErbN_eucMMqdq zY3eBm0v8sxXm_1CtLxABC",
62 "alternateLink": "https://docs.google.com/a/chromium.org/document/d/1Pc8jzfU1 ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC/edit",
63 "embedLink": "https://docs.google.com/a/chromium.org/document/d/1Pc8jzfU1ErbN _eucMMqdqzY3eBm0v8sxXm_1CtLxABC/preview",
64 "thumbnailLink": "https://docs.google.com/feeds/vt?gd=true&id=1Pc8jzfU1ErbN_e ucMMqdqzY3eBm0v8sxXm_1CtLxABC&v=3&s=AMedNnoAAAAAUBJyB0g8HbxZaLRnlztxefZPS24LiXYZ &sz=s220",
65 "title": "Test Google Document",
66 "mimeType": "application/vnd.google-apps.document",
67 "labels": {
68 "starred": true,
69 "hidden": false,
70 "trashed": false,
71 "restricted": false,
72 "viewed": true
73 },
74 "createdDate": "2012-07-27T04:54:09.686Z",
75 "modifiedDate": "2012-07-27T04:54:11.030Z",
76 "modifiedByMeDate": "2012-07-27T04:54:11.030Z",
77 "lastViewedByMeDate": "2012-07-27T04:54:11.030Z",
78 "parents": [
79 {
80 "kind": "drive#parentReference",
81 "id": "0AIv7G8yEYAWHUk9ABC",
82 "selfLink": "https://www.googleapis.com/drive/v2/files/1Pc8jzfU1ErbN_eucMMq dqzY3eBm0v8sxXm_1CtLxABC/parents/0AIv7G8yEYAWHUk9ABC",
83 "parentLink": "https://www.googleapis.com/drive/v2/files/0AIv7G8yEYAWHUk9AB C",
84 "isRoot": true
85 }
86 ],
87 "exportLinks": {
88 "application/msword": "https://docs.google.com/feeds/download/documents/expo rt/Export?id=1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC&exportFormat=doc",
89 "text/html": "https://docs.google.com/feeds/download/documents/export/Export ?id=1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC&exportFormat=html",
90 "application/pdf": "https://docs.google.com/feeds/download/documents/export/ Export?id=1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC&exportFormat=pdf"
91 },
92 "userPermission": {
93 "kind": "drive#permission",
94 "etag": "\"WtRjAPZWbDA7_fkFjc5ojsEvDEF/LKOJhhwatz2OKj-OblM3EvO8XYZ\"",
95 "id": "me",
96 "role": "owner",
97 "type": "user"
98 },
99 "quotaBytesUsed": "0",
100 "ownerNames": [
101 "Test User"
102 ],
103 "lastModifyingUserName": "Test User",
104 "editable": true,
105 "writersCanShare": true
106 },
107 {
108 "kind": "drive#file",
109 "id": "0B4v7G8yEYAWHYW1OcExsUVZLABC",
110 "etag": "\"WtRjAPZWbDA7_fkFjc5ojsEvDEF/MTM0MzM2NDE5ODUXYZ\"",
111 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHYW1OcExsU VZLABC",
112 "alternateLink": "https://docs.google.com/a/chromium.org/folder/d/0B4v7G8yEYA WHYW1OcExsUVZLABC/edit",
113 "title": "TestFolder",
114 "mimeType": "application/vnd.google-apps.folder",
115 "labels": {
116 "starred": false,
117 "hidden": false,
118 "trashed": false,
119 "restricted": false,
120 "viewed": true
121 },
122 "createdDate": "2012-07-02T09:53:18.422Z",
123 "modifiedDate": "2012-07-27T04:43:18.507Z",
124 "modifiedByMeDate": "2012-07-27T04:43:18.507Z",
125 "lastViewedByMeDate": "2012-07-27T04:40:52.371Z",
126 "parents": [
127 {
128 "kind": "drive#parentReference",
129 "id": "0AIv7G8yEYAWHUk9ABC",
130 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHYW1OcEx sUVZLABC/parents/0AIv7G8yEYAWHUk9ABC",
131 "parentLink": "https://www.googleapis.com/drive/v2/files/0AIv7G8yEYAWHUk9AB C",
132 "isRoot": true
133 }
134 ],
135 "userPermission": {
136 "kind": "drive#permission",
137 "etag": "\"WtRjAPZWbDA7_fkFjc5ojsEvDEF/LKOJhhwatz2OKj-OblM3EvO8XYZ\"",
138 "id": "me",
139 "role": "owner",
140 "type": "user"
141 },
142 "quotaBytesUsed": "0",
143 "ownerNames": [
144 "Test User"
145 ],
146 "lastModifyingUserName": "Test User",
147 "editable": true,
148 "writersCanShare": true
149 }
150 ]
151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698