users

GET /v4/users/{usersId}/irnProfile

Returns user's IRN Profile details.

Request

  • Base URL
    https://health.googleapis.com
  • URL
    https://health.googleapis.com/v4/users/{usersId}/irnProfile
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/googlehealth.irn.readonly
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/googlehealth.irn.readonly

Path parameters

usersIdstring required

Response

Successful response

enrollmentStatusboolean

Required. Whether or not the user is currently enrolled in having their data processed for IRN alerts.

namestring

Identifier. The resource name of this IrnProfile resource. Format: users/{user}/irnProfile Example: users/1234567890/irnProfile or users/me/irnProfile The {user} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal me can also be used to refer to the authenticated user.

onboardingStatusboolean

Required. Whether or not the user has onboarded onto the IRN feature.

updateTimestring google-datetime

Output only. The timestamp of the last piece of analyzable data synced by the user.

Changes

No recorded changes to this operation across all 6 revisions of this API.