Request Parameters
The following optional parameters can be used to request data.
Standard Data Objects
Parameter | Default | Description |
---|---|---|
start_date=YYYY-MM-DDTHH:MM:SS | (time.Now - 1.Day) | Scopes the results starting the date provided |
end_date=YYYY-MM-DDTHH:MM:SS | time.Now | Scopes the results ending the date provided |
expanded=1 | 0 | Response json includes the expanded data for the object based on the source. Also includes activity_id & extras |
show_validated=1 | 0 | (DEPRICATED ON 12/8/2015) All responses now include the validated property by default |
source=:source name | 0 | Response json contains only records for named source. You can request multiple sources by using comma separated source values "=fatsecret,jawbone_up" |
Request Date Formats
The date formats used in query parameters must be one of the following formats.
Format | Description |
---|---|
YYYY-MM-DDThh:mm:ss.ms-hh:mm | Date Time with milliseconds & offset |
YYYY-MM-DDThh:mm:ssZ | Zulu - Date Time & offset |