Returns user's IRN Profile details.
HTTP request
GET https://health.googleapis.com/v4/{name=users/*/irnProfile}
The URL uses gRPC Transcoding syntax. To know more about valid error responses that can be thrown by this HTTP request, please refer to the service error catalog
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the IRN Profile. Format: |
Request body
The request body must be empty.
Response body
Irregular Rhythm Notifications (IRN) Profile details.
The Irregular Rhythm Notifications (IRN) feature checks for signs of atrial fibrillation (AFib). The IrnProfile details include information about the user's onboarding status, enrollment status, and the last update time of analyzable data for this feature.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "name": string, "onboardingStatus": boolean, "enrollmentStatus": boolean, "updateTime": string } |
| Fields | |
|---|---|
name |
Identifier. The resource name of this IrnProfile resource. Format: |
onboardingStatus |
Required. Whether or not the user has onboarded onto the IRN feature. |
enrollmentStatus |
Required. Whether or not the user is currently enrolled in having their data processed for IRN alerts. |
updateTime |
Output only. The timestamp of the last piece of analyzable data synced by the user. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/googlehealth.irn.readonly
For more information, see the OAuth 2.0 Overview.