List active competition maps
Lists the active maps with ID, name, slug, and image. The list is reference data, and clients can cache it for one day.
GET/api/v2/maps
Parameters #
| Property | Type | Location | Description |
|---|
cursor | string | query | - |
limit | integer | query | - |
If-None-Match | string | header | The ETag of a cached copy. The API answers 304 Not Modified when it is still current. |
Request #
curl --request GET 'https://strave.gg/api/v2/maps' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'
Response #
200Response for status 200
application/json304Not Modified. The If-None-Match ETag is current; reuse the cached body.
400Response for status 400
application/json401Response for status 401
application/json403Response for status 403
application/json404Response for status 404
application/json429Response for status 429
application/json500Response for status 500
application/json503Response for status 503
application/json| Property | Type | Description |
|---|
data | object[]Required | - |
└id | stringRequired | - |
└name | stringRequired | - |
└slug | stringRequired | - |
└imageUrl | stringRequired | - |
meta | objectRequired | - |
└nextCursor | string | nullRequired | - |
└hasMore | booleanRequired | - |