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