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

Provide data from last API version on a non-versioned path #87

Closed
rafaellehmkuhl opened this issue Nov 27, 2023 · 1 comment
Closed

Comments

@rafaellehmkuhl
Copy link

Since t0.11.15 the API has broken compatibility with older versions, as now the API version needs to be included in the route path (/v1 in the path beggining).

This change breaks applications that are using mavlink2rest, forcing them to not upgrade or to put a routine to check the mavlink2rest version that it's being consumed and deal with that (putting the /v1 for the newer version).

My suggestion would be for mavlink2rest to work on non-versioned paths (today it gives a "404") and deliver the latest API version for those cases. This would prevent applications from breaking and at the same time allowing access to the versioned route.

@rafaellehmkuhl
Copy link
Author

Fixed with #88

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

No branches or pull requests

1 participant