From b56bd9890615145efdc66c2f9f20b4180c2745dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20G=C3=BCmpelein?= Date: Thu, 29 Dec 2022 10:10:02 +0000 Subject: [PATCH] Update 5.2. tool request=bikes_all --- 5.2.-tool-request=bikes_all.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/5.2.-tool-request=bikes_all.md b/5.2.-tool-request=bikes_all.md index 3f7d295..a9d907d 100644 --- a/5.2.-tool-request=bikes_all.md +++ b/5.2.-tool-request=bikes_all.md @@ -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 ```