distribution/vendor/google.golang.org/api/groupsmigration/v1/groupsmigration-api.json
Olivier Gambier 77e69b9cf3 Move to vendor
Signed-off-by: Olivier Gambier <olivier@docker.com>
2016-03-22 10:45:49 -07:00

143 lines
3.8 KiB
JSON

{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8sBrpk7dyPsmoiW1fArUb0ZoCGY\"",
"discoveryVersion": "v1",
"id": "groupsmigration:v1",
"name": "groupsmigration",
"canonicalName": "Groups Migration",
"version": "v1",
"revision": "20140416",
"title": "Groups Migration API",
"description": "Groups Migration Api.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/discussions-16.gif",
"x32": "http://www.google.com/images/icons/product/discussions-32.gif"
},
"documentationLink": "https://developers.google.com/google-apps/groups-migration/",
"protocol": "rest",
"baseUrl": "https://www.googleapis.com/groups/v1/groups/",
"basePath": "/groups/v1/groups/",
"rootUrl": "https://www.googleapis.com/",
"servicePath": "groups/v1/groups/",
"batchPath": "batch",
"parameters": {
"alt": {
"type": "string",
"description": "Data format for the response.",
"default": "json",
"enum": [
"json"
],
"enumDescriptions": [
"Responses with Content-Type of application/json"
],
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"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. Overrides userIp if both are provided.",
"location": "query"
},
"userIp": {
"type": "string",
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/apps.groups.migration": {
"description": "Manage messages in groups on your domain"
}
}
}
},
"schemas": {
"Groups": {
"id": "Groups",
"type": "object",
"description": "JSON response template for groups migration API.",
"properties": {
"kind": {
"type": "string",
"description": "The kind of insert resource this is.",
"default": "groupsmigration#groups"
},
"responseCode": {
"type": "string",
"description": "The status of the insert request."
}
}
}
},
"resources": {
"archive": {
"methods": {
"insert": {
"id": "groupsmigration.archive.insert",
"path": "{groupId}/archive",
"httpMethod": "POST",
"description": "Inserts a new mail into the archive of the Google group.",
"parameters": {
"groupId": {
"type": "string",
"description": "The group ID",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"groupId"
],
"response": {
"$ref": "Groups"
},
"scopes": [
"https://www.googleapis.com/auth/apps.groups.migration"
],
"supportsMediaUpload": true,
"mediaUpload": {
"accept": [
"message/rfc822"
],
"maxSize": "16MB",
"protocols": {
"simple": {
"multipart": true,
"path": "/upload/groups/v1/groups/{groupId}/archive"
},
"resumable": {
"multipart": true,
"path": "/resumable/upload/groups/v1/groups/{groupId}/archive"
}
}
}
}
}
}
}
}