Users
Introduction
A user resource identifies the available resources for a specific user and the URIs for accessing them.
Structure
| Field | Type | Description | Editable |
|---|---|---|---|
userID |
Integer |
The unique ID for the user | N |
profile |
String |
The URI of the user profile resource | N |
settings |
String |
The URI of the sharing and display settings resource | N |
fitness_activities |
String |
The URI of the first page of the fitness activity feed | N |
strength_training_activities |
String |
The URI of the first page of the strength training activity feed | N |
background_activities |
String |
The URI of the first page of the background activity feed | N |
sleep |
String |
The URI of the first page of the sleep feed | N |
nutrition |
String |
The URI of the first page of the nutrition feed | N |
weight |
String |
The URI of the first page of the weight measurement feed | N |
general_measurements |
String |
The URI of the first page of the general measurements feed | N |
diabetes |
String |
The URI of the first page of the diabetes measurements feed | N |
records |
String |
The URI of the personal records resource | N |
team |
String |
The URI of the friends (formerly known as the "street team") resource | N |
team |
String |
The URI of the change log resource | N |
Supported Operations
Retrieving User Information
To retrieve the resource for a user,
GET
the URL /user. (Unlike other URLs, this one is fixed.)
