Change Log
Introduction
A change log identifies modified and deleted objects for a user.
Structure
| Field | Type | Description | Editable |
|---|---|---|---|
fitness_activities |
Changes[] |
The changes for the fitness activities feed | N |
strength_training_activities |
Changes[] |
The changes for the strength training activities feed | N |
background_activities |
Changes[] |
The changes for the background activities feed | N |
diabetes |
Changes[] |
The changes for the diabetes feed | N |
general_measurements |
Changes[] |
The changes for the general measurements feed | N |
nutrition |
Changes[] |
The changes for the nutrition feed | N |
sleep |
Changes[] |
The changes for the sleep feed | N |
weight |
Changes[] |
The changes for the weight feed | N |
Array Structures
Each of the following array types consists of the respective fields listed.
Changes
| Field | Type | Description |
|---|---|---|
modified |
Item[] |
The portion of the feed that represents newly-created and/or updated items; the exact format is identical to that used in the regular feed for the resource type |
deleted |
String[] |
The URIs of those items that have been deleted |
Supported Operations
Retrieving a Change Log
To retrieve the change log for a user,
GET
its URI.
(While the URI for the change log for a user is found in the root resource, which uses HTTP Basic authentication, requests for a change log use the standard user-specific access token.)
The modifiedNoEarlierThan and modifiedNoLaterThan
may be used to restrict the information returned. Each takes the following format:
yyyy-mm-ddThh:mm:ss
