GET /v1/users/{usersId}/sections
Changed onLists sections available to the Chat user. Sections help users group their conversations and customize the list of spaces displayed in Chat navigation panel. For details, see Create and organize sections in Google Chat. Requires user authentication with the authorization scope: - https://www.googleapis.com/auth/chat.users.sections - https://www.googleapis.com/auth/chat.users.sections.readonly
Request
- Base URLhttps://chat.googleapis.com
- URLhttps://chat.googleapis.com/v1/users/{usersId}/sections
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/chat.users.sectionsAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/chat.users.sections
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/chat.users.sections.readonlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/chat.users.sections.readonly
Path parameters
Query parameters
Optional. The maximum number of sections to return. The service may return fewer than this value. If unspecified, at most 10 sections will be returned. The maximum value is 100. If you use a value more than 100, it's automatically changed to 100. Negative values return an INVALID_ARGUMENT error.
Optional. A page token, received from a previous list sections call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/chat.users.sectionswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/chat.users.sectionswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/chat.users.sections.readonlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/chat.users.sections.readonlywas removed from the endpoint's security schemeOauth2c
- info