- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Returns the user's list of paired 1P trackers and smartwatches.
HTTP request
GET https://health.googleapis.com/v4/{parent=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 | |
|---|---|
parent |
Required. The parent, which owns this collection of devices. Format: users/{user} It takes the form |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of devices to return. The service may return fewer than this value. If unspecified, at most 5 devices will be returned. The maximum value is 100. values above 100 will be coerced to 100. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for pairedDevices.list.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"pairedDevices": [
{
object ( |
| Fields | |
|---|---|
pairedDevices[] |
The paired devices of the user. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/googlehealth.settings.readonly
For more information, see the OAuth 2.0 Overview.