openmobilityfoundation / mobility-data-specification

A data standard to enable right-of-way regulation and two-way communication between mobility companies and local governments.
https://www.openmobilityfoundation.org/about-mds/
Other
676 stars 232 forks source link

Fix Reports - Register error table #863

Closed thekaveman closed 1 year ago

thekaveman commented 1 year ago

The list of errors for this endpoint looks like it was copied from Stops, and doesn't seem right for Reports: https://github.com/openmobilityfoundation/mobility-data-specification/tree/release-2.0.0/agency#reports---register

In https://github.com/openmobilityfoundation/mobility-data-specification/issues/856#issuecomment-1533961341 I suggested:

Endpoint HTTP method Error key Error description HTTP code
/reports POST bad_param A validation error occurred 400

This update should be made in the docs.

schnuerle commented 1 year ago

See the change made in this commit.