08-18-2021 09:48
08-18-2021 09:48
Under resource URLs in the Get Activity Intraday Time Series (https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-intraday-time-series), this is one of the reference API calls:
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/[date]/[detail-level].jsonBut [date] is listed twice. In other API calls, there are elements such as [base-date] or [end-date] to be able to pull this data for a date range.
Is this an error and should those elements reference start & end dates?
Or is there just not a way to pull intraday activity for a particular date range?
Thanks!
Answered! Go to the Best Answer.
08-20-2021 13:17
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
08-20-2021 13:17
Hi @cwebster_nymbly,
Thanks for pointing this out. This is indeed incorrect syntax and should be [base-date] and [end-date] for the endpoints that support date range. I'll go ahead and file a ticket to get these fixed.
Thanks again!
08-20-2021 13:17
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
08-20-2021 13:17
Hi @cwebster_nymbly,
Thanks for pointing this out. This is indeed incorrect syntax and should be [base-date] and [end-date] for the endpoints that support date range. I'll go ahead and file a ticket to get these fixed.
Thanks again!