Implement REST API microversions in Manila
The OpenStack API working group recommends all projects adopt Nova-style microversions for versioning their REST APIs. This commit ports the Nova microversion code and docs to Manila.
With this patch, the API version is bumped to 1.1, and the versions API (which has always returned horribly outdated values) is the first API that is versioned. The 1.1 version of the versions API includes the minimum and current API version values.
Here is the updated 1.0 version (without version fields):
curl -i -X GET http://
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 339
X-Openstack-
Vary: X-OpenStack-
Date: Thu, 06 Aug 2015 16:10:13 GMT
{"versions": [{"status": "CURRENT", "updated": "2015-07-
And here is the 1.1 version (with version fields):
curl -i -X GET http://
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 379
X-Openstack-
Vary: X-OpenStack-
Date: Thu, 06 Aug 2015 16:11:51 GMT
{"versions": [{"status": "CURRENT", "updated": "2015-07-
Blueprint information
- Status:
- Complete
- Approver:
- Ben Swartzlander
- Priority:
- Essential
- Drafter:
- Clinton Knight
- Direction:
- Approved
- Assignee:
- Clinton Knight
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- 1.0.0
- Started by
- Clinton Knight
- Completed by
- Ben Swartzlander
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Implement Manila REST API microversions
Gerrit topic: https:/