[openstack-dev] [api][nova][ironic] Microversion API HTTP header

Jay Pipes jaypipes at gmail.com
Mon Jun 15 20:20:27 UTC 2015


On 06/15/2015 03:45 PM, Kevin L. Mitchell wrote:
> On Mon, 2015-06-15 at 13:07 -0400, Jay Pipes wrote:
>> The original spec said that the HTTP header should contain the name of
>> the service type returned by the Keystone service catalog (which is also
>> the official name of the REST API). I don't understand why the spec was
>> changed retroactively and why Nova has been changed to return
>> X-OpenStack-Nova-API-Version instead of X-OpenStack-Compute-API-Version
>> HTTP headers [4].
>
> Given the disagreement evinced by the responses to this thread, let me
> ask a question: Would there be any particular problem with using
> "X-OpenStack-API-Version"?

I'd be cool with that. After all, you can't talk to two HTTP endpoints 
in the same HTTP request.

-jay



More information about the OpenStack-dev mailing list