1{
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        }
8      }
9    }
10  },
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"
21  },
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    }
104  },
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    }
148  },
149  "revision": "20211209",
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    }
167  },
168  "servicePath": "",
169  "title": "Groups Migration API",
170  "version": "v1"
171}