OLD | NEW |
(Empty) | |
| 1 { |
| 2 "basePath": "/groups/v1/groups/", |
| 3 "baseUrl": "https://www.googleapis.com/groups/v1/groups/", |
| 4 "batchPath": "batch", |
| 5 "canonicalName": "Groups Migration", |
| 6 "description": "Groups Migration Api.", |
| 7 "discoveryVersion": "v1", |
| 8 "documentationLink": "https://developers.google.com/google-apps/groups-migra
tion/", |
| 9 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/uMvgRqCygYBIh2d3lXb4f8cUWOw\"", |
| 10 "icons": { |
| 11 "x16": "http://www.google.com/images/icons/product/discussions-16.gif", |
| 12 "x32": "http://www.google.com/images/icons/product/discussions-32.gif" |
| 13 }, |
| 14 "id": "groupsmigration:v1", |
| 15 "kind": "discovery#restDescription", |
| 16 "name": "groupsmigration", |
| 17 "ownerDomain": "google.com", |
| 18 "ownerName": "Google", |
| 19 "parameters": { |
| 20 "alt": { |
| 21 "default": "json", |
| 22 "description": "Data format for the response.", |
| 23 "enum": [ |
| 24 "json" |
| 25 ], |
| 26 "enumDescriptions": [ |
| 27 "Responses with Content-Type of application/json" |
| 28 ], |
| 29 "location": "query", |
| 30 "type": "string" |
| 31 }, |
| 32 "fields": { |
| 33 "description": "Selector specifying which fields to include in a par
tial response.", |
| 34 "location": "query", |
| 35 "type": "string" |
| 36 }, |
| 37 "key": { |
| 38 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 39 "location": "query", |
| 40 "type": "string" |
| 41 }, |
| 42 "oauth_token": { |
| 43 "description": "OAuth 2.0 token for the current user.", |
| 44 "location": "query", |
| 45 "type": "string" |
| 46 }, |
| 47 "prettyPrint": { |
| 48 "default": "true", |
| 49 "description": "Returns response with indentations and line breaks."
, |
| 50 "location": "query", |
| 51 "type": "boolean" |
| 52 }, |
| 53 "quotaUser": { |
| 54 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters. Overrides userIp if both are provided.", |
| 55 "location": "query", |
| 56 "type": "string" |
| 57 }, |
| 58 "userIp": { |
| 59 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 60 "location": "query", |
| 61 "type": "string" |
| 62 } |
| 63 }, |
| 64 "protocol": "rest", |
| 65 "resources": { |
| 66 "archive": { |
| 67 "methods": { |
| 68 "insert": { |
| 69 "description": "Inserts a new mail into the archive of the G
oogle group.", |
| 70 "httpMethod": "POST", |
| 71 "id": "groupsmigration.archive.insert", |
| 72 "mediaUpload": { |
| 73 "accept": [ |
| 74 "message/rfc822" |
| 75 ], |
| 76 "maxSize": "16MB", |
| 77 "protocols": { |
| 78 "resumable": { |
| 79 "multipart": true, |
| 80 "path": "/resumable/upload/groups/v1/groups/{gro
upId}/archive" |
| 81 }, |
| 82 "simple": { |
| 83 "multipart": true, |
| 84 "path": "/upload/groups/v1/groups/{groupId}/arch
ive" |
| 85 } |
| 86 } |
| 87 }, |
| 88 "parameterOrder": [ |
| 89 "groupId" |
| 90 ], |
| 91 "parameters": { |
| 92 "groupId": { |
| 93 "description": "The group ID", |
| 94 "location": "path", |
| 95 "required": true, |
| 96 "type": "string" |
| 97 } |
| 98 }, |
| 99 "path": "{groupId}/archive", |
| 100 "response": { |
| 101 "$ref": "Groups" |
| 102 }, |
| 103 "supportsMediaUpload": true |
| 104 } |
| 105 } |
| 106 } |
| 107 }, |
| 108 "revision": "20140416", |
| 109 "rootUrl": "https://www.googleapis.com/", |
| 110 "schemas": { |
| 111 "Groups": { |
| 112 "description": "JSON response template for groups migration API.", |
| 113 "id": "Groups", |
| 114 "properties": { |
| 115 "kind": { |
| 116 "default": "groupsmigration#groups", |
| 117 "description": "The kind of insert resource this is.", |
| 118 "type": "string" |
| 119 }, |
| 120 "responseCode": { |
| 121 "description": "The status of the insert request.", |
| 122 "type": "string" |
| 123 } |
| 124 }, |
| 125 "type": "object" |
| 126 } |
| 127 }, |
| 128 "servicePath": "groups/v1/groups/", |
| 129 "title": "Groups Migration API", |
| 130 "version": "v1" |
| 131 } |
OLD | NEW |