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

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

Powered by Google App Engine
This is Rietveld 408576698