OSAPI v1.1 Versioned Content Types

Bug #844905 reported by Brian Waldon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Johannes Erdfelt

Bug Description

The spec allows us to specify the api version in a content type rather than the url:

http://localhost:8774/<tenant_id>/servers
Content-Type: application/xml; version=1.1

http://docs.openstack.org/cactus/openstack-compute/developer/openstack-compute-api-1.1/content/Versions-d1e1193.html

Tags: osapi-v1.1

Related branches

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
Changed in nova:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : A change has been merged to openstack/nova

Reviewed: https://review.openstack.org/656
Committed: http://github.com/openstack/nova/commit/6e5f2d88e630540b0ab121cd9949289d2fc0cd67
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 6e5f2d88e630540b0ab121cd9949289d2fc0cd67
Author: Johannes Erdfelt <email address hidden>
Date: Sun Sep 25 22:51:55 2011 +0000

    Add support for header version parameter to specify API version.

    bug 844905

    The 1.1 API specifies that the API version can be determined by URL path
    (eg /v1.1/tenant/servers/detail), Content-Type header
    (eg application/json;version=1.1) or Accept header
    (eg application/json;q=0.8;version=1.1, application/xml;q=0.2;version=1.1).

    Change-Id: I01220cf1eebc0f759d66563ec67ef2f697c6d310

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.