Update 3.5. pri request=bikes_available

This commit is contained in:
Rainer Gümpelein 2022-12-29 10:05:13 +00:00
parent 21b85fc3df
commit 56be95deb5

View file

@ -14,21 +14,19 @@
| -------------- | -------- | -------- | -------------------------------------- |
| state | + | text | bike available state |
| lock_state | + | text | bike smartlock locking state |
| station_state | o | text | station 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 |
| station | + | text | station prefix+number |
| bike_group | + | array | bike group |
| system | + | text>=1 | bike lock system |
| system | + | text | bike lock system |
| uri_operator | + | text | URI of Operator-Server |
| lockit_ID | + | text | bluetooth ID |
| lockit_GUID | + | text | bluetooth GUID |
| authed | + | text | if 1 then authenticated request on operator |
| rental_description | + | object | with tarif_elements and rental_info |
| bike_type | + | object | describes the bike with some attributes |
| smartlock_type | + | object | (under development) describes the smartlock with some attributes |
**rental_description** JSON Object
| key | Required | Format | Comment |
@ -46,6 +44,12 @@
| 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
**REST request=bikes_available** for authorized users