TOMP-WG / TOMP-API

Transport Operator to Mobility-as-a-Service Provider-API development for Mobility as a Service
Apache License 2.0
96 stars 41 forks source link

[CHANGE REQUEST] Remove request header field "API" #529

Open matt-wirtz opened 7 months ago

matt-wirtz commented 7 months ago

API Version

1.5

Summary

The header of a request must include a field: API This field should more precisely define which API definitions are used. It was intended to support different variants, e.g. country specific. This is no longer envisioned.

Possible Solution

Remove this field from the request header.

edwinvandenbelt commented 7 months ago

In https://github.com/TOMP-WG/TOMP-API/tree/transmodel-v1 the fields API and API Version are dropped. The API is obvious, the version number must be (defacto standard) used in the url.

edwinvandenbelt commented 7 months ago

https://github.com/TOMP-WG/TOMP-API/commit/584f1c548fc8fbb947b984c0ff3012ff380d34c0