mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 15:46:26 +01:00
Update 5.2. tool request=bikes_all
This commit is contained in:
parent
48967725c9
commit
b56bd98906
1 changed files with 15 additions and 0 deletions
|
@ -29,6 +29,21 @@
|
||||||
| bike_type | + | object | describes the bike with some attributes |
|
| bike_type | + | object | describes the bike with some attributes |
|
||||||
| smartlock_type | + | object | (under development) describes the smartlock 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
|
Example
|
||||||
**request** to get all bikes with states
|
**request** to get all bikes with states
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue