For the Activities API, is response sorted by time specifically id.time ?
If not is there a way we can do that?
For the Activities API, is response sorted by time specifically id.time ?
If not is there a way we can do that?
At least when I test this, the activities are sorted by id.time
, with more recent activities listed first.
No official documentation makes this explicit, though, so this behavior could change without notice.
I'd suggest you to file a feature request in Issue Tracker using this template in order to add query parameters to explicitly sort activities based on their time, and either in ascending or descending order.
Also, depending on your situation, startTime
and endTime
might be useful, in order to filter activities based on their time.