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/8O8WdcLF8cXKLqmsbUzfLValrE8\"", | 35 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/8QMIKXQb4gLNnKU_aYZeGRdMS08\"", |
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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 }, | 578 }, |
579 "path": "files/{fileId}/comments", | 579 "path": "files/{fileId}/comments", |
580 "request": { | 580 "request": { |
581 "$ref": "Comment" | 581 "$ref": "Comment" |
582 }, | 582 }, |
583 "response": { | 583 "response": { |
584 "$ref": "Comment" | 584 "$ref": "Comment" |
585 }, | 585 }, |
586 "scopes": [ | 586 "scopes": [ |
587 "https://www.googleapis.com/auth/drive", | 587 "https://www.googleapis.com/auth/drive", |
588 "https://www.googleapis.com/auth/drive.file", | 588 "https://www.googleapis.com/auth/drive.file" |
589 "https://www.googleapis.com/auth/drive.readonly" | |
590 ] | 589 ] |
591 }, | 590 }, |
592 "list": { | 591 "list": { |
593 "description": "Lists a file's comments.", | 592 "description": "Lists a file's comments.", |
594 "httpMethod": "GET", | 593 "httpMethod": "GET", |
595 "id": "drive.comments.list", | 594 "id": "drive.comments.list", |
596 "parameterOrder": [ | 595 "parameterOrder": [ |
597 "fileId" | 596 "fileId" |
598 ], | 597 ], |
599 "parameters": { | 598 "parameters": { |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 ] | 818 ] |
820 }, | 819 }, |
821 "get": { | 820 "get": { |
822 "description": "Gets a file's metadata by ID.", | 821 "description": "Gets a file's metadata by ID.", |
823 "httpMethod": "GET", | 822 "httpMethod": "GET", |
824 "id": "drive.files.get", | 823 "id": "drive.files.get", |
825 "parameterOrder": [ | 824 "parameterOrder": [ |
826 "fileId" | 825 "fileId" |
827 ], | 826 ], |
828 "parameters": { | 827 "parameters": { |
| 828 "acknowledgeAbuse": { |
| 829 "default": "false", |
| 830 "description": "Whether the user is acknowledging th
e risk of downloading known malware or other abusive files.", |
| 831 "location": "query", |
| 832 "type": "boolean" |
| 833 }, |
829 "fileId": { | 834 "fileId": { |
830 "description": "The ID for the file in question.", | 835 "description": "The ID for the file in question.", |
831 "location": "path", | 836 "location": "path", |
832 "required": true, | 837 "required": true, |
833 "type": "string" | 838 "type": "string" |
834 }, | 839 }, |
835 "projection": { | 840 "projection": { |
836 "description": "This parameter is deprecated and has
no function.", | 841 "description": "This parameter is deprecated and has
no function.", |
837 "enum": [ | 842 "enum": [ |
838 "BASIC", | 843 "BASIC", |
(...skipping 18 matching lines...) Expand all Loading... |
857 "$ref": "File" | 862 "$ref": "File" |
858 }, | 863 }, |
859 "scopes": [ | 864 "scopes": [ |
860 "https://www.googleapis.com/auth/drive", | 865 "https://www.googleapis.com/auth/drive", |
861 "https://www.googleapis.com/auth/drive.appdata", | 866 "https://www.googleapis.com/auth/drive.appdata", |
862 "https://www.googleapis.com/auth/drive.apps.readonly", | 867 "https://www.googleapis.com/auth/drive.apps.readonly", |
863 "https://www.googleapis.com/auth/drive.file", | 868 "https://www.googleapis.com/auth/drive.file", |
864 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 869 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
865 "https://www.googleapis.com/auth/drive.readonly" | 870 "https://www.googleapis.com/auth/drive.readonly" |
866 ], | 871 ], |
| 872 "supportsMediaDownload": true, |
867 "supportsSubscription": true | 873 "supportsSubscription": true |
868 }, | 874 }, |
869 "insert": { | 875 "insert": { |
870 "description": "Insert a new file.", | 876 "description": "Insert a new file.", |
871 "httpMethod": "POST", | 877 "httpMethod": "POST", |
872 "id": "drive.files.insert", | 878 "id": "drive.files.insert", |
873 "mediaUpload": { | 879 "mediaUpload": { |
874 "accept": [ | 880 "accept": [ |
875 "*/*" | 881 "*/*" |
876 ], | 882 ], |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 "supportsMediaUpload": true | 1314 "supportsMediaUpload": true |
1309 }, | 1315 }, |
1310 "watch": { | 1316 "watch": { |
1311 "description": "Subscribe to changes on a file", | 1317 "description": "Subscribe to changes on a file", |
1312 "httpMethod": "POST", | 1318 "httpMethod": "POST", |
1313 "id": "drive.files.watch", | 1319 "id": "drive.files.watch", |
1314 "parameterOrder": [ | 1320 "parameterOrder": [ |
1315 "fileId" | 1321 "fileId" |
1316 ], | 1322 ], |
1317 "parameters": { | 1323 "parameters": { |
| 1324 "acknowledgeAbuse": { |
| 1325 "default": "false", |
| 1326 "description": "Whether the user is acknowledging th
e risk of downloading known malware or other abusive files.", |
| 1327 "location": "query", |
| 1328 "type": "boolean" |
| 1329 }, |
1318 "fileId": { | 1330 "fileId": { |
1319 "description": "The ID for the file in question.", | 1331 "description": "The ID for the file in question.", |
1320 "location": "path", | 1332 "location": "path", |
1321 "required": true, | 1333 "required": true, |
1322 "type": "string" | 1334 "type": "string" |
1323 }, | 1335 }, |
1324 "projection": { | 1336 "projection": { |
1325 "description": "This parameter is deprecated and has
no function.", | 1337 "description": "This parameter is deprecated and has
no function.", |
1326 "enum": [ | 1338 "enum": [ |
1327 "BASIC", | 1339 "BASIC", |
(...skipping 22 matching lines...) Expand all Loading... |
1350 "$ref": "Channel" | 1362 "$ref": "Channel" |
1351 }, | 1363 }, |
1352 "scopes": [ | 1364 "scopes": [ |
1353 "https://www.googleapis.com/auth/drive", | 1365 "https://www.googleapis.com/auth/drive", |
1354 "https://www.googleapis.com/auth/drive.appdata", | 1366 "https://www.googleapis.com/auth/drive.appdata", |
1355 "https://www.googleapis.com/auth/drive.apps.readonly", | 1367 "https://www.googleapis.com/auth/drive.apps.readonly", |
1356 "https://www.googleapis.com/auth/drive.file", | 1368 "https://www.googleapis.com/auth/drive.file", |
1357 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1369 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
1358 "https://www.googleapis.com/auth/drive.readonly" | 1370 "https://www.googleapis.com/auth/drive.readonly" |
1359 ], | 1371 ], |
| 1372 "supportsMediaDownload": true, |
1360 "supportsSubscription": true | 1373 "supportsSubscription": true |
1361 } | 1374 } |
1362 } | 1375 } |
1363 }, | 1376 }, |
1364 "parents": { | 1377 "parents": { |
1365 "methods": { | 1378 "methods": { |
1366 "delete": { | 1379 "delete": { |
1367 "description": "Removes a parent from a file.", | 1380 "description": "Removes a parent from a file.", |
1368 "httpMethod": "DELETE", | 1381 "httpMethod": "DELETE", |
1369 "id": "drive.parents.delete", | 1382 "id": "drive.parents.delete", |
(...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2422 }, | 2435 }, |
2423 "scopes": [ | 2436 "scopes": [ |
2424 "https://www.googleapis.com/auth/drive", | 2437 "https://www.googleapis.com/auth/drive", |
2425 "https://www.googleapis.com/auth/drive.appdata", | 2438 "https://www.googleapis.com/auth/drive.appdata", |
2426 "https://www.googleapis.com/auth/drive.file" | 2439 "https://www.googleapis.com/auth/drive.file" |
2427 ] | 2440 ] |
2428 } | 2441 } |
2429 } | 2442 } |
2430 } | 2443 } |
2431 }, | 2444 }, |
2432 "revision": "20141009", | 2445 "revision": "20141024", |
2433 "rootUrl": "https://www.googleapis.com/", | 2446 "rootUrl": "https://www.googleapis.com/", |
2434 "schemas": { | 2447 "schemas": { |
2435 "About": { | 2448 "About": { |
2436 "description": "An item with user information and settings.", | 2449 "description": "An item with user information and settings.", |
2437 "id": "About", | 2450 "id": "About", |
2438 "properties": { | 2451 "properties": { |
2439 "additionalRoleInfo": { | 2452 "additionalRoleInfo": { |
2440 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2453 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
2441 "items": { | 2454 "items": { |
2442 "properties": { | 2455 "properties": { |
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4037 "type": "object" | 4050 "type": "object" |
4038 } | 4051 } |
4039 }, | 4052 }, |
4040 "type": "object" | 4053 "type": "object" |
4041 } | 4054 } |
4042 }, | 4055 }, |
4043 "servicePath": "drive/v2/", | 4056 "servicePath": "drive/v2/", |
4044 "title": "Drive API", | 4057 "title": "Drive API", |
4045 "version": "v2" | 4058 "version": "v2" |
4046 } | 4059 } |
OLD | NEW |