update API descriptions

This commit is contained in:
Sebastian Thiel
2020-07-10 09:11:32 +08:00
parent b6ee34dcff
commit 69fb05c4e1
271 changed files with 82506 additions and 23249 deletions

View File

@@ -8,36 +8,63 @@
}
}
},
"basePath": "/groups/v1/groups/",
"baseUrl": "https://www.googleapis.com/groups/v1/groups/",
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/groupsmigration/v1",
"canonicalName": "Groups Migration",
"description": "Groups Migration Api.",
"description": "The Groups Migration API allows domain administrators to archive\n emails into Google groups.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/google-apps/groups-migration/",
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/qDu5470S_QfnHCP_4GxoX8OU3Kg\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/discussions-16.gif",
"x32": "https://www.google.com/images/icons/product/discussions-32.gif"
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "groupsmigration:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"name": "groupsmigration",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"alt": {
"default": "json",
"description": "Data format for the response.",
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"json"
"1",
"2"
],
"enumDescriptions": [
"Responses with Content-Type of application/json"
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
@@ -60,12 +87,17 @@
"type": "boolean"
},
"quotaUser": {
"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"userIp": {
"description": "Deprecated. Please use quotaUser instead.",
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
@@ -76,18 +108,15 @@
"methods": {
"insert": {
"description": "Inserts a new mail into the archive of the Google group.",
"flatPath": "groups/v1/groups/{groupId}/archive",
"httpMethod": "POST",
"id": "groupsmigration.archive.insert",
"mediaUpload": {
"accept": [
"message/rfc822"
],
"maxSize": "25MB",
"maxSize": "26214400",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/groups/v1/groups/{groupId}/archive"
},
"simple": {
"multipart": true,
"path": "/upload/groups/v1/groups/{groupId}/archive"
@@ -105,7 +134,7 @@
"type": "string"
}
},
"path": "{groupId}/archive",
"path": "groups/v1/groups/{groupId}/archive",
"response": {
"$ref": "Groups"
},
@@ -117,7 +146,7 @@
}
}
},
"revision": "20181126",
"revision": "20200630",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Groups": {
@@ -125,7 +154,6 @@
"id": "Groups",
"properties": {
"kind": {
"default": "groupsmigration#groups",
"description": "The kind of insert resource this is.",
"type": "string"
},
@@ -137,7 +165,7 @@
"type": "object"
}
},
"servicePath": "groups/v1/groups/",
"servicePath": "",
"title": "Groups Migration API",
"version": "v1"
}