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 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 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 } | 29 } |
30 } | 30 } |
31 }, | 31 }, |
32 "basePath": "/drive/v3/", | 32 "basePath": "/drive/v3/", |
33 "baseUrl": "https://www.googleapis.com/drive/v3/", | 33 "baseUrl": "https://www.googleapis.com/drive/v3/", |
34 "batchPath": "batch", | 34 "batchPath": "batch", |
35 "description": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", | 35 "description": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", |
36 "discoveryVersion": "v1", | 36 "discoveryVersion": "v1", |
37 "documentationLink": "https://developers.google.com/drive/", | 37 "documentationLink": "https://developers.google.com/drive/", |
38 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/N2fY6s5zrwZA-4JC2uCCHKSs7Ys\"", | 38 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/7Z-iy05XjjWpb2qvzxznsUwRNAo\"", |
39 "icons": { | 39 "icons": { |
40 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", | 40 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", |
41 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" | 41 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" |
42 }, | 42 }, |
43 "id": "drive:v3", | 43 "id": "drive:v3", |
44 "kind": "discovery#restDescription", | 44 "kind": "discovery#restDescription", |
45 "name": "drive", | 45 "name": "drive", |
46 "ownerDomain": "google.com", | 46 "ownerDomain": "google.com", |
47 "ownerName": "Google", | 47 "ownerName": "Google", |
48 "parameters": { | 48 "parameters": { |
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 "fileId" | 1353 "fileId" |
1354 ], | 1354 ], |
1355 "parameters": { | 1355 "parameters": { |
1356 "fileId": { | 1356 "fileId": { |
1357 "description": "The ID of the file.", | 1357 "description": "The ID of the file.", |
1358 "location": "path", | 1358 "location": "path", |
1359 "required": true, | 1359 "required": true, |
1360 "type": "string" | 1360 "type": "string" |
1361 }, | 1361 }, |
1362 "pageSize": { | 1362 "pageSize": { |
| 1363 "default": "200", |
1363 "description": "The maximum number of revisions to r
eturn per page.", | 1364 "description": "The maximum number of revisions to r
eturn per page.", |
1364 "format": "int32", | 1365 "format": "int32", |
1365 "location": "query", | 1366 "location": "query", |
| 1367 "maximum": "1000", |
1366 "minimum": "1", | 1368 "minimum": "1", |
1367 "type": "integer" | 1369 "type": "integer" |
1368 }, | 1370 }, |
1369 "pageToken": { | 1371 "pageToken": { |
1370 "description": "The token for continuing a previous
list request on the next page. This should be set to the value of 'nextPageToken
' from the previous response.", | 1372 "description": "The token for continuing a previous
list request on the next page. This should be set to the value of 'nextPageToken
' from the previous response.", |
1371 "location": "query", | 1373 "location": "query", |
1372 "type": "string" | 1374 "type": "string" |
1373 } | 1375 } |
1374 }, | 1376 }, |
1375 "path": "files/{fileId}/revisions", | 1377 "path": "files/{fileId}/revisions", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1417 }, | 1419 }, |
1418 "scopes": [ | 1420 "scopes": [ |
1419 "https://www.googleapis.com/auth/drive", | 1421 "https://www.googleapis.com/auth/drive", |
1420 "https://www.googleapis.com/auth/drive.appdata", | 1422 "https://www.googleapis.com/auth/drive.appdata", |
1421 "https://www.googleapis.com/auth/drive.file" | 1423 "https://www.googleapis.com/auth/drive.file" |
1422 ] | 1424 ] |
1423 } | 1425 } |
1424 } | 1426 } |
1425 } | 1427 } |
1426 }, | 1428 }, |
1427 "revision": "20161027", | 1429 "revision": "20161201", |
1428 "rootUrl": "https://www.googleapis.com/", | 1430 "rootUrl": "https://www.googleapis.com/", |
1429 "schemas": { | 1431 "schemas": { |
1430 "About": { | 1432 "About": { |
1431 "description": "Information about the user, the user's Drive, and sy
stem capabilities.", | 1433 "description": "Information about the user, the user's Drive, and sy
stem capabilities.", |
1432 "id": "About", | 1434 "id": "About", |
1433 "properties": { | 1435 "properties": { |
1434 "appInstalled": { | 1436 "appInstalled": { |
1435 "description": "Whether the user has installed the requestin
g app.", | 1437 "description": "Whether the user has installed the requestin
g app.", |
1436 "type": "boolean" | 1438 "type": "boolean" |
1437 }, | 1439 }, |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1802 "type": "string" | 1804 "type": "string" |
1803 }, | 1805 }, |
1804 "folderColorRgb": { | 1806 "folderColorRgb": { |
1805 "description": "The color for a folder as an RGB hex string.
The supported colors are published in the folderColorPalette field of the About
resource.\nIf an unsupported color is specified, the closest color in the palet
te will be used instead.", | 1807 "description": "The color for a folder as an RGB hex string.
The supported colors are published in the folderColorPalette field of the About
resource.\nIf an unsupported color is specified, the closest color in the palet
te will be used instead.", |
1806 "type": "string" | 1808 "type": "string" |
1807 }, | 1809 }, |
1808 "fullFileExtension": { | 1810 "fullFileExtension": { |
1809 "description": "The full file extension extracted from the n
ame field. May contain multiple concatenated extensions, such as \"tar.gz\". Thi
s is only available for files with binary content in Drive.\nThis is automatical
ly updated when the name field changes, however it is not cleared if the new nam
e does not contain a valid extension.", | 1811 "description": "The full file extension extracted from the n
ame field. May contain multiple concatenated extensions, such as \"tar.gz\". Thi
s is only available for files with binary content in Drive.\nThis is automatical
ly updated when the name field changes, however it is not cleared if the new nam
e does not contain a valid extension.", |
1810 "type": "string" | 1812 "type": "string" |
1811 }, | 1813 }, |
| 1814 "hasThumbnail": { |
| 1815 "description": "Whether this file has a thumbnail.", |
| 1816 "type": "boolean" |
| 1817 }, |
1812 "headRevisionId": { | 1818 "headRevisionId": { |
1813 "description": "The ID of the file's head revision. This is
currently only available for files with binary content in Drive.", | 1819 "description": "The ID of the file's head revision. This is
currently only available for files with binary content in Drive.", |
1814 "type": "string" | 1820 "type": "string" |
1815 }, | 1821 }, |
1816 "iconLink": { | 1822 "iconLink": { |
1817 "description": "A static, unauthenticated link to the file's
icon.", | 1823 "description": "A static, unauthenticated link to the file's
icon.", |
1818 "type": "string" | 1824 "type": "string" |
1819 }, | 1825 }, |
1820 "id": { | 1826 "id": { |
1821 "description": "The ID of the file.", | 1827 "description": "The ID of the file.", |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2041 "items": { | 2047 "items": { |
2042 "type": "string" | 2048 "type": "string" |
2043 }, | 2049 }, |
2044 "type": "array" | 2050 "type": "array" |
2045 }, | 2051 }, |
2046 "starred": { | 2052 "starred": { |
2047 "description": "Whether the user has starred the file.", | 2053 "description": "Whether the user has starred the file.", |
2048 "type": "boolean" | 2054 "type": "boolean" |
2049 }, | 2055 }, |
2050 "thumbnailLink": { | 2056 "thumbnailLink": { |
2051 "description": "A short-lived link to the file's thumbnail,
if available. Typically lasts on the order of hours.", | 2057 "description": "A short-lived link to the file's thumbnail,
if available. Typically lasts on the order of hours. Only populated when the req
uesting app can access the file's content.", |
| 2058 "type": "string" |
| 2059 }, |
| 2060 "thumbnailVersion": { |
| 2061 "description": "The thumbnail version for use in client-cont
ructable thumbnail URLs or thumbnail cache invalidation.", |
| 2062 "format": "int64", |
2052 "type": "string" | 2063 "type": "string" |
2053 }, | 2064 }, |
2054 "trashed": { | 2065 "trashed": { |
2055 "description": "Whether the file has been trashed, either ex
plicitly or from a trashed parent folder. Only the owner may trash a file, and o
ther users cannot see files in the owner's trash.", | 2066 "description": "Whether the file has been trashed, either ex
plicitly or from a trashed parent folder. Only the owner may trash a file, and o
ther users cannot see files in the owner's trash.", |
2056 "type": "boolean" | 2067 "type": "boolean" |
2057 }, | 2068 }, |
2058 "version": { | 2069 "version": { |
2059 "description": "A monotonically increasing version number fo
r the file. This reflects every change made to the file on the server, even thos
e not visible to the user.", | 2070 "description": "A monotonically increasing version number fo
r the file. This reflects every change made to the file on the server, even thos
e not visible to the user.", |
2060 "format": "int64", | 2071 "format": "int64", |
2061 "type": "string" | 2072 "type": "string" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2433 "type": "string" | 2444 "type": "string" |
2434 } | 2445 } |
2435 }, | 2446 }, |
2436 "type": "object" | 2447 "type": "object" |
2437 } | 2448 } |
2438 }, | 2449 }, |
2439 "servicePath": "drive/v3/", | 2450 "servicePath": "drive/v3/", |
2440 "title": "Drive API", | 2451 "title": "Drive API", |
2441 "version": "v3" | 2452 "version": "v3" |
2442 } | 2453 } |
OLD | NEW |