Skip to main content

Listing stages

This page describes how to list stages for user track ride.

Route details#

  • Url: https://velo-europe.de/api/{lang}/proxy/{userRiddenTrackId}/stages
  • Method: GET
  • Authentication required

Path params#

  • userRiddenTrackId - integer - required

Example request#

curl --location --request GET 'https://velo-europe.de/api/de/proxy/747/stages' \
--header 'accept: application/json' \
--header 'authorization: Bearer NDA2NTZiZmI4YjQzY2I4MjI2NTQ3MzRjZTQyMjA5MDc4ZDkwYTI0MjkzOWViNDgzMjY0ZGVmOWZiMzQxOWUzYw'

Response body#

Response contains array of stage objects

[
{
"id": 556,
"name": "Katowice - Gliwice",
"startPoint": {
"lat": 50.257806,
"lng": 19.020033,
"address": "Dworcowa, Katowice, Polen (1)"
},
"endPoint": {
"lat": 50.29447,
"lng": 18.671381,
"address": "Gliwice"
},
"isFinished": false,
"distance": 32459,
"distanceTraveled": 300,
"duration": 170,
"datetimeStarted": "2021-05-13T07:36:00+02:00",
"datetimeFinished": null,
"isDataAvailable": true
},
{
"id": 557,
"name": "Gliwice - Rybnik",
"startPoint": {
"lat": 50.301031,
"lng": 18.676916,
"address": "Gliwice, Bohaterów Getta Warszawskiego 12, 44-100 Gliwice, Polen"
},
"endPoint": {
"lat": 50.089051,
"lng": 18.54739,
"address": "Dworcowa 2, 44-200 Rybnik, Polen"
},
"isFinished": false,
"distance": 34093,
"distanceTraveled": 300,
"duration": 100,
"datetimeStarted": "2021-05-13T07:34:28+02:00",
"datetimeFinished": null,
"isDataAvailable": true
}
]