02-26-2020 14:56
02-26-2020 14:56
Hi,
`GET /1/user/-/activities/list.json` returns some activities not in `GET /1/activities.json` response.
Example activities:
* Workout (Fitbit's Activity Id = 3000)
* Outdoor Bike (Fitbit's Acitivty Id = 1071)
I suspected it is because they are private custom activities created by users.
However, it seems not to be the case because Outdoor Bike as an example,
* Other users also have it as Fitbit's Activity Id = 1071
* It is what Fitbit device automatically tracked, and not created manually.
Probably automatically trackable one won't show up on `GET /1/user/-/activities/list.json`.
How can we know all activities including automatically tracked one?
Ref)
https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-logs-list
https://dev.fitbit.com/build/reference/web-api/activity/#activity-types
Thank you.
02-26-2020 15:20
02-26-2020 15:20
> Probably automatically trackable one won't show up on `GET /1/user/-/activities/list.json`.
ops, `GET /1/activities.json`
02-27-2020 13:55 - edited 02-27-2020 13:55
02-27-2020 13:55 - edited 02-27-2020 13:55
Hi @takkyuuplayer,
Welcome to the forums!
I've done some testing on my end and can confirm the behavior you are seeing. However, it does not appear that all auto_recognized activities are being excluded from the Browse Activities endpoint, just certain ones.
While I can confirm that "Workout - 3000" and "Outdoor Bike - 1071" are not appearing in the response, "Walk - 90013" and "Run - 9009" are both auto_recognized activities are returned in the browse activity endpoint.
I'll need to reach out to our Engineering team to get additional clarification on the behavior we are seeing to get a better understanding of why certain activities are not being returned in this endpoint. Once I get more information, I'll post here.
Let me know if you have any questions in the meantime.
03-05-2020 15:22
03-05-2020 15:22
Hi, @JohnFitbit
Thanks for checking. Did you get a response from the engineering team?
If the investigation will take a long time, it'll be great if you can provide me all the activities that are public (i.e. non-custom activity created by users).
Thank you.
03-10-2020 12:37
03-10-2020 12:37
@takkyuuplayer I haven't heard anything from our team yet, and I apologize for the delays. I'll try to reach out to them again to see if they can provide me with an update. I'm unable to let you know which types of activities show up in the list since the results I see tend to be mixed and inconsistent. Once I get further clarification on the expected behavior, I will post here and let you know.
Let me know if you have any additional questions in the meantime.
03-24-2020 10:49
03-24-2020 17:17
03-24-2020 17:17
Hi @takkyuuplayer,
Unfortunately, I have not yet received an update. I'll continue to push for updates but I can promise you a time frame of when this will be looked into.
In the meantime, could you tell me the importance of finding these activities in the browse activity type endpoint? Maybe I can suggest a workaround for your use case.
03-25-2020 19:18 - edited 03-25-2020 19:20
03-25-2020 19:18 - edited 03-25-2020 19:20
Hi, @JohnFitbit
> could you tell me the importance of finding these activities in the browse activity type endpoint?
It doesn't have to be the endpoint. I want to know all possible activities that can be in `GET /1/user/-/activities/list.json` response except for user-defined ones, to import those activities to our web service properly.
For example, we import activity_id = 90001, 20048, 90002, 55001, 16030, 1070 as "cycling". However, 1071 (Outdoor Bike) wasn't in the `GET /1/activities.json` response, so we hadn't noticed that there was an extra activity that should be mapped to cycling until we got inquiry from our end users; Why their Outdoor Bike in Fitbit app isn't synced
So does workout(id = 3000). I'm afraid there are any other activities that we are missing and I'd like to know about all the possible activities.
Thank you.
04-08-2020 07:32
05-09-2020 20:53
05-09-2020 20:53
We don't need the list anymore.
We worked around by logging unknown activity ids.
Thanks for the support