← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1313119] [NEW] nova: links in versions response do not work

 

Public bug reported:

The links in the GET /v2 response do not work and should be removed.
Replace the PDF link with a link to docs.openstack.org.

{
   "version":{
      "status":"CURRENT",
      "updated":"2011-01-21T11:33:21Z",
      "media-types":[
         {
            "base":"application/xml",
            "type":"application/vnd.openstack.compute+xml;version=2"
         },
         {
            "base":"application/json",
            "type":"application/vnd.openstack.compute+json;version=2"
         }
      ],
      "id":"v2.0",
      "links":[
         {
            "href":"http://23.253.228.211:8774/v2/";,
            "rel":"self"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf";,
            "type":"application/pdf",
            "rel":"describedby"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl";,
            "type":"application/vnd.sun.wadl+xml",
            "rel":"describedby"
         }
      ]
   }
}


The links in the GET /v3 response do not work either:

{
   "version":{
      "status":"EXPERIMENTAL",
      "updated":"2013-07-23T11:33:21Z",
      "media-types":[
         {
            "base":"application/json",
            "type":"application/vnd.openstack.compute+json;version=3"
         }
      ],
      "id":"v3.0",
      "links":[
         {
            "href":"http://23.253.228.211:8774/v3/";,
            "rel":"self"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/3/os-compute-devguide-3.pdf";,
            "type":"application/pdf",
            "rel":"describedby"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/3/wadl/os-compute-3.wadl";,
            "type":"application/vnd.sun.wadl+xml",
            "rel":"describedby"
         }
      ]
   }
}

** Affects: nova
     Importance: Undecided
         Status: New

** Project changed: cinder => nova-project

** Project changed: nova-project => nova

** Description changed:

  The links in the GET /v2 response do not work and should be removed.
  Replace the PDF link with a link to docs.openstack.org.
  
  {
+    "version":{
+       "status":"CURRENT",
+       "updated":"2011-01-21T11:33:21Z",
+       "media-types":[
+          {
+             "base":"application/xml",
+             "type":"application/vnd.openstack.compute+xml;version=2"
+          },
+          {
+             "base":"application/json",
+             "type":"application/vnd.openstack.compute+json;version=2"
+          }
+       ],
+       "id":"v2.0",
+       "links":[
+          {
+             "href":"http://23.253.228.211:8774/v2/";,
+             "rel":"self"
+          },
+          {
+             "href":"http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf";,
+             "type":"application/pdf",
+             "rel":"describedby"
+          },
+          {
+             "href":"http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl";,
+             "type":"application/vnd.sun.wadl+xml",
+             "rel":"describedby"
+          }
+       ]
+    }
+ }
+ 
+ 
+ The links in the GET /v3 response do not work either:
+ 
+ {
     "version":{
-       "status":"CURRENT",
-       "updated":"2011-01-21T11:33:21Z",
+       "status":"EXPERIMENTAL",
+       "updated":"2013-07-23T11:33:21Z",
        "media-types":[
           {
-             "base":"application/xml",
-             "type":"application/vnd.openstack.compute+xml;version=2"
-          },
-          {
              "base":"application/json",
-             "type":"application/vnd.openstack.compute+json;version=2"
+             "type":"application/vnd.openstack.compute+json;version=3"
           }
        ],
-       "id":"v2.0",
+       "id":"v3.0",
        "links":[
           {
-             "href":"http://23.253.228.211:8774/v2/";,
+             "href":"http://23.253.228.211:8774/v3/";,
              "rel":"self"
           },
           {
-             "href":"http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf";,
+             "href":"http://docs.openstack.org/api/openstack-compute/3/os-compute-devguide-3.pdf";,
              "type":"application/pdf",
              "rel":"describedby"
           },
           {
-             "href":"http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl";,
+             "href":"http://docs.openstack.org/api/openstack-compute/3/wadl/os-compute-3.wadl";,
              "type":"application/vnd.sun.wadl+xml",
              "rel":"describedby"
           }
        ]
     }
  }

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1313119

Title:
  nova: links in versions response do not work

Status in OpenStack Compute (Nova):
  New

Bug description:
  The links in the GET /v2 response do not work and should be removed.
  Replace the PDF link with a link to docs.openstack.org.

  {
     "version":{
        "status":"CURRENT",
        "updated":"2011-01-21T11:33:21Z",
        "media-types":[
           {
              "base":"application/xml",
              "type":"application/vnd.openstack.compute+xml;version=2"
           },
           {
              "base":"application/json",
              "type":"application/vnd.openstack.compute+json;version=2"
           }
        ],
        "id":"v2.0",
        "links":[
           {
              "href":"http://23.253.228.211:8774/v2/";,
              "rel":"self"
           },
           {
              "href":"http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf";,
              "type":"application/pdf",
              "rel":"describedby"
           },
           {
              "href":"http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl";,
              "type":"application/vnd.sun.wadl+xml",
              "rel":"describedby"
           }
        ]
     }
  }

  
  The links in the GET /v3 response do not work either:

  {
     "version":{
        "status":"EXPERIMENTAL",
        "updated":"2013-07-23T11:33:21Z",
        "media-types":[
           {
              "base":"application/json",
              "type":"application/vnd.openstack.compute+json;version=3"
           }
        ],
        "id":"v3.0",
        "links":[
           {
              "href":"http://23.253.228.211:8774/v3/";,
              "rel":"self"
           },
           {
              "href":"http://docs.openstack.org/api/openstack-compute/3/os-compute-devguide-3.pdf";,
              "type":"application/pdf",
              "rel":"describedby"
           },
           {
              "href":"http://docs.openstack.org/api/openstack-compute/3/wadl/os-compute-3.wadl";,
              "type":"application/vnd.sun.wadl+xml",
              "rel":"describedby"
           }
        ]
     }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1313119/+subscriptions


Follow ups

References