OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/drive": { | 5 "https://www.googleapis.com/auth/drive": { |
6 "description": "View and manage the files and documents in y
our Google Drive" | 6 "description": "View and manage the files and documents in y
our Google Drive" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/drive.appdata": { | 8 "https://www.googleapis.com/auth/drive.appdata": { |
9 "description": "View and manage its own configuration data i
n your Google Drive" | 9 "description": "View and manage its own configuration data i
n your Google Drive" |
10 }, | 10 }, |
(...skipping 14 matching lines...) Expand all Loading... |
25 } | 25 } |
26 } | 26 } |
27 } | 27 } |
28 }, | 28 }, |
29 "basePath": "/drive/v2/", | 29 "basePath": "/drive/v2/", |
30 "baseUrl": "https://www.googleapis.com/drive/v2/", | 30 "baseUrl": "https://www.googleapis.com/drive/v2/", |
31 "batchPath": "batch", | 31 "batchPath": "batch", |
32 "description": "The API to interact with Drive.", | 32 "description": "The API to interact with Drive.", |
33 "discoveryVersion": "v1", | 33 "discoveryVersion": "v1", |
34 "documentationLink": "https://developers.google.com/drive/", | 34 "documentationLink": "https://developers.google.com/drive/", |
35 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/8QMIKXQb4gLNnKU_aYZeGRdMS08\"", | 35 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/YirXzybzfM1MXvxL7d6pa4HZPKc\"", |
36 "icons": { | 36 "icons": { |
37 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", | 37 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", |
38 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" | 38 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" |
39 }, | 39 }, |
40 "id": "drive:v2", | 40 "id": "drive:v2", |
41 "kind": "discovery#restDescription", | 41 "kind": "discovery#restDescription", |
42 "name": "drive", | 42 "name": "drive", |
43 "ownerDomain": "google.com", | 43 "ownerDomain": "google.com", |
44 "ownerName": "Google", | 44 "ownerName": "Google", |
45 "parameters": { | 45 "parameters": { |
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 "required": true, | 1163 "required": true, |
1164 "type": "string" | 1164 "type": "string" |
1165 } | 1165 } |
1166 }, | 1166 }, |
1167 "path": "files/{fileId}/trash", | 1167 "path": "files/{fileId}/trash", |
1168 "response": { | 1168 "response": { |
1169 "$ref": "File" | 1169 "$ref": "File" |
1170 }, | 1170 }, |
1171 "scopes": [ | 1171 "scopes": [ |
1172 "https://www.googleapis.com/auth/drive", | 1172 "https://www.googleapis.com/auth/drive", |
| 1173 "https://www.googleapis.com/auth/drive.appdata", |
1173 "https://www.googleapis.com/auth/drive.apps.readonly", | 1174 "https://www.googleapis.com/auth/drive.apps.readonly", |
1174 "https://www.googleapis.com/auth/drive.file" | 1175 "https://www.googleapis.com/auth/drive.file" |
1175 ] | 1176 ] |
1176 }, | 1177 }, |
1177 "untrash": { | 1178 "untrash": { |
1178 "description": "Restores a file from the trash.", | 1179 "description": "Restores a file from the trash.", |
1179 "httpMethod": "POST", | 1180 "httpMethod": "POST", |
1180 "id": "drive.files.untrash", | 1181 "id": "drive.files.untrash", |
1181 "parameterOrder": [ | 1182 "parameterOrder": [ |
1182 "fileId" | 1183 "fileId" |
1183 ], | 1184 ], |
1184 "parameters": { | 1185 "parameters": { |
1185 "fileId": { | 1186 "fileId": { |
1186 "description": "The ID of the file to untrash.", | 1187 "description": "The ID of the file to untrash.", |
1187 "location": "path", | 1188 "location": "path", |
1188 "required": true, | 1189 "required": true, |
1189 "type": "string" | 1190 "type": "string" |
1190 } | 1191 } |
1191 }, | 1192 }, |
1192 "path": "files/{fileId}/untrash", | 1193 "path": "files/{fileId}/untrash", |
1193 "response": { | 1194 "response": { |
1194 "$ref": "File" | 1195 "$ref": "File" |
1195 }, | 1196 }, |
1196 "scopes": [ | 1197 "scopes": [ |
1197 "https://www.googleapis.com/auth/drive", | 1198 "https://www.googleapis.com/auth/drive", |
| 1199 "https://www.googleapis.com/auth/drive.appdata", |
1198 "https://www.googleapis.com/auth/drive.apps.readonly", | 1200 "https://www.googleapis.com/auth/drive.apps.readonly", |
1199 "https://www.googleapis.com/auth/drive.file" | 1201 "https://www.googleapis.com/auth/drive.file" |
1200 ] | 1202 ] |
1201 }, | 1203 }, |
1202 "update": { | 1204 "update": { |
1203 "description": "Updates file metadata and/or content.", | 1205 "description": "Updates file metadata and/or content.", |
1204 "httpMethod": "PUT", | 1206 "httpMethod": "PUT", |
1205 "id": "drive.files.update", | 1207 "id": "drive.files.update", |
1206 "mediaUpload": { | 1208 "mediaUpload": { |
1207 "accept": [ | 1209 "accept": [ |
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2435 }, | 2437 }, |
2436 "scopes": [ | 2438 "scopes": [ |
2437 "https://www.googleapis.com/auth/drive", | 2439 "https://www.googleapis.com/auth/drive", |
2438 "https://www.googleapis.com/auth/drive.appdata", | 2440 "https://www.googleapis.com/auth/drive.appdata", |
2439 "https://www.googleapis.com/auth/drive.file" | 2441 "https://www.googleapis.com/auth/drive.file" |
2440 ] | 2442 ] |
2441 } | 2443 } |
2442 } | 2444 } |
2443 } | 2445 } |
2444 }, | 2446 }, |
2445 "revision": "20141024", | 2447 "revision": "20141112", |
2446 "rootUrl": "https://www.googleapis.com/", | 2448 "rootUrl": "https://www.googleapis.com/", |
2447 "schemas": { | 2449 "schemas": { |
2448 "About": { | 2450 "About": { |
2449 "description": "An item with user information and settings.", | 2451 "description": "An item with user information and settings.", |
2450 "id": "About", | 2452 "id": "About", |
2451 "properties": { | 2453 "properties": { |
2452 "additionalRoleInfo": { | 2454 "additionalRoleInfo": { |
2453 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2455 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
2454 "items": { | 2456 "items": { |
2455 "properties": { | 2457 "properties": { |
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4050 "type": "object" | 4052 "type": "object" |
4051 } | 4053 } |
4052 }, | 4054 }, |
4053 "type": "object" | 4055 "type": "object" |
4054 } | 4056 } |
4055 }, | 4057 }, |
4056 "servicePath": "drive/v2/", | 4058 "servicePath": "drive/v2/", |
4057 "title": "Drive API", | 4059 "title": "Drive API", |
4058 "version": "v2" | 4060 "version": "v2" |
4059 } | 4061 } |
OLD | NEW |