GET /v1/users/{usersId}/availability
Changed onReturns availability information for a human user in Google Chat. For example, this can be used to check if a user is online or away, or to retrieve their custom status message. This method only retrieves the authenticated user's availability. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.users.availability.readonly - https://www.googleapis.com/auth/chat.users.availability
Request
- Base URLhttps://chat.googleapis.com
- URLhttps://chat.googleapis.com/v1/users/{usersId}/availability
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/chat.users.availabilityAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/chat.users.availability
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/chat.users.availability.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.availability.readonly
Path parameters
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/chat.users.availabilitywas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/chat.users.availabilitywas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/chat.users.availability.readonlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/chat.users.availability.readonlywas removed from the endpoint's security schemeOauth2c
- info