blob: e029841e2dd5ad621b07e4517c873b6189170048 [file] [log] [blame]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001{
2 "baseUrl": "https://groupsmigration.googleapis.com/",
3 "ownerDomain": "google.com",
4 "documentationLink": "https://developers.google.com/google-apps/groups-migration/",
5 "discoveryVersion": "v1",
6 "ownerName": "Google",
7 "servicePath": "",
8 "mtlsRootUrl": "https://groupsmigration.mtls.googleapis.com/",
9 "title": "Groups Migration API",
10 "icons": {
11 "x16": "http://www.google.com/images/icons/product/search-16.gif",
12 "x32": "http://www.google.com/images/icons/product/search-32.gif"
13 },
14 "basePath": "",
15 "resources": {
16 "archive": {
17 "methods": {
18 "insert": {
19 "parameterOrder": [
20 "groupId"
21 ],
22 "path": "groups/v1/groups/{groupId}/archive",
23 "supportsMediaUpload": true,
24 "response": {
25 "$ref": "Groups"
26 },
27 "httpMethod": "POST",
28 "description": "Inserts a new mail into the archive of the Google group.",
29 "flatPath": "groups/v1/groups/{groupId}/archive",
30 "id": "groupsmigration.archive.insert",
31 "scopes": [
32 "https://www.googleapis.com/auth/apps.groups.migration"
33 ],
34 "parameters": {
35 "groupId": {
36 "description": "The group ID",
37 "required": true,
38 "location": "path",
39 "type": "string"
40 }
41 },
42 "mediaUpload": {
43 "accept": [
44 "message/rfc822"
45 ],
46 "maxSize": "26214400",
47 "protocols": {
48 "simple": {
49 "path": "/upload/groups/v1/groups/{groupId}/archive",
50 "multipart": true
51 }
52 }
53 }
54 }
55 }
56 }
57 },
58 "name": "groupsmigration",
59 "rootUrl": "https://groupsmigration.googleapis.com/",
60 "schemas": {
61 "Groups": {
62 "properties": {
63 "kind": {
64 "description": "The kind of insert resource this is.",
65 "type": "string"
66 },
67 "responseCode": {
68 "description": "The status of the insert request.",
69 "type": "string"
70 }
71 },
72 "description": "JSON response template for groups migration API.",
73 "id": "Groups",
74 "type": "object"
75 }
76 },
77 "id": "groupsmigration:v1",
78 "protocol": "rest",
79 "revision": "20200820",
80 "batchPath": "batch",
81 "description": "The Groups Migration API allows domain administrators to archive emails into Google groups.",
82 "canonicalName": "Groups Migration",
83 "auth": {
84 "oauth2": {
85 "scopes": {
86 "https://www.googleapis.com/auth/apps.groups.migration": {
87 "description": "Manage messages in groups on your domain"
88 }
89 }
90 }
91 },
92 "version": "v1",
93 "parameters": {
94 "upload_protocol": {
95 "type": "string",
96 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
97 "location": "query"
98 },
99 "alt": {
100 "location": "query",
101 "enum": [
102 "json",
103 "media",
104 "proto"
105 ],
106 "description": "Data format for response.",
107 "default": "json",
108 "enumDescriptions": [
109 "Responses with Content-Type of application/json",
110 "Media download with context-dependent Content-Type",
111 "Responses with Content-Type of application/x-protobuf"
112 ],
113 "type": "string"
114 },
115 "key": {
116 "type": "string",
117 "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.",
118 "location": "query"
119 },
120 "fields": {
121 "type": "string",
122 "location": "query",
123 "description": "Selector specifying which fields to include in a partial response."
124 },
125 "quotaUser": {
126 "location": "query",
127 "type": "string",
128 "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."
129 },
130 "$.xgafv": {
131 "type": "string",
132 "enumDescriptions": [
133 "v1 error format",
134 "v2 error format"
135 ],
136 "description": "V1 error format.",
137 "enum": [
138 "1",
139 "2"
140 ],
141 "location": "query"
142 },
143 "access_token": {
144 "type": "string",
145 "description": "OAuth access token.",
146 "location": "query"
147 },
148 "prettyPrint": {
149 "location": "query",
150 "type": "boolean",
151 "description": "Returns response with indentations and line breaks.",
152 "default": "true"
153 },
154 "callback": {
155 "description": "JSONP",
156 "type": "string",
157 "location": "query"
158 },
159 "uploadType": {
160 "location": "query",
161 "type": "string",
162 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
163 },
164 "oauth_token": {
165 "location": "query",
166 "description": "OAuth 2.0 token for the current user.",
167 "type": "string"
168 }
169 },
170 "kind": "discovery#restDescription"
171}