Skip to main content

List

This page describes how to list planned, pending and finished routes.

List#

  • Url:
    • https://velo-europe.de/api/{lang}/proxy/planned
    • https://velo-europe.de/api/{lang}/proxy/pending
    • https://velo-europe.de/api/{lang}/proxy/finished
  • Method: GET
  • Authentication required
  • Content-Type: application/json

Request params#

  • limit - integer - optional
  • offset - integer - optional

Response body#

  • data - array with route objects.
  • allResults - integer - number of available results
{
"data": [
{
"plannedTrackId": 474,
"trackId": 1367,
"name": "new name",
"ascent": 0,
"descent": 0,
"trackDistance": 0,
"uuid": "pt-474",
"totalStages": 0,
"currentStageNumber": 1
}
],
"allResults": 17
}

Example request#

curl --location --request GET 'https://velo-europe.de/api/de/proxy/planned?limit=1&offset=1' \
--header 'Authorization: Bearer ODgyODE1MjUzM2RhMWI5ZDA1YTA1NzNmM2YwNGU5ZWJiZGY2NzI0NjNjMDc5NzM3N2Y1ZTVhMGIzNGY2ZjQ4ZQ' \
--header 'Cookie: veloFront=vr90tbqetlv904ncihen7b7sus'