From 6380bb9bed87d0e3dfe5731cc1f0a2a63c3f6315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20G=C3=BCmpelein?= Date: Wed, 22 Nov 2023 18:12:33 +0000 Subject: [PATCH] Update 3.4. pri request=stations_available --- 3.4.-pri-request=stations_available.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/3.4.-pri-request=stations_available.md b/3.4.-pri-request=stations_available.md index 76e0d3c..6212a57 100644 --- a/3.4.-pri-request=stations_available.md +++ b/3.4.-pri-request=stations_available.md @@ -15,19 +15,19 @@ | description | o | text<=20 | short station description | | gps | + | array | GPS: latitude, longitude | | station | + | text | station prefix_number | -| station_group | + | array | station_group describes which bike_groups are allowed at the station | +| station_group | + | array | deprecated, it will be substituted by station_type object | | gps_radius | + | text | geofencing by meters around station, for bike return. | | uri_operator | + | text | URI of operator-server | -| station_type | + | object | station values (see example) | +| station_type | + | object | station values (see example). It can be "cargo" and/or "city" bike objects | | operator_data | o | object | operator values (see example) | -**station_group** describes which **bike_group** are allowed at the station. +**station_type** describes which **bike_group** are allowed at the station. Groups are identified by ID. The following groups of bicycles are defined: | Defined group ID's | bike type | | ------ | ------ | -| 300101 | Cargobike | -| 300103 | Citybike | +| 300101 | cargo | +| 300103 | city | Keep in mind, each ID is preceded by an operator-prefix. Datatype is array, because each station can have more byke_group Example @@ -55,10 +55,6 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=stations_available&a "operator_color" : "#009699" }, "station" : "WUE9301", - "station_group" : [ - "WUE300101", - "WUE300103" - ], "gps" : { "latitude" : "47.99814334149303", "longitude" : " 7.765779379576922"