Update 3.5. pri request=bikes_available

This commit is contained in:
Rainer Gümpelein 2022-12-29 09:53:41 +00:00
parent e03880d28f
commit 21b85fc3df

View file

@ -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" : {