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

Retrieve API version #51

Open
kacperfleszar opened this issue Nov 23, 2019 · 8 comments
Open

Retrieve API version #51

kacperfleszar opened this issue Nov 23, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@kacperfleszar
Copy link

Hi!

Is it possible to retrieve current API version by API call? Something like: GET https://mhw-db.com/version
I'm using your API in Java app and I would like to create some regression tests to check if something changes.

Thanks,
Kacper

@LartTyler
Copy link
Owner

It isn't currently possible, but I can add it to the backlog! I'll update this issue again once it's been added.

@LartTyler LartTyler added the enhancement New feature or request label Nov 26, 2019
@kacperfleszar
Copy link
Author

Great, thanks for the answer!

@mitchjmac
Copy link

Adding on to this, curious as to what typically motivates a version change? Just updates to the structure of the data? Or additions to the data itself: new armor, weapons, etc?

@DeveloperPaul123
Copy link
Contributor

For the most part it's data schema changes or data field deprecation/removals. @LartTyler Can advise in more detail.

@mitchjmac
Copy link

That's all I needed to know, thanks!

@LartTyler
Copy link
Owner

Specifically, patch versions (e.g. 1.18.x) are generally reserved for fixes to things. So if validation is wrong for an object, or if the data it's returning isn't a consistent shape, that'll be part of a patch release. A minor version (e.g. 1.x) generally contains new features or fields / objects. It can also contain deprecations for older features that are being replaced, with old deprecated features being removed in the minor version following the release that deprecated them.

@DeveloperPaul123
Copy link
Contributor

@LartTyler Since you closed this issue, does it mean it's now possible to retrieve the version of the API?

@LartTyler
Copy link
Owner

Nope, it was a misclick. Thanks for pointing it out!

@LartTyler LartTyler reopened this Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants