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

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

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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/drive__v3.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 in your Google Dri ve" 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 },
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 } 32 }
33 } 33 }
34 }, 34 },
35 "basePath": "/drive/v2/", 35 "basePath": "/drive/v2/",
36 "baseUrl": "https://www.googleapis.com/drive/v2/", 36 "baseUrl": "https://www.googleapis.com/drive/v2/",
37 "batchPath": "batch", 37 "batchPath": "batch",
38 "description": "Manages files in Drive including uploading, downloading, sea rching, detecting changes, and updating sharing permissions.", 38 "description": "Manages files in Drive including uploading, downloading, sea rching, detecting changes, and updating sharing permissions.",
39 "discoveryVersion": "v1", 39 "discoveryVersion": "v1",
40 "documentationLink": "https://developers.google.com/drive/", 40 "documentationLink": "https://developers.google.com/drive/",
41 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/qrYsvJ0sVCZdzpl7hbEwTmDDCNM\"", 41 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/y_a-CqNzWjAnaHC0v3451Z9D_8M\"",
42 "icons": { 42 "icons": {
43 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", 43 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
44 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" 44 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
45 }, 45 },
46 "id": "drive:v2", 46 "id": "drive:v2",
47 "kind": "discovery#restDescription", 47 "kind": "discovery#restDescription",
48 "name": "drive", 48 "name": "drive",
49 "ownerDomain": "google.com", 49 "ownerDomain": "google.com",
50 "ownerName": "Google", 50 "ownerName": "Google",
51 "parameters": { 51 "parameters": {
(...skipping 2498 matching lines...) Expand 10 before | Expand all | Expand 10 after
2550 "fileId" 2550 "fileId"
2551 ], 2551 ],
2552 "parameters": { 2552 "parameters": {
2553 "fileId": { 2553 "fileId": {
2554 "description": "The ID of the file.", 2554 "description": "The ID of the file.",
2555 "location": "path", 2555 "location": "path",
2556 "required": true, 2556 "required": true,
2557 "type": "string" 2557 "type": "string"
2558 }, 2558 },
2559 "maxResults": { 2559 "maxResults": {
2560 "default": "200",
2560 "description": "Maximum number of revisions to retur n.", 2561 "description": "Maximum number of revisions to retur n.",
2561 "format": "int32", 2562 "format": "int32",
2562 "location": "query", 2563 "location": "query",
2564 "maximum": "1000",
2563 "minimum": "1", 2565 "minimum": "1",
2564 "type": "integer" 2566 "type": "integer"
2565 }, 2567 },
2566 "pageToken": { 2568 "pageToken": {
2567 "description": "Page token for revisions. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", 2569 "description": "Page token for revisions. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.",
2568 "location": "query", 2570 "location": "query",
2569 "type": "string" 2571 "type": "string"
2570 } 2572 }
2571 }, 2573 },
2572 "path": "files/{fileId}/revisions", 2574 "path": "files/{fileId}/revisions",
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
2649 }, 2651 },
2650 "scopes": [ 2652 "scopes": [
2651 "https://www.googleapis.com/auth/drive", 2653 "https://www.googleapis.com/auth/drive",
2652 "https://www.googleapis.com/auth/drive.appdata", 2654 "https://www.googleapis.com/auth/drive.appdata",
2653 "https://www.googleapis.com/auth/drive.file" 2655 "https://www.googleapis.com/auth/drive.file"
2654 ] 2656 ]
2655 } 2657 }
2656 } 2658 }
2657 } 2659 }
2658 }, 2660 },
2659 "revision": "20161027", 2661 "revision": "20161201",
2660 "rootUrl": "https://www.googleapis.com/", 2662 "rootUrl": "https://www.googleapis.com/",
2661 "schemas": { 2663 "schemas": {
2662 "About": { 2664 "About": {
2663 "description": "An item with user information and settings.", 2665 "description": "An item with user information and settings.",
2664 "id": "About", 2666 "id": "About",
2665 "properties": { 2667 "properties": {
2666 "additionalRoleInfo": { 2668 "additionalRoleInfo": {
2667 "description": "Information about supported additional roles per file type. The most specific type takes precedence.", 2669 "description": "Information about supported additional roles per file type. The most specific type takes precedence.",
2668 "items": { 2670 "items": {
2669 "properties": { 2671 "properties": {
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
3514 "type": "string" 3516 "type": "string"
3515 }, 3517 },
3516 "folderColorRgb": { 3518 "folderColorRgb": {
3517 "description": "Folder color as an RGB hex string if the fil e is a folder. The list of supported colors is available in the folderColorPalet te field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.", 3519 "description": "Folder color as an RGB hex string if the fil e is a folder. The list of supported colors is available in the folderColorPalet te field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.",
3518 "type": "string" 3520 "type": "string"
3519 }, 3521 },
3520 "fullFileExtension": { 3522 "fullFileExtension": {
3521 "description": "The full file extension; extracted from the title. May contain multiple concatenated extensions, such as \"tar.gz\". Removin g an extension from the title does not clear this field; however, changing the e xtension on the title does update this field. This field is only populated for f iles with content stored in Drive; it is not populated for Google Docs or shortc ut files.", 3523 "description": "The full file extension; extracted from the title. May contain multiple concatenated extensions, such as \"tar.gz\". Removin g an extension from the title does not clear this field; however, changing the e xtension on the title does update this field. This field is only populated for f iles with content stored in Drive; it is not populated for Google Docs or shortc ut files.",
3522 "type": "string" 3524 "type": "string"
3523 }, 3525 },
3526 "hasThumbnail": {
3527 "description": "Whether this file has a thumbnail.",
3528 "type": "boolean"
3529 },
3524 "headRevisionId": { 3530 "headRevisionId": {
3525 "description": "The ID of the file's head revision. This fie ld is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.", 3531 "description": "The ID of the file's head revision. This fie ld is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.",
3526 "type": "string" 3532 "type": "string"
3527 }, 3533 },
3528 "iconLink": { 3534 "iconLink": {
3529 "description": "A link to the file's icon.", 3535 "description": "A link to the file's icon.",
3530 "type": "string" 3536 "type": "string"
3531 }, 3537 },
3532 "id": { 3538 "id": {
3533 "description": "The ID of the file.", 3539 "description": "The ID of the file.",
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
3812 "description": "User that shared the item with the current u ser, if available." 3818 "description": "User that shared the item with the current u ser, if available."
3813 }, 3819 },
3814 "spaces": { 3820 "spaces": {
3815 "description": "The list of spaces which contain the file. S upported values are 'drive', 'appDataFolder' and 'photos'.", 3821 "description": "The list of spaces which contain the file. S upported values are 'drive', 'appDataFolder' and 'photos'.",
3816 "items": { 3822 "items": {
3817 "type": "string" 3823 "type": "string"
3818 }, 3824 },
3819 "type": "array" 3825 "type": "array"
3820 }, 3826 },
3821 "thumbnail": { 3827 "thumbnail": {
3822 "description": "Thumbnail for the file. Only accepted on upl oad and for files that are not already thumbnailed by Google.", 3828 "description": "A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.",
3823 "properties": { 3829 "properties": {
3824 "image": { 3830 "image": {
3825 "description": "The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.", 3831 "description": "The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.",
3826 "format": "byte", 3832 "format": "byte",
3827 "type": "string" 3833 "type": "string"
3828 }, 3834 },
3829 "mimeType": { 3835 "mimeType": {
3830 "description": "The MIME type of the thumbnail.", 3836 "description": "The MIME type of the thumbnail.",
3831 "type": "string" 3837 "type": "string"
3832 } 3838 }
3833 }, 3839 },
3834 "type": "object" 3840 "type": "object"
3835 }, 3841 },
3836 "thumbnailLink": { 3842 "thumbnailLink": {
3837 "description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours.", 3843 "description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app ca n access the file's content.",
3844 "type": "string"
3845 },
3846 "thumbnailVersion": {
3847 "description": "The thumbnail version for use in client-cont ructable thumbnail URLs or thumbnail cache invalidation.",
3848 "format": "int64",
3838 "type": "string" 3849 "type": "string"
3839 }, 3850 },
3840 "title": { 3851 "title": {
3841 "description": "The title of this file.", 3852 "description": "The title of this file.",
3842 "type": "string" 3853 "type": "string"
3843 }, 3854 },
3844 "userPermission": { 3855 "userPermission": {
3845 "$ref": "Permission", 3856 "$ref": "Permission",
3846 "description": "The permissions for the authenticated user o n this file." 3857 "description": "The permissions for the authenticated user o n this file."
3847 }, 3858 },
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
4030 "etag": { 4041 "etag": {
4031 "description": "The ETag of the permission.", 4042 "description": "The ETag of the permission.",
4032 "type": "string" 4043 "type": "string"
4033 }, 4044 },
4034 "expirationDate": { 4045 "expirationDate": {
4035 "description": "The time at which this permission will expir e (RFC 3339 date-time).", 4046 "description": "The time at which this permission will expir e (RFC 3339 date-time).",
4036 "format": "date-time", 4047 "format": "date-time",
4037 "type": "string" 4048 "type": "string"
4038 }, 4049 },
4039 "id": { 4050 "id": {
4040 "description": "The ID of the user this permission refers to , and identical to the permissionId in the About and Files resources. When makin g a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type anyone, in which case both id and value are ignored.", 4051 "description": "The ID of the user this permission refers to , and identical to the permissionId in the About and Files resources. When makin g a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and va lue are ignored.",
4041 "type": "string" 4052 "type": "string"
4042 }, 4053 },
4043 "kind": { 4054 "kind": {
4044 "default": "drive#permission", 4055 "default": "drive#permission",
4045 "description": "This is always drive#permission.", 4056 "description": "This is always drive#permission.",
4046 "type": "string" 4057 "type": "string"
4047 }, 4058 },
4048 "name": { 4059 "name": {
4049 "description": "The name for this permission.", 4060 "description": "The name for this permission.",
4050 "type": "string" 4061 "type": "string"
(...skipping 18 matching lines...) Expand all
4069 "type": { 4080 "type": {
4070 "annotations": { 4081 "annotations": {
4071 "required": [ 4082 "required": [
4072 "drive.permissions.insert" 4083 "drive.permissions.insert"
4073 ] 4084 ]
4074 }, 4085 },
4075 "description": "The account type. Allowed values are: \n- u ser \n- group \n- domain \n- anyone", 4086 "description": "The account type. Allowed values are: \n- u ser \n- group \n- domain \n- anyone",
4076 "type": "string" 4087 "type": "string"
4077 }, 4088 },
4078 "value": { 4089 "value": {
4079 "description": "The email address or domain name for the ent ity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must b e specified unless the permission type anyone, in which case both id and value a re ignored.", 4090 "description": "The email address or domain name for the ent ity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must b e specified unless the permission type is anyone, in which case both id and valu e are ignored.",
4080 "type": "string" 4091 "type": "string"
4081 }, 4092 },
4082 "withLink": { 4093 "withLink": {
4083 "description": "Whether the link is required for this permis sion.", 4094 "description": "Whether the link is required for this permis sion.",
4084 "type": "boolean" 4095 "type": "boolean"
4085 } 4096 }
4086 }, 4097 },
4087 "type": "object" 4098 "type": "object"
4088 }, 4099 },
4089 "PermissionId": { 4100 "PermissionId": {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
4341 "type": "object" 4352 "type": "object"
4342 } 4353 }
4343 }, 4354 },
4344 "type": "object" 4355 "type": "object"
4345 } 4356 }
4346 }, 4357 },
4347 "servicePath": "drive/v2/", 4358 "servicePath": "drive/v2/",
4348 "title": "Drive API", 4359 "title": "Drive API",
4349 "version": "v2" 4360 "version": "v2"
4350 } 4361 }
OLDNEW
« no previous file with comments | « discovery/googleapis/doubleclicksearch__v2.json ('k') | discovery/googleapis/drive__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698