mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 07:36:26 +01:00
Update 3.4. pri request=stations_available
This commit is contained in:
parent
7b7fbcd047
commit
ccd52f0a50
1 changed files with 7 additions and 3 deletions
|
@ -16,10 +16,9 @@
|
|||
| gps | + | array | GPS: latitude, longitude |
|
||||
| station | + | text | station prefix_number |
|
||||
| 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. |
|
||||
| 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) |
|
||||
|
||||
|
||||
|
@ -65,7 +64,12 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=stations_available&a
|
|||
"longitude" : " 7.765779379576922"
|
||||
},
|
||||
"gps_radius" : "100",
|
||||
"station_type" : {
|
||||
"cargo" : {
|
||||
"bike_group" : "WUE300101",
|
||||
"bike_count" : "2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"WUE9302" : {
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue