mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 15:46:26 +01:00
Update 3.4. pri request=stations_available
This commit is contained in:
parent
9b2b2814ab
commit
bf90e41810
1 changed files with 9 additions and 1 deletions
|
@ -15,13 +15,21 @@
|
||||||
| description | o | text<=20 | short station description |
|
| description | o | text<=20 | short station description |
|
||||||
| gps | + | array | GPS: latitude, longitude |
|
| gps | + | array | GPS: latitude, longitude |
|
||||||
| station | + | text | station prefix_number |
|
| station | + | text | station prefix_number |
|
||||||
| station_group | + | array | station group |
|
| station_group | + | array | station_group describes which bike_groups are allowed at the station |
|
||||||
| authed | o | text | return 1 if user is authenticated on operator |
|
| authed | o | text | return 1 if user is authenticated on operator |
|
||||||
| gps_radius | + | text | geofencing by meters around station, for bike return. |
|
| gps_radius | + | text | geofencing by meters around station, for bike return. |
|
||||||
| uri_operator | + | text | URI of operator-server |
|
| uri_operator | + | text | URI of operator-server |
|
||||||
| bike_count | + | text | Amount of available bikes on station |
|
| bike_count | + | text | Amount of available bikes on station |
|
||||||
| operator_data | o | object | operator values (see example) |
|
| operator_data | o | object | operator values (see example) |
|
||||||
|
|
||||||
|
|
||||||
|
**station_group** describes which **bike_groups** are allowed at the station.
|
||||||
|
Groups are identified by ID. The following groups of bicycles are defined:
|
||||||
|
| group ID | bike type |
|
||||||
|
| ------ | ------ |
|
||||||
|
| 300101 | Cargobike |
|
||||||
|
| 300103 | Citybike |
|
||||||
|
|
||||||
Example
|
Example
|
||||||
**REST request=stations_available** for authorized users
|
**REST request=stations_available** for authorized users
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue