Fix broken version responses

The version responses link to non-existing PDF and WADL files.
Remove the WADL link and replace the PDF link with a HTML link to
docs.openstack.org.

Change-Id: Id514caee32df430b616609144f52d1a58c93d9cd
Closes-Bug: #1313118
Closes-Bug: #1313116
This commit is contained in:
Andreas Jaeger 2014-04-26 18:59:33 +02:00
parent 4a392e658c
commit c1c1020542
1 changed files with 4 additions and 20 deletions

View File

@ -35,16 +35,8 @@ _KNOWN_VERSIONS = {
"links": [
{
"rel": "describedby",
"type": "application/pdf",
"href": "http://jorgew.github.com/block-storage-api/"
"content/os-block-storage-1.0.pdf",
},
{
"rel": "describedby",
"type": "application/vnd.sun.wadl+xml",
#(anthony) FIXME
"href": "http://docs.rackspacecloud.com/"
"servers/api/v1.1/application.wadl",
"type": "text/html",
"href": "http://docs.openstack.org/",
},
],
"media-types": [
@ -65,16 +57,8 @@ _KNOWN_VERSIONS = {
"links": [
{
"rel": "describedby",
"type": "application/pdf",
"href": "http://jorgew.github.com/block-storage-api/"
"content/os-block-storage-1.0.pdf",
},
{
"rel": "describedby",
"type": "application/vnd.sun.wadl+xml",
#(anthony) FIXME
"href": "http://docs.rackspacecloud.com/"
"servers/api/v1.1/application.wadl",
"type": "text/html",
"href": "http://docs.openstack.org/",
},
],
"media-types": [