mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 15:46:26 +01:00
Update 3.5. pri request=bikes_available
This commit is contained in:
parent
e03880d28f
commit
21b85fc3df
1 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
||||||
| category | o | text | "city" or "cargo" |
|
| category | o | text | "city" or "cargo" |
|
||||||
| wheels | o | text | "2" or "3" |
|
| wheels | o | text | "2" or "3" |
|
||||||
| engine | o | object | contains engine attributes like "manufacturer" |
|
| engine | o | object | contains engine attributes like "manufacturer" |
|
||||||
|
| battery | o | object | contains bike battery attributes. "hidden=0" means not in App visible. "backend_accessible=0" means no bike charge API available |
|
||||||
|
|
||||||
|
|
||||||
Example
|
Example
|
||||||
|
@ -65,6 +66,13 @@ https://sharee-primary.example.tld/APIjsonserver?request=bikes_available&authcoo
|
||||||
"longitude" : "7.816756743460897"
|
"longitude" : "7.816756743460897"
|
||||||
},
|
},
|
||||||
"bike_type" : {
|
"bike_type" : {
|
||||||
|
"battery" : {
|
||||||
|
"charge_current_bars" : "4",
|
||||||
|
"hidden" : "0",
|
||||||
|
"charge_max_bars" : "5",
|
||||||
|
"backend_accessible" : "0",
|
||||||
|
"charge_current_percent" : "70"
|
||||||
|
},
|
||||||
"category" : "cargo",
|
"category" : "cargo",
|
||||||
"wheels" : "2",
|
"wheels" : "2",
|
||||||
"engine" : {
|
"engine" : {
|
||||||
|
|
Loading…
Reference in a new issue