Closed gracebrownecodes closed 9 years ago
Motivation described in chop-dbhi/data-models#80
User-Agent header seems like the place suggested by several resources I looked at. https://en.wikipedia.org/wiki/User_agent
My gut tells me this is the not the place to put it since it feels more like an API version rather than a server version. That being said, how do you want to use this.
Basically, I want to use it for debugging purposes and provenance, not to actually negotiate for API version or anything. Where do you think we should put it, in that case?
BTW, this seems to be a huge debate I've stumbled onto:
http://www.troyhunt.com/2014/02/your-api-versioning-is-wrong-which-is.html https://www.mnot.net/blog/2011/10/25/web_api_versioning_smackdown
In addition to exposing the data model version being exposed (work in #4, #5, and #6), I think the service version should be exposed as well, since that could alter the output.
Working to include this in the output of the DDL generator. See chop-dbhi/data-models-service#9
What is the motivation for this? Why the User-Agent?