Update 5.2. tool request=bikes_all

This commit is contained in:
Rainer Gümpelein 2022-12-29 10:10:02 +00:00
parent 48967725c9
commit b56bd98906

View file

@ -29,6 +29,21 @@
| bike_type | + | object | describes the bike with some attributes |
| smartlock_type | + | object | (under development) describes the smartlock with some attributes |
**bike_type** JSON Object
| key | Required | Format | Comment |
| ------------------ | -------- | ---------------- | -------------------------- |
| category | o | text | "city" or "cargo" |
| wheels | o | text | "2" or "3" |
| 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 |
**smartlock_type** JSON Object
| key | Required | Format | Comment |
| ------------------ | -------- | ---------------- | -------------------------- |
| system | o | text | ex. "Ilockit" |
| battery | o | object | contains smartlock battery attributes. |
Example
**request** to get all bikes with states
```