You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

143 lines
4.2 KiB

  1. {
  2. "auth": {
  3. "oauth2": {
  4. "scopes": {
  5. "https://www.googleapis.com/auth/apps.groups.migration": {
  6. "description": "Manage messages in groups on your domain"
  7. }
  8. }
  9. }
  10. },
  11. "basePath": "/groups/v1/groups/",
  12. "baseUrl": "https://www.googleapis.com/groups/v1/groups/",
  13. "batchPath": "batch/groupsmigration/v1",
  14. "canonicalName": "Groups Migration",
  15. "description": "Groups Migration Api.",
  16. "discoveryVersion": "v1",
  17. "documentationLink": "https://developers.google.com/google-apps/groups-migration/",
  18. "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/zGiP_i-sBYNkHvFXparCaw6gPyY\"",
  19. "icons": {
  20. "x16": "https://www.google.com/images/icons/product/discussions-16.gif",
  21. "x32": "https://www.google.com/images/icons/product/discussions-32.gif"
  22. },
  23. "id": "groupsmigration:v1",
  24. "kind": "discovery#restDescription",
  25. "name": "groupsmigration",
  26. "ownerDomain": "google.com",
  27. "ownerName": "Google",
  28. "parameters": {
  29. "alt": {
  30. "default": "json",
  31. "description": "Data format for the response.",
  32. "enum": [
  33. "json"
  34. ],
  35. "enumDescriptions": [
  36. "Responses with Content-Type of application/json"
  37. ],
  38. "location": "query",
  39. "type": "string"
  40. },
  41. "fields": {
  42. "description": "Selector specifying which fields to include in a partial response.",
  43. "location": "query",
  44. "type": "string"
  45. },
  46. "key": {
  47. "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.",
  48. "location": "query",
  49. "type": "string"
  50. },
  51. "oauth_token": {
  52. "description": "OAuth 2.0 token for the current user.",
  53. "location": "query",
  54. "type": "string"
  55. },
  56. "prettyPrint": {
  57. "default": "true",
  58. "description": "Returns response with indentations and line breaks.",
  59. "location": "query",
  60. "type": "boolean"
  61. },
  62. "quotaUser": {
  63. "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
  64. "location": "query",
  65. "type": "string"
  66. },
  67. "userIp": {
  68. "description": "Deprecated. Please use quotaUser instead.",
  69. "location": "query",
  70. "type": "string"
  71. }
  72. },
  73. "protocol": "rest",
  74. "resources": {
  75. "archive": {
  76. "methods": {
  77. "insert": {
  78. "description": "Inserts a new mail into the archive of the Google group.",
  79. "httpMethod": "POST",
  80. "id": "groupsmigration.archive.insert",
  81. "mediaUpload": {
  82. "accept": [
  83. "message/rfc822"
  84. ],
  85. "maxSize": "16MB",
  86. "protocols": {
  87. "resumable": {
  88. "multipart": true,
  89. "path": "/resumable/upload/groups/v1/groups/{groupId}/archive"
  90. },
  91. "simple": {
  92. "multipart": true,
  93. "path": "/upload/groups/v1/groups/{groupId}/archive"
  94. }
  95. }
  96. },
  97. "parameterOrder": [
  98. "groupId"
  99. ],
  100. "parameters": {
  101. "groupId": {
  102. "description": "The group ID",
  103. "location": "path",
  104. "required": true,
  105. "type": "string"
  106. }
  107. },
  108. "path": "{groupId}/archive",
  109. "response": {
  110. "$ref": "Groups"
  111. },
  112. "scopes": [
  113. "https://www.googleapis.com/auth/apps.groups.migration"
  114. ],
  115. "supportsMediaUpload": true
  116. }
  117. }
  118. }
  119. },
  120. "revision": "20170607",
  121. "rootUrl": "https://www.googleapis.com/",
  122. "schemas": {
  123. "Groups": {
  124. "description": "JSON response template for groups migration API.",
  125. "id": "Groups",
  126. "properties": {
  127. "kind": {
  128. "default": "groupsmigration#groups",
  129. "description": "The kind of insert resource this is.",
  130. "type": "string"
  131. },
  132. "responseCode": {
  133. "description": "The status of the insert request.",
  134. "type": "string"
  135. }
  136. },
  137. "type": "object"
  138. }
  139. },
  140. "servicePath": "groups/v1/groups/",
  141. "title": "Groups Migration API",
  142. "version": "v1"
  143. }