gbfs icon indicating copy to clipboard operation
gbfs copied to clipboard

Restful API for filtering and pagination

Open edwinvandenbelt opened this issue 10 months ago • 4 comments

What is the issue and why is it an issue?

We want to get availability in the (near) future, to reserve bikes/shared cars. The problem is that the dataset returned would be too large for systems with many vehicles.

Please describe some potential solutions you have considered (even if they aren’t related to GBFS).

The restful endpoint should have filters to limit the result (like geographical boundary, vehicle type, etc).

Is your potential solution a breaking change?

  • [ ] Yes
  • [ ] No
  • [x] Unsure, it is an extension on the current GBFS solution

edwinvandenbelt avatar Mar 27 '24 08:03 edwinvandenbelt

This discussion has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

mobilitydataio avatar May 27 '24 04:05 mobilitydataio

I have the same comment here, there is already an issue where forecasting is discussed as a new optional file, which I think would probably be a better fit. #612

testower avatar May 27 '24 11:05 testower

I believe that this issue (https://github.com/MobilityData/gbfs/issues/617) is specific to the problem that the hypothetical dataset would be too large.

In the interest of keeping the GitHub issues for current problems rather than future problems: @edwinvandenbelt and community, do you have real life examples where the size of a GBFS file is an issue? If so, could you please share the datasets URLs?

richfab avatar May 27 '24 13:05 richfab

I think this should be considered in a broader context yes. Turning GBFS into a server / API specification has more implications. For example, would #630 alleviate some of that concern?

testower avatar May 27 '24 19:05 testower

This discussion has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

mobilitydataio avatar Jul 28 '24 04:07 mobilitydataio

This discussion has been closed due to inactivity. Discussions can always be reopened after they have been closed.

mobilitydataio avatar Aug 27 '24 04:08 mobilitydataio