Update 3.4. pri request=stations_available

This commit is contained in:
Rainer Gümpelein 2023-11-22 18:06:10 +00:00
parent 7b7fbcd047
commit ccd52f0a50

View file

@ -16,10 +16,9 @@
| gps | + | array | GPS: latitude, longitude | | gps | + | array | GPS: latitude, longitude |
| station | + | text | station prefix_number | | station | + | text | station prefix_number |
| station_group | + | array | station_group describes which bike_groups are allowed at the station | | station_group | + | array | station_group describes which bike_groups are allowed at the station |
| authed | o | text | return 1 if user is authenticated on operator |
| gps_radius | + | text | geofencing by meters around station, for bike return. | | gps_radius | + | text | geofencing by meters around station, for bike return. |
| uri_operator | + | text | URI of operator-server | | uri_operator | + | text | URI of operator-server |
| bike_count | + | text | Amount of available bikes on station | | station_type | + | object | station values (see example) |
| operator_data | o | object | operator values (see example) | | operator_data | o | object | operator values (see example) |
@ -65,7 +64,12 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=stations_available&a
"longitude" : " 7.765779379576922" "longitude" : " 7.765779379576922"
}, },
"gps_radius" : "100", "gps_radius" : "100",
"bike_count" : "2" "station_type" : {
"cargo" : {
"bike_group" : "WUE300101",
"bike_count" : "2"
}
}
}, },
"WUE9302" : { "WUE9302" : {
... ...