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

Side by Side Diff: discovery/googleapis/drive__v2.json

Issue 1078053002: Roll of googleapis as of 4/7/2015. (Closed) Base URL: https://github.com/dart-lang/googleapis.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « discovery/googleapis/doubleclicksearch__v2.json ('k') | discovery/googleapis/freebase__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 in your Google Dri ve"
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 },
11 "https://www.googleapis.com/auth/drive.apps.readonly": { 11 "https://www.googleapis.com/auth/drive.apps.readonly": {
12 "description": "View your Google Drive apps" 12 "description": "View your Google Drive apps"
13 }, 13 },
14 "https://www.googleapis.com/auth/drive.file": { 14 "https://www.googleapis.com/auth/drive.file": {
15 "description": "View and manage Google Drive files that you have opened or created with this app" 15 "description": "View and manage Google Drive files that you have opened or created with this app"
16 }, 16 },
17 "https://www.googleapis.com/auth/drive.metadata.readonly": { 17 "https://www.googleapis.com/auth/drive.metadata.readonly": {
18 "description": "View metadata for files and documents in you r Google Drive" 18 "description": "View metadata for files in your Google Drive "
19 }, 19 },
20 "https://www.googleapis.com/auth/drive.readonly": { 20 "https://www.googleapis.com/auth/drive.readonly": {
21 "description": "View the files and documents in your Google Drive" 21 "description": "View the files in your Google Drive"
22 }, 22 },
23 "https://www.googleapis.com/auth/drive.scripts": { 23 "https://www.googleapis.com/auth/drive.scripts": {
24 "description": "Modify your Google Apps Script scripts' beha vior" 24 "description": "Modify your Google Apps Script scripts' beha vior"
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": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Fb0QHMZPT5INJMfkTyQs00f1EOI\"", 35 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/yUsYaOTyEAvpk-uZ9U5lffkz2VU\"",
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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 "$ref": "File" 780 "$ref": "File"
781 }, 781 },
782 "scopes": [ 782 "scopes": [
783 "https://www.googleapis.com/auth/drive", 783 "https://www.googleapis.com/auth/drive",
784 "https://www.googleapis.com/auth/drive.appdata", 784 "https://www.googleapis.com/auth/drive.appdata",
785 "https://www.googleapis.com/auth/drive.apps.readonly", 785 "https://www.googleapis.com/auth/drive.apps.readonly",
786 "https://www.googleapis.com/auth/drive.file" 786 "https://www.googleapis.com/auth/drive.file"
787 ] 787 ]
788 }, 788 },
789 "delete": { 789 "delete": {
790 "description": "Permanently deletes a file by ID. Skips the trash.", 790 "description": "Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file.",
791 "httpMethod": "DELETE", 791 "httpMethod": "DELETE",
792 "id": "drive.files.delete", 792 "id": "drive.files.delete",
793 "parameterOrder": [ 793 "parameterOrder": [
794 "fileId" 794 "fileId"
795 ], 795 ],
796 "parameters": { 796 "parameters": {
797 "fileId": { 797 "fileId": {
798 "description": "The ID of the file to delete.", 798 "description": "The ID of the file to delete.",
799 "location": "path", 799 "location": "path",
800 "required": true, 800 "required": true,
(...skipping 19 matching lines...) Expand all
820 "get": { 820 "get": {
821 "description": "Gets a file's metadata by ID.", 821 "description": "Gets a file's metadata by ID.",
822 "httpMethod": "GET", 822 "httpMethod": "GET",
823 "id": "drive.files.get", 823 "id": "drive.files.get",
824 "parameterOrder": [ 824 "parameterOrder": [
825 "fileId" 825 "fileId"
826 ], 826 ],
827 "parameters": { 827 "parameters": {
828 "acknowledgeAbuse": { 828 "acknowledgeAbuse": {
829 "default": "false", 829 "default": "false",
830 "description": "Whether the user is acknowledging th e risk of downloading known malware or other abusive files.", 830 "description": "Whether the user is acknowledging th e risk of downloading known malware or other abusive files. Ignored unless alt=m edia is specified.",
831 "location": "query", 831 "location": "query",
832 "type": "boolean" 832 "type": "boolean"
833 }, 833 },
834 "fileId": { 834 "fileId": {
835 "description": "The ID for the file in question.", 835 "description": "The ID for the file in question.",
836 "location": "path", 836 "location": "path",
837 "required": true, 837 "required": true,
838 "type": "string" 838 "type": "string"
839 }, 839 },
840 "projection": { 840 "projection": {
841 "description": "This parameter is deprecated and has no function.", 841 "description": "This parameter is deprecated and has no function.",
842 "enum": [ 842 "enum": [
843 "BASIC", 843 "BASIC",
844 "FULL" 844 "FULL"
845 ], 845 ],
846 "enumDescriptions": [ 846 "enumDescriptions": [
847 "Deprecated", 847 "Deprecated",
848 "Deprecated" 848 "Deprecated"
849 ], 849 ],
850 "location": "query", 850 "location": "query",
851 "type": "string" 851 "type": "string"
852 }, 852 },
853 "revisionId": {
854 "description": "Specifies the Revision ID that shoul d be downloaded. Ignored unless alt=media is specified.",
855 "location": "query",
856 "type": "string"
857 },
853 "updateViewedDate": { 858 "updateViewedDate": {
854 "default": "false", 859 "default": "false",
855 "description": "Whether to update the view date afte r successfully retrieving the file.", 860 "description": "Whether to update the view date afte r successfully retrieving the file.",
856 "location": "query", 861 "location": "query",
857 "type": "boolean" 862 "type": "boolean"
858 } 863 }
859 }, 864 },
860 "path": "files/{fileId}", 865 "path": "files/{fileId}",
861 "response": { 866 "response": {
862 "$ref": "File" 867 "$ref": "File"
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 "watch": { 1323 "watch": {
1319 "description": "Subscribe to changes on a file", 1324 "description": "Subscribe to changes on a file",
1320 "httpMethod": "POST", 1325 "httpMethod": "POST",
1321 "id": "drive.files.watch", 1326 "id": "drive.files.watch",
1322 "parameterOrder": [ 1327 "parameterOrder": [
1323 "fileId" 1328 "fileId"
1324 ], 1329 ],
1325 "parameters": { 1330 "parameters": {
1326 "acknowledgeAbuse": { 1331 "acknowledgeAbuse": {
1327 "default": "false", 1332 "default": "false",
1328 "description": "Whether the user is acknowledging th e risk of downloading known malware or other abusive files.", 1333 "description": "Whether the user is acknowledging th e risk of downloading known malware or other abusive files. Ignored unless alt=m edia is specified.",
1329 "location": "query", 1334 "location": "query",
1330 "type": "boolean" 1335 "type": "boolean"
1331 }, 1336 },
1332 "fileId": { 1337 "fileId": {
1333 "description": "The ID for the file in question.", 1338 "description": "The ID for the file in question.",
1334 "location": "path", 1339 "location": "path",
1335 "required": true, 1340 "required": true,
1336 "type": "string" 1341 "type": "string"
1337 }, 1342 },
1338 "projection": { 1343 "projection": {
1339 "description": "This parameter is deprecated and has no function.", 1344 "description": "This parameter is deprecated and has no function.",
1340 "enum": [ 1345 "enum": [
1341 "BASIC", 1346 "BASIC",
1342 "FULL" 1347 "FULL"
1343 ], 1348 ],
1344 "enumDescriptions": [ 1349 "enumDescriptions": [
1345 "Deprecated", 1350 "Deprecated",
1346 "Deprecated" 1351 "Deprecated"
1347 ], 1352 ],
1348 "location": "query", 1353 "location": "query",
1349 "type": "string" 1354 "type": "string"
1350 }, 1355 },
1356 "revisionId": {
1357 "description": "Specifies the Revision ID that shoul d be downloaded. Ignored unless alt=media is specified.",
1358 "location": "query",
1359 "type": "string"
1360 },
1351 "updateViewedDate": { 1361 "updateViewedDate": {
1352 "default": "false", 1362 "default": "false",
1353 "description": "Whether to update the view date afte r successfully retrieving the file.", 1363 "description": "Whether to update the view date afte r successfully retrieving the file.",
1354 "location": "query", 1364 "location": "query",
1355 "type": "boolean" 1365 "type": "boolean"
1356 } 1366 }
1357 }, 1367 },
1358 "path": "files/{fileId}/watch", 1368 "path": "files/{fileId}/watch",
1359 "request": { 1369 "request": {
1360 "$ref": "Channel", 1370 "$ref": "Channel",
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 "type": "string" 1678 "type": "string"
1669 }, 1679 },
1670 "permissionId": { 1680 "permissionId": {
1671 "description": "The ID for the permission.", 1681 "description": "The ID for the permission.",
1672 "location": "path", 1682 "location": "path",
1673 "required": true, 1683 "required": true,
1674 "type": "string" 1684 "type": "string"
1675 }, 1685 },
1676 "transferOwnership": { 1686 "transferOwnership": {
1677 "default": "false", 1687 "default": "false",
1678 "description": "Whether changing a role to 'owner' s hould also downgrade the current owners to writers.", 1688 "description": "Whether changing a role to 'owner' d owngrades the current owners to writers. Does nothing if the specified role is n ot 'owner'.",
1679 "location": "query", 1689 "location": "query",
1680 "type": "boolean" 1690 "type": "boolean"
1681 } 1691 }
1682 }, 1692 },
1683 "path": "files/{fileId}/permissions/{permissionId}", 1693 "path": "files/{fileId}/permissions/{permissionId}",
1684 "request": { 1694 "request": {
1685 "$ref": "Permission" 1695 "$ref": "Permission"
1686 }, 1696 },
1687 "response": { 1697 "response": {
1688 "$ref": "Permission" 1698 "$ref": "Permission"
(...skipping 19 matching lines...) Expand all
1708 "type": "string" 1718 "type": "string"
1709 }, 1719 },
1710 "permissionId": { 1720 "permissionId": {
1711 "description": "The ID for the permission.", 1721 "description": "The ID for the permission.",
1712 "location": "path", 1722 "location": "path",
1713 "required": true, 1723 "required": true,
1714 "type": "string" 1724 "type": "string"
1715 }, 1725 },
1716 "transferOwnership": { 1726 "transferOwnership": {
1717 "default": "false", 1727 "default": "false",
1718 "description": "Whether changing a role to 'owner' s hould also downgrade the current owners to writers.", 1728 "description": "Whether changing a role to 'owner' d owngrades the current owners to writers. Does nothing if the specified role is n ot 'owner'.",
1719 "location": "query", 1729 "location": "query",
1720 "type": "boolean" 1730 "type": "boolean"
1721 } 1731 }
1722 }, 1732 },
1723 "path": "files/{fileId}/permissions/{permissionId}", 1733 "path": "files/{fileId}/permissions/{permissionId}",
1724 "request": { 1734 "request": {
1725 "$ref": "Permission" 1735 "$ref": "Permission"
1726 }, 1736 },
1727 "response": { 1737 "response": {
1728 "$ref": "Permission" 1738 "$ref": "Permission"
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
2437 }, 2447 },
2438 "scopes": [ 2448 "scopes": [
2439 "https://www.googleapis.com/auth/drive", 2449 "https://www.googleapis.com/auth/drive",
2440 "https://www.googleapis.com/auth/drive.appdata", 2450 "https://www.googleapis.com/auth/drive.appdata",
2441 "https://www.googleapis.com/auth/drive.file" 2451 "https://www.googleapis.com/auth/drive.file"
2442 ] 2452 ]
2443 } 2453 }
2444 } 2454 }
2445 } 2455 }
2446 }, 2456 },
2447 "revision": "20150108", 2457 "revision": "20150326",
2448 "rootUrl": "https://www.googleapis.com/", 2458 "rootUrl": "https://www.googleapis.com/",
2449 "schemas": { 2459 "schemas": {
2450 "About": { 2460 "About": {
2451 "description": "An item with user information and settings.", 2461 "description": "An item with user information and settings.",
2452 "id": "About", 2462 "id": "About",
2453 "properties": { 2463 "properties": {
2454 "additionalRoleInfo": { 2464 "additionalRoleInfo": {
2455 "description": "Information about supported additional roles per file type. The most specific type takes precedence.", 2465 "description": "Information about supported additional roles per file type. The most specific type takes precedence.",
2456 "items": { 2466 "items": {
2457 "properties": { 2467 "properties": {
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
2724 }, 2734 },
2725 "name": { 2735 "name": {
2726 "description": "The name of the app.", 2736 "description": "The name of the app.",
2727 "type": "string" 2737 "type": "string"
2728 }, 2738 },
2729 "objectType": { 2739 "objectType": {
2730 "description": "The type of object this app creates (e.g. Ch art). If empty, the app name should be used instead.", 2740 "description": "The type of object this app creates (e.g. Ch art). If empty, the app name should be used instead.",
2731 "type": "string" 2741 "type": "string"
2732 }, 2742 },
2733 "openUrlTemplate": { 2743 "openUrlTemplate": {
2734 "description": "The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the a ctual file ids.", 2744 "description": "The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the a ctual file ids. See Open Files for the full documentation.",
2735 "type": "string" 2745 "type": "string"
2736 }, 2746 },
2737 "primaryFileExtensions": { 2747 "primaryFileExtensions": {
2738 "description": "The list of primary file extensions.", 2748 "description": "The list of primary file extensions.",
2739 "items": { 2749 "items": {
2740 "type": "string" 2750 "type": "string"
2741 }, 2751 },
2742 "type": "array" 2752 "type": "array"
2743 }, 2753 },
2744 "primaryMimeTypes": { 2754 "primaryMimeTypes": {
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
3451 }, 3461 },
3452 "restricted": { 3462 "restricted": {
3453 "description": "Whether viewers are prevented from d ownloading this file.", 3463 "description": "Whether viewers are prevented from d ownloading this file.",
3454 "type": "boolean" 3464 "type": "boolean"
3455 }, 3465 },
3456 "starred": { 3466 "starred": {
3457 "description": "Whether this file is starred by the user.", 3467 "description": "Whether this file is starred by the user.",
3458 "type": "boolean" 3468 "type": "boolean"
3459 }, 3469 },
3460 "trashed": { 3470 "trashed": {
3461 "description": "Whether this file has been trashed." , 3471 "description": "Whether this file has been trashed. This label applies to all users accessing the file; however, only owners are all owed to see and untrash files.",
3462 "type": "boolean" 3472 "type": "boolean"
3463 }, 3473 },
3464 "viewed": { 3474 "viewed": {
3465 "description": "Whether this file has been viewed by this user.", 3475 "description": "Whether this file has been viewed by this user.",
3466 "type": "boolean" 3476 "type": "boolean"
3467 } 3477 }
3468 }, 3478 },
3469 "type": "object" 3479 "type": "object"
3470 }, 3480 },
3471 "lastModifyingUser": { 3481 "lastModifyingUser": {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
3569 "type": "string" 3579 "type": "string"
3570 }, 3580 },
3571 "sharingUser": { 3581 "sharingUser": {
3572 "$ref": "User", 3582 "$ref": "User",
3573 "description": "User that shared the item with the current u ser, if available." 3583 "description": "User that shared the item with the current u ser, if available."
3574 }, 3584 },
3575 "thumbnail": { 3585 "thumbnail": {
3576 "description": "Thumbnail for the file. Only accepted on upl oad and for files that are not already thumbnailed by Google.", 3586 "description": "Thumbnail for the file. Only accepted on upl oad and for files that are not already thumbnailed by Google.",
3577 "properties": { 3587 "properties": {
3578 "image": { 3588 "image": {
3579 "description": "The URL-safe Base64 encoded bytes of the thumbnail image.", 3589 "description": "The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.",
3580 "format": "byte", 3590 "format": "byte",
3581 "type": "string" 3591 "type": "string"
3582 }, 3592 },
3583 "mimeType": { 3593 "mimeType": {
3584 "description": "The MIME type of the thumbnail.", 3594 "description": "The MIME type of the thumbnail.",
3585 "type": "string" 3595 "type": "string"
3586 } 3596 }
3587 }, 3597 },
3588 "type": "object" 3598 "type": "object"
3589 }, 3599 },
3590 "thumbnailLink": { 3600 "thumbnailLink": {
3591 "description": "A link to the file's thumbnail.", 3601 "description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours.",
3592 "type": "string" 3602 "type": "string"
3593 }, 3603 },
3594 "title": { 3604 "title": {
3595 "description": "The title of this file.", 3605 "description": "The title of this file.",
3596 "type": "string" 3606 "type": "string"
3597 }, 3607 },
3598 "userPermission": { 3608 "userPermission": {
3599 "$ref": "Permission", 3609 "$ref": "Permission",
3600 "description": "The permissions for the authenticated user o n this file." 3610 "description": "The permissions for the authenticated user o n this file."
3601 }, 3611 },
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
3849 "type": "string" 3859 "type": "string"
3850 }, 3860 },
3851 "selfLink": { 3861 "selfLink": {
3852 "description": "A link back to this list.", 3862 "description": "A link back to this list.",
3853 "type": "string" 3863 "type": "string"
3854 } 3864 }
3855 }, 3865 },
3856 "type": "object" 3866 "type": "object"
3857 }, 3867 },
3858 "Property": { 3868 "Property": {
3859 "description": "A key-value pair that is either public or private to an application.", 3869 "description": "A key-value pair attached to a file that is either p ublic or private to an application.\nThe following limits apply to file properti es: \n- Maximum of 100 properties total per file\n- Maximum of 30 private prope rties per app\n- Maximum of 30 public properties\n- Maximum of 124 bytes size li mit on (key + value) string in UTF-8 encoding for a single property.",
3860 "id": "Property", 3870 "id": "Property",
3861 "properties": { 3871 "properties": {
3862 "etag": { 3872 "etag": {
3863 "description": "ETag of the property.", 3873 "description": "ETag of the property.",
3864 "type": "string" 3874 "type": "string"
3865 }, 3875 },
3866 "key": { 3876 "key": {
3867 "description": "The key of this property.", 3877 "description": "The key of this property.",
3868 "type": "string" 3878 "type": "string"
3869 }, 3879 },
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
4062 }, 4072 },
4063 "type": "object" 4073 "type": "object"
4064 } 4074 }
4065 }, 4075 },
4066 "type": "object" 4076 "type": "object"
4067 } 4077 }
4068 }, 4078 },
4069 "servicePath": "drive/v2/", 4079 "servicePath": "drive/v2/",
4070 "title": "Drive API", 4080 "title": "Drive API",
4071 "version": "v2" 4081 "version": "v2"
4072 } 4082 }
OLDNEW
« no previous file with comments | « discovery/googleapis/doubleclicksearch__v2.json ('k') | discovery/googleapis/freebase__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698