Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restful API for filtering and pagination #617

Closed
1 of 3 tasks
edwinvandenbelt opened this issue Mar 27, 2024 · 6 comments
Closed
1 of 3 tasks

Restful API for filtering and pagination #617

edwinvandenbelt opened this issue Mar 27, 2024 · 6 comments
Labels

Comments

@edwinvandenbelt
Copy link

edwinvandenbelt commented Mar 27, 2024

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
  • Unsure, it is an extension on the current GBFS solution
@richfab richfab changed the title Restful extension to extend vehicle_status Restful API for filtering and pagination Mar 27, 2024
@mobilitydataio
Copy link
Contributor

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.

@testower
Copy link
Contributor

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

@richfab
Copy link
Contributor

richfab commented May 27, 2024

I believe that this issue (#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?

@testower
Copy link
Contributor

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?

@mobilitydataio
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants