mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-11-14 14:36:27 +01:00
Update 3.4. pri request=stations_available
This commit is contained in:
parent
bf90e41810
commit
a125644484
1 changed files with 5 additions and 5 deletions
|
@ -25,10 +25,11 @@
|
|||
|
||||
**station_group** describes which **bike_groups** are allowed at the station.
|
||||
Groups are identified by ID. The following groups of bicycles are defined:
|
||||
| group ID | bike type |
|
||||
| groupID | bike type |
|
||||
| ------ | ------ |
|
||||
| 300101 | Cargobike |
|
||||
| 300103 | Citybike |
|
||||
Keep in mind, each ID is preceded by an operator-prefix.
|
||||
|
||||
Example
|
||||
**REST request=stations_available** for authorized users
|
||||
|
@ -45,7 +46,7 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=stations_available&a
|
|||
"WUE9301" : {
|
||||
"state" : "available",
|
||||
"uri_operator" : "https://shareeapp-wue.example.tld",
|
||||
"description" : "Rieselfeldemo",
|
||||
"description" : "Cargo and Citybike Station",
|
||||
"operator_data" : {
|
||||
"operator_hours" : "Montag, Mittwoch, Freitag 9-12 Uhr",
|
||||
"operator_logo" : "",
|
||||
|
@ -55,10 +56,9 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=stations_available&a
|
|||
"operator_color" : "#009699"
|
||||
},
|
||||
"station" : "WUE9301",
|
||||
"authed" : "1",
|
||||
"service_tour" : "WUE2",
|
||||
"station_group" : [
|
||||
"WUE300101"
|
||||
"WUE300101",
|
||||
"WUE300103"
|
||||
],
|
||||
"gps" : {
|
||||
"latitude" : "47.99814334149303",
|
||||
|
|
Loading…
Reference in a new issue