Method: users.pairedDevices.get

Returns user's Device.

HTTP request

GET https://health.googleapis.com/v4/{name=users/*/pairedDevices/*}

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

string

Required. The name of the device to retrieve. Format: users/{user}/devices/{device} It takes the form users/{user}/pairedDevices/{paireddevice}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of PairedDevice.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/googlehealth.settings.readonly

For more information, see the OAuth 2.0 Overview.