activities
Get activities by trip
Changed onRetrieves paginated activities for a trip, optionally filtered by category, time of day, and/or date
get/api/v1/trips/{tripID}/activities
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/trips/{tripID}/activities
- Auth: none declared
Path parameters
tripIDstring required
Trip ID
Query parameters
categorystring
Filter by category name
time_of_daystring
Filter by time of day (morning, afternoon, evening)
datestring
Filter by calendar date (YYYY-MM-DD); activity must have a date range containing this day
limitinteger
Max items per page (default 20, max 100)
cursorstring
Opaque cursor returned in next_cursor
Response
OK
Example response
{
"items": [
{
"dates": [
{
"end": "2024-01-05",
"start": "2024-01-01"
}
]
}
]
}Changes
- ○
added the new optional
queryrequest parameterdate
- ○
- ○
added the new optional
queryrequest parametertime_of_day
- ○