gbfs-validator icon indicating copy to clipboard operation
gbfs-validator copied to clipboard

Introduce a GBFS Validator API product offering

Open AntoineAugusti opened this issue 2 years ago • 2 comments

People have expressed the desire to use the GBFS Validator through an HTTP API (#53 #95 at least). At the moment it's possible but it's hidden and it's not a proper feature offered by MobilityData.

As discussed during the recent workshop in Valencia, Spain it would be great to:

  • clarify that there is an API available
  • define terms of services/restrictions/support/pricing (if applicable)
  • write a documentation
  • make sure HTTP responses are stable over time to avoid breaking integrations

We @ transport.data.gouv.fr rely on this hidden API every day at the moment and are more than happy to help you review these things.

AntoineAugusti avatar Sep 13 '23 14:09 AntoineAugusti

Hello,

Yes, it's a good idea ! (as it's already used externaly ;) )

:information_source: If you don't know, we already expose an OpenAPI endpoint on https://gbfs-validator.mobilitydata.org/.netlify/functions/doc

If we want to offer a real API product, the current hosting on netlify may be limited ( .netlify on the path, timeout execution, max body size #109, etc)

PierrickP avatar Sep 14 '23 08:09 PierrickP

Related PR: https://github.com/MobilityData/gbfs-validator/pull/171

richfab avatar Apr 24 '24 07:04 richfab