feat(deps): update-json using discovery API

Instead of depending on the google go client API repository, I now
use the original data source, namely the discovery API.

fixes #5
This commit is contained in:
Sebastian Thiel
2015-03-13 17:06:36 +01:00
parent c8061ebe2f
commit c0a2476058
85 changed files with 6937 additions and 1097 deletions

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/L-3fUMUnxAbeUiUzcuNcz8B5ukA\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8RJIB3OJzvhtr69lawXE8CcqDf4\"",
"discoveryVersion": "v1",
"id": "drive:v1",
"name": "drive",
"version": "v1",
"revision": "20141212",
"revision": "20150108",
"title": "Drive API",
"description": "The API to interact with Drive.",
"ownerDomain": "google.com",

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/r3JYC00RrAy0V0PUgOxY3WtVFg8\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ZgMjHnirW9jShGfpZfEVuQkjf2Y\"",
"discoveryVersion": "v1",
"id": "drive:v2",
"name": "drive",
"version": "v2",
"revision": "20141112",
"revision": "20150108",
"title": "Drive API",
"description": "The API to interact with Drive.",
"ownerDomain": "google.com",
@@ -1108,7 +1108,7 @@
},
"trashed": {
"type": "boolean",
"description": "Whether this file has been trashed."
"description": "Whether this file has been trashed. This label applies to all users accessing the file; however, only owners are allowed to see and untrash files."
},
"viewed": {
"type": "boolean",
@@ -1226,7 +1226,7 @@
"properties": {
"image": {
"type": "string",
"description": "The URL-safe Base64 encoded bytes of the thumbnail image.",
"description": "The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.",
"format": "byte"
},
"mimeType": {
@@ -1237,7 +1237,7 @@
},
"thumbnailLink": {
"type": "string",
"description": "A link to the file's thumbnail."
"description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours."
},
"title": {
"type": "string",
@@ -2415,7 +2415,7 @@
"id": "drive.files.delete",
"path": "files/{fileId}",
"httpMethod": "DELETE",
"description": "Permanently deletes a file by ID. Skips the trash.",
"description": "Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file.",
"parameters": {
"fileId": {
"type": "string",
@@ -3297,7 +3297,7 @@
},
"transferOwnership": {
"type": "boolean",
"description": "Whether changing a role to 'owner' should also downgrade the current owners to writers.",
"description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.",
"default": "false",
"location": "query"
}
@@ -3337,7 +3337,7 @@
},
"transferOwnership": {
"type": "boolean",
"description": "Whether changing a role to 'owner' should also downgrade the current owners to writers.",
"description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.",
"default": "false",
"location": "query"
}