Skip to content

Commit 3e6e005

Browse files
chore(groupsmigration): update the api
1 parent 04465ff commit 3e6e005

File tree

1 file changed

+163
-163
lines changed

1 file changed

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

0 commit comments

Comments
 (0)