openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 10.7 kB
JSON
{"openapi":"3.0.0","info":{"contact":{"name":"Google","url":"https://google.com"},"description":"Lets you manage permission levels and related settings of a group.","title":"Groups Settings","version":"v1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["cloud"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"converter":{"url":"https://github.com/lucybot/api-spec-converter","version":"2.7.18"},"format":"google","url":"https://www.googleapis.com/discovery/v1/apis/groupssettings/v1/rest","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"groupssettings"},"externalDocs":{"url":"https://developers.google.com/google-apps/groups-settings/get_started"},"tags":[{"name":"groups"}],"paths":{"/{groupUniqueId}":{"get":{"description":"Gets one resource by id.","operationId":"groupsSettings.groups.get","parameters":[{"description":"The resource ID","in":"path","name":"groupUniqueId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Groups"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.groups.settings"]}],"tags":["groups"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"patch":{"description":"Updates an existing resource. This method supports patch semantics.","operationId":"groupsSettings.groups.patch","parameters":[{"description":"The resource ID","in":"path","name":"groupUniqueId","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Groups"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Groups"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.groups.settings"]}],"tags":["groups"]},"put":{"description":"Updates an existing resource.","operationId":"groupsSettings.groups.update","parameters":[{"description":"The resource ID","in":"path","name":"groupUniqueId","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Groups"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Groups"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.groups.settings"]}],"tags":["groups"]}}},"servers":[{"url":"https://www.googleapis.com/groups/v1/groups"}],"components":{"parameters":{"alt":{"description":"Data format for the response.","in":"query","name":"alt","schema":{"type":"string","enum":["atom","json"],"default":"atom"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"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.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean","default":true}},"quotaUser":{"description":"An opaque string that represents a user for quota purposes. Must not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"userIp":{"description":"Deprecated. Please use quotaUser instead.","in":"query","name":"userIp","schema":{"type":"string"}}},"requestBodies":{"Groups":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Groups"}}}}},"securitySchemes":{"Oauth2":{"description":"Oauth 2.0 authentication","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/auth","scopes":{"https://www.googleapis.com/auth/apps.groups.settings":"View and manage the settings of a G Suite group"}}}}},"schemas":{"Groups":{"description":"JSON template for Group resource","properties":{"allowExternalMembers":{"description":"Are external members allowed to join the group.","type":"string"},"allowGoogleCommunication":{"description":"Is google allowed to contact admins.","type":"string"},"allowWebPosting":{"description":"If posting from web is allowed.","type":"string"},"archiveOnly":{"description":"If the group is archive only","type":"string"},"customFooterText":{"description":"Custom footer text.","type":"string"},"customReplyTo":{"description":"Default email to which reply to any message should go.","type":"string"},"defaultMessageDenyNotificationText":{"description":"Default message deny notification message","type":"string"},"description":{"description":"Description of the group","type":"string"},"email":{"description":"Email id of the group","type":"string"},"favoriteRepliesOnTop":{"description":"If favorite replies should be displayed above other replies.","type":"string"},"includeCustomFooter":{"description":"Whether to include custom footer.","type":"string"},"includeInGlobalAddressList":{"description":"If this groups should be included in global address list or not.","type":"string"},"isArchived":{"description":"If the contents of the group are archived.","type":"string"},"kind":{"default":"groupsSettings#groups","description":"The type of the resource.","type":"string"},"maxMessageBytes":{"description":"Maximum message size allowed.","format":"int32","type":"integer"},"membersCanPostAsTheGroup":{"description":"Can members post using the group email address.","type":"string"},"messageDisplayFont":{"description":"Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT","type":"string"},"messageModerationLevel":{"description":"Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE","type":"string"},"name":{"description":"Name of the Group","type":"string"},"primaryLanguage":{"description":"Primary language for the group.","type":"string"},"replyTo":{"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","type":"string"},"sendMessageDenyNotification":{"description":"Should the member be notified if his message is denied by owner.","type":"string"},"showInGroupDirectory":{"description":"Is the group listed in groups directory","type":"string"},"spamModerationLevel":{"description":"Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT","type":"string"},"whoCanAdd":{"description":"Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD ALL_OWNERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD","type":"string"},"whoCanAddReferences":{"description":"Permission to add references to a topic. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanAssignTopics":{"description":"Permission to assign topics in a forum to another user. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanContactOwner":{"description":"Permission to contact owner of the group via web UI. Possible values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT","type":"string"},"whoCanEnterFreeFormTags":{"description":"Permission to enter free form tags for topics in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanInvite":{"description":"Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE ALL_OWNERS_CAN_INVITE NONE_CAN_INVITE","type":"string"},"whoCanJoin":{"description":"Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN","type":"string"},"whoCanLeaveGroup":{"description":"Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_OWNERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE","type":"string"},"whoCanMarkDuplicate":{"description":"Permission to mark a topic as a duplicate of another topic. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanMarkFavoriteReplyOnAnyTopic":{"description":"Permission to mark any other user's post as a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanMarkFavoriteReplyOnOwnTopic":{"description":"Permission to mark a post for a topic they started as a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanMarkNoResponseNeeded":{"description":"Permission to mark a topic as not needing a response. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanModifyTagsAndCategories":{"description":"Permission to change tags and categories. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanPostMessage":{"description":"Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST","type":"string"},"whoCanTakeTopics":{"description":"Permission to take topics in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanUnassignTopic":{"description":"Permission to unassign any topic in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanUnmarkFavoriteReplyOnAnyTopic":{"description":"Permission to unmark any post from a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS","type":"string"},"whoCanViewGroup":{"description":"Permissions to view group. Possible values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW ALL_OWNERS_CAN_VIEW","type":"string"},"whoCanViewMembership":{"description":"Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW","type":"string"}},"type":"object"}}}}