-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add HTTP header for versioning information #30
Comments
Looking around a bit, it seems adding custom headers with a The question now is, how should we implement a message for a client to understand that if it requests for example So the header here could be, for example,
I'm not sure whether it should be the version or the URI. One could also have both with two different headers, although that may be overkill? For example a |
Yes it think the SOFT-Latest-URI is more interesting as you might be able to even cover the change in entity name. |
If there's a change in the entity name, it should be a completely new entity, really. Semantically. But I suppose one could semantically have a deprecation of one entity in favor of another. This is something different than a "simple" version bump of the same entity - but in practice could very well be the exact same thing. |
Yes that is what I am thinking as well. So maybe it is a bit twisting the meaning of version and should be avoided. Better to have a deprecated tag and pointing to the newest entity. But that is far in the future. |
It doesn't need to be. But for now we could implement it in part by having Maybe with the explicit rule that the name part should not change? |
Talking with @sygout we think it makes sense to have version information in a header for a client to understand whether it has gotten the newest version (or not) of an entity.
The text was updated successfully, but these errors were encountered: