Update 5.2. tool request=bikes_all

This commit is contained in:
Rainer Gümpelein 2022-12-29 10:07:51 +00:00
parent 56be95deb5
commit 30831fde78

View file

@ -13,10 +13,8 @@
| key | Required | Format | Comment |
| -------------- | -------- | -------- | -------------------------------------- |
| state | + | text | bike available state |
| lock_state | + | text | smartlock locking state |
| station_state | o | text | station smartlock locking state |
| lock_state | + | text | smartlock locking state |
| service_state | o | text | service state for maintanance |
| bike_charge | o | text | bike akku capacity |
| description | o | text | short bike description |
| bike | + | text | bike prefix_number |
| gps | + | array | GPS: latitude, longitude |
@ -28,6 +26,8 @@
| lockit_ID | + | text | bluetooth ID |
| lockit_GUID | + | text | bluetooth GUID |
| service_code | o | array | color keys, only available for servicetool users |
| bike_type | + | object | describes the bike with some attributes |
| smartlock_type | + | object | (under development) describes the smartlock with some attributes |
Example
**request** to get all bikes with states