Skip to main content

Inform

User while riding a track can inform about danger.

Get user map settings#

  • Url: 'https://velo-europe.de/api/de/inform/{userRiddenTrackStage}
  • Method: POST
  • Authentication required
  • Content-Type: application/json

Path params#

  • userRiddenTrackStage - id of current stage

Request body#

  • lat - required - float
  • lng - required - float
  • message - required - string - user message
  • image - optional - image converted to base64 string

Example request#

curl --location --request POST 'https://velo-europe.de/api/de/inform/313' \
--header 'Authorization: Bearer MjA3NzgxZDExM2Q2YzEzYjBiN2M5MDc1YzdiZGFlY2YxZGUyM2JiYmJkZmJlNjc3ZmY4NDQxY2IwNDdkYmVjNQ' \
--header 'Content-Type: application/json' \
--data-raw '{
"message": "issue on track!",
"lat": "21.213",
"lng": "21.216",
"image": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="
}'