-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Labels
Description
Who am I?
Edwin van den Belt, Software architect in the Netherlands, representing the TOMP-API.
What is the issue and why is it an issue?
We started creating the TOMP-API, using the GBFS definitions, in a restful way. But we extended some of these files with additional functionality, search functionality for availability in the future. This also required to publish all vehicles, without status information (in GBFS it shows only the available vehicles in the 'here-and-now'). It is mainly required for reservation purposes, but it cannot be handled by GBFS right now.
Please describe some potential solutions you have considered (even if they aren’t related to GBFS).
- extend the GBFS file vehicle_status with an array of available time slots (but in this case, you have to show all bikes)
- use a restful API (described using OpenAPI spec) as an 'add-on' on the vehicles, exposing all vehicles, but allowing multiple filters as well to cope with large data sets, but also include paging (see Restful API for filtering and pagination #617).
For more information, look at: https://github.com/TOMP-WG/TOMP-API/blob/master/documents/presentations/TOMP-API%20-%20GBFS%20-%20availability.pptx
Is your potential solution a breaking change?
- Yes
- No
- Unsure, it is an add-on
Reactions are currently unavailable