~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/google.golang.org/api/groupssettings/v1/groupssettings-api.json

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
 "kind": "discovery#restDescription",
 
3
 "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/-WzKihq8ROq_FQdrGtr_UG9N-4Y\"",
 
4
 "discoveryVersion": "v1",
 
5
 "id": "groupssettings:v1",
 
6
 "name": "groupssettings",
 
7
 "version": "v1",
 
8
 "revision": "20140428",
 
9
 "title": "Groups Settings API",
 
10
 "description": "Lets you manage permission levels and related settings of a group.",
 
11
 "ownerDomain": "google.com",
 
12
 "ownerName": "Google",
 
13
 "icons": {
 
14
  "x16": "http://www.google.com/images/icons/product/search-16.gif",
 
15
  "x32": "http://www.google.com/images/icons/product/search-32.gif"
 
16
 },
 
17
 "documentationLink": "https://developers.google.com/google-apps/groups-settings/get_started",
 
18
 "protocol": "rest",
 
19
 "baseUrl": "https://www.googleapis.com/groups/v1/groups/",
 
20
 "basePath": "/groups/v1/groups/",
 
21
 "rootUrl": "https://www.googleapis.com/",
 
22
 "servicePath": "groups/v1/groups/",
 
23
 "batchPath": "batch",
 
24
 "parameters": {
 
25
  "alt": {
 
26
   "type": "string",
 
27
   "description": "Data format for the response.",
 
28
   "default": "atom",
 
29
   "enum": [
 
30
    "atom",
 
31
    "json"
 
32
   ],
 
33
   "enumDescriptions": [
 
34
    "Responses with Content-Type of application/atom+xml",
 
35
    "Responses with Content-Type of application/json"
 
36
   ],
 
37
   "location": "query"
 
38
  },
 
39
  "fields": {
 
40
   "type": "string",
 
41
   "description": "Selector specifying which fields to include in a partial response.",
 
42
   "location": "query"
 
43
  },
 
44
  "key": {
 
45
   "type": "string",
 
46
   "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.",
 
47
   "location": "query"
 
48
  },
 
49
  "oauth_token": {
 
50
   "type": "string",
 
51
   "description": "OAuth 2.0 token for the current user.",
 
52
   "location": "query"
 
53
  },
 
54
  "prettyPrint": {
 
55
   "type": "boolean",
 
56
   "description": "Returns response with indentations and line breaks.",
 
57
   "default": "true",
 
58
   "location": "query"
 
59
  },
 
60
  "quotaUser": {
 
61
   "type": "string",
 
62
   "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. Overrides userIp if both are provided.",
 
63
   "location": "query"
 
64
  },
 
65
  "userIp": {
 
66
   "type": "string",
 
67
   "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
 
68
   "location": "query"
 
69
  }
 
70
 },
 
71
 "auth": {
 
72
  "oauth2": {
 
73
   "scopes": {
 
74
    "https://www.googleapis.com/auth/apps.groups.settings": {
 
75
     "description": "View and manage the settings of a Google Apps Group"
 
76
    }
 
77
   }
 
78
  }
 
79
 },
 
80
 "schemas": {
 
81
  "Groups": {
 
82
   "id": "Groups",
 
83
   "type": "object",
 
84
   "description": "JSON template for Group resource",
 
85
   "properties": {
 
86
    "allowExternalMembers": {
 
87
     "type": "string",
 
88
     "description": "Are external members allowed to join the group."
 
89
    },
 
90
    "allowGoogleCommunication": {
 
91
     "type": "string",
 
92
     "description": "Is google allowed to contact admins."
 
93
    },
 
94
    "allowWebPosting": {
 
95
     "type": "string",
 
96
     "description": "If posting from web is allowed."
 
97
    },
 
98
    "archiveOnly": {
 
99
     "type": "string",
 
100
     "description": "If the group is archive only"
 
101
    },
 
102
    "customReplyTo": {
 
103
     "type": "string",
 
104
     "description": "Default email to which reply to any message should go."
 
105
    },
 
106
    "defaultMessageDenyNotificationText": {
 
107
     "type": "string",
 
108
     "description": "Default message deny notification message"
 
109
    },
 
110
    "description": {
 
111
     "type": "string",
 
112
     "description": "Description of the group"
 
113
    },
 
114
    "email": {
 
115
     "type": "string",
 
116
     "description": "Email id of the group"
 
117
    },
 
118
    "includeInGlobalAddressList": {
 
119
     "type": "string",
 
120
     "description": "If this groups should be included in global address list or not."
 
121
    },
 
122
    "isArchived": {
 
123
     "type": "string",
 
124
     "description": "If the contents of the group are archived."
 
125
    },
 
126
    "kind": {
 
127
     "type": "string",
 
128
     "description": "The type of the resource.",
 
129
     "default": "groupsSettings#groups"
 
130
    },
 
131
    "maxMessageBytes": {
 
132
     "type": "integer",
 
133
     "description": "Maximum message size allowed.",
 
134
     "format": "int32"
 
135
    },
 
136
    "membersCanPostAsTheGroup": {
 
137
     "type": "string",
 
138
     "description": "Can members post using the group email address."
 
139
    },
 
140
    "messageDisplayFont": {
 
141
     "type": "string",
 
142
     "description": "Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT"
 
143
    },
 
144
    "messageModerationLevel": {
 
145
     "type": "string",
 
146
     "description": "Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE"
 
147
    },
 
148
    "name": {
 
149
     "type": "string",
 
150
     "description": "Name of the Group"
 
151
    },
 
152
    "primaryLanguage": {
 
153
     "type": "string",
 
154
     "description": "Primary language for the group."
 
155
    },
 
156
    "replyTo": {
 
157
     "type": "string",
 
158
     "description": "Whome should the default reply to a message go to. Possible values are: REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE REPLY_TO_MANAGERS"
 
159
    },
 
160
    "sendMessageDenyNotification": {
 
161
     "type": "string",
 
162
     "description": "Should the member be notified if his message is denied by owner."
 
163
    },
 
164
    "showInGroupDirectory": {
 
165
     "type": "string",
 
166
     "description": "Is the group listed in groups directory"
 
167
    },
 
168
    "spamModerationLevel": {
 
169
     "type": "string",
 
170
     "description": "Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT"
 
171
    },
 
172
    "whoCanContactOwner": {
 
173
     "type": "string",
 
174
     "description": "Permission to contact owner of the group via web UI. Possbile values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT"
 
175
    },
 
176
    "whoCanInvite": {
 
177
     "type": "string",
 
178
     "description": "Permissions to invite members. Possbile values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE"
 
179
    },
 
180
    "whoCanJoin": {
 
181
     "type": "string",
 
182
     "description": "Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN"
 
183
    },
 
184
    "whoCanLeaveGroup": {
 
185
     "type": "string",
 
186
     "description": "Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE"
 
187
    },
 
188
    "whoCanPostMessage": {
 
189
     "type": "string",
 
190
     "description": "Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST"
 
191
    },
 
192
    "whoCanViewGroup": {
 
193
     "type": "string",
 
194
     "description": "Permissions to view group. Possbile values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW"
 
195
    },
 
196
    "whoCanViewMembership": {
 
197
     "type": "string",
 
198
     "description": "Permissions to view membership. Possbile values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW"
 
199
    }
 
200
   }
 
201
  }
 
202
 },
 
203
 "resources": {
 
204
  "groups": {
 
205
   "methods": {
 
206
    "get": {
 
207
     "id": "groupsSettings.groups.get",
 
208
     "path": "{groupUniqueId}",
 
209
     "httpMethod": "GET",
 
210
     "description": "Gets one resource by id.",
 
211
     "parameters": {
 
212
      "groupUniqueId": {
 
213
       "type": "string",
 
214
       "description": "The resource ID",
 
215
       "required": true,
 
216
       "location": "path"
 
217
      }
 
218
     },
 
219
     "parameterOrder": [
 
220
      "groupUniqueId"
 
221
     ],
 
222
     "response": {
 
223
      "$ref": "Groups"
 
224
     },
 
225
     "scopes": [
 
226
      "https://www.googleapis.com/auth/apps.groups.settings"
 
227
     ]
 
228
    },
 
229
    "patch": {
 
230
     "id": "groupsSettings.groups.patch",
 
231
     "path": "{groupUniqueId}",
 
232
     "httpMethod": "PATCH",
 
233
     "description": "Updates an existing resource. This method supports patch semantics.",
 
234
     "parameters": {
 
235
      "groupUniqueId": {
 
236
       "type": "string",
 
237
       "description": "The resource ID",
 
238
       "required": true,
 
239
       "location": "path"
 
240
      }
 
241
     },
 
242
     "parameterOrder": [
 
243
      "groupUniqueId"
 
244
     ],
 
245
     "request": {
 
246
      "$ref": "Groups"
 
247
     },
 
248
     "response": {
 
249
      "$ref": "Groups"
 
250
     },
 
251
     "scopes": [
 
252
      "https://www.googleapis.com/auth/apps.groups.settings"
 
253
     ]
 
254
    },
 
255
    "update": {
 
256
     "id": "groupsSettings.groups.update",
 
257
     "path": "{groupUniqueId}",
 
258
     "httpMethod": "PUT",
 
259
     "description": "Updates an existing resource.",
 
260
     "parameters": {
 
261
      "groupUniqueId": {
 
262
       "type": "string",
 
263
       "description": "The resource ID",
 
264
       "required": true,
 
265
       "location": "path"
 
266
      }
 
267
     },
 
268
     "parameterOrder": [
 
269
      "groupUniqueId"
 
270
     ],
 
271
     "request": {
 
272
      "$ref": "Groups"
 
273
     },
 
274
     "response": {
 
275
      "$ref": "Groups"
 
276
     },
 
277
     "scopes": [
 
278
      "https://www.googleapis.com/auth/apps.groups.settings"
 
279
     ]
 
280
    }
 
281
   }
 
282
  }
 
283
 }
 
284
}