From 7c8b8cc1b58883c1308f72fbfa78a342162d77eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20G=C3=BCmpelein?= Date: Tue, 28 Mar 2023 09:07:39 +0000 Subject: [PATCH] Update 3.5. pri request=bikes_available --- 3.5.-pri-request=bikes_available.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/3.5.-pri-request=bikes_available.md b/3.5.-pri-request=bikes_available.md index 2abccf8..6dfbe1a 100644 --- a/3.5.-pri-request=bikes_available.md +++ b/3.5.-pri-request=bikes_available.md @@ -23,7 +23,6 @@ | 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 | o | object | (under development) describes the smartlock with some attributes | @@ -50,6 +49,14 @@ | engine | o | object | contains engine attributes like "manufacturer" | | battery | o | object | contains smartlock battery attributes. | +**bike_group** describes at which station defined in **station_group** the bike is allowed. +Groups are identified by ID. The following groups of bicycles are defined: +| groupID | bike type | +| ------ | ------ | +| 300101 | Cargobike | +| 300103 | Citybike | +Keep in mind, each ID is preceded by an operator-prefix. + Example **REST request=bikes_available** for authorized users