mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 07:36:26 +01:00
Update 5.2. tool request=bikes_all
This commit is contained in:
parent
56be95deb5
commit
30831fde78
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue