VERSION calls

NOVA

curl -i http://23.253.228.211:8774/ -H "Accept: application/json" -H "X-Auth-Token:$token" 

{
   "versions":[
      {
         "status":"CURRENT",
         "updated":"2011-01-21T11:33:21Z",
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:8774/v2/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"EXPERIMENTAL",
         "updated":"2013-07-23T11:33:21Z",
         "id":"v3.0",
         "links":[
            {
               "href":"http://23.253.228.211:8774/v3/",
               "rel":"self"
            }
         ]
      }
   ]
}

curl -i http://23.253.228.211:8774/v2.0/ -H "Accept: application/json" -H "X-Auth-Token:$token" 

{
   "choices":[
      {
         "status":"EXPERIMENTAL",
         "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/v2.0",
               "rel":"self"
            }
         ]
      },
      {
         "status":"CURRENT",
         "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/v2.0",
               "rel":"self"
            }
         ]
      }
   ]
}

curl -i http://23.253.228.211:8774/v3/  -H "Accept: application/json"  -H "X-Auth-Token: $token" 

{
   "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"
         }
      ]
   }
}

NEUTRON

curl -i http://23.253.228.211:9696/  -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:9696/v2.0",
               "rel":"self"
            }
         ]
      }
   ]
}

curl -i http://23.253.228.211:9696/v2.0/  -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "resources":[
      {
         "links":[
            {
               "href":"http://23.253.228.211:9696/v2.0/subnets",
               "rel":"self"
            }
         ],
         "name":"subnet",
         "collection":"subnets"
      },
      {
         "links":[
            {
               "href":"http://23.253.228.211:9696/v2.0/networks",
               "rel":"self"
            }
         ],
         "name":"network",
         "collection":"networks"
      },
      {
         "links":[
            {
               "href":"http://23.253.228.211:9696/v2.0/ports",
               "rel":"self"
            }
         ],
         "name":"port",
         "collection":"ports"
      }
   ]
}

CINDERV2

curl -i http://23.253.228.211:8776/  -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "updated":"2012-01-04T11:33:21Z",
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v1/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"CURRENT",
         "updated":"2012-11-21T11:33:21Z",
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v2/",
               "rel":"self"
            }
         ]
      }
   ]
}

curl -i http://23.253.228.211:8776/v1.0/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "choices":[
      {
         "status":"CURRENT",
         "media-types":[
            {
               "base":"application/xml",
               "type":"application/vnd.openstack.volume+xml;version=1"
            },
            {
               "base":"application/json",
               "type":"application/vnd.openstack.volume+json;version=1"
            }
         ],
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v1/v1.0",
               "rel":"self"
            }
         ]
      },
      {
         "status":"CURRENT",
         "media-types":[
            {
               "base":"application/xml",
               "type":"application/vnd.openstack.volume+xml;version=1"
            },
            {
               "base":"application/json",
               "type":"application/vnd.openstack.volume+json;version=1"
            }
         ],
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v2/v1.0",
               "rel":"self"
            }
         ]
      }
   ]
}

curl -i http://23.253.228.211:8776/v2.0/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "choices":[
      {
         "status":"CURRENT",
         "media-types":[
            {
               "base":"application/xml",
               "type":"application/vnd.openstack.volume+xml;version=1"
            },
            {
               "base":"application/json",
               "type":"application/vnd.openstack.volume+json;version=1"
            }
         ],
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v1/v2.0",
               "rel":"self"
            }
         ]
      },
      {
         "status":"CURRENT",
         "media-types":[
            {
               "base":"application/xml",
               "type":"application/vnd.openstack.volume+xml;version=1"
            },
            {
               "base":"application/json",
               "type":"application/vnd.openstack.volume+json;version=1"
            }
         ],
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v2/v2.0",
               "rel":"self"
            }
         ]
      }
   ]
}

S3

curl -i http://23.253.228.211:3333/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

<?xml version="1.0" encoding="UTF-8"?>
<ListAllMyBucketsResult xmlns="http://doc.s3.amazonaws.com/2006-03-01"><Buckets></Buckets></ListAllMyBucketsResult>

GLANCE

curl -i http://23.253.228.211:9292/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "id":"v2.2",
         "links":[
            {
               "href":"http://23.253.228.211:9292/v2/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"SUPPORTED",
         "id":"v2.1",
         "links":[
            {
               "href":"http://23.253.228.211:9292/v2/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"SUPPORTED",
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:9292/v2/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"CURRENT",
         "id":"v1.1",
         "links":[
            {
               "href":"http://23.253.228.211:9292/v1/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"SUPPORTED",
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:9292/v1/",
               "rel":"self"
            }
         ]
      }
   ]
}

TROVE

curl -i http://23.253.228.211:8779/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "updated":"2012-08-01T00:00:00Z",
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8779/v1.0/",
               "rel":"self"
            }
         ]
      }
   ]
}

curl -i http://23.253.228.211:8779/v1.0/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "unauthorized":{
      "message":"This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.",
      "code":401
   }
}

HEAT

curl -i http://23.253.228.211:8000/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8000/v1/",
               "rel":"self"
            }
         ]
      }
   ]
}

curl -i http://23.253.228.211:8000/v1.0/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

<ErrorResponse><Error><Message>The request signature does not conform to AWS standards</Message><Code>IncompleteSignature</Code><Type>Sender</Type></Error></ErrorResponse>

CINDER

curl -i http://23.253.228.211:8776/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "updated":"2012-01-04T11:33:21Z",
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v1/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"CURRENT",
         "updated":"2012-11-21T11:33:21Z",
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v2/",
               "rel":"self"
            }
         ]
      }
   ]
}

EC2

curl -i http://23.253.228.211:8773/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "updated":"2012-01-04T11:33:21Z",
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v1/",
               "rel":"self"
            }
         ]
      },
      {
         "status":"CURRENT",
         "updated":"2012-11-21T11:33:21Z",
         "id":"v2.0",
         "links":[
            {
               "href":"http://23.253.228.211:8776/v2/",
               "rel":"self"
            }
         ]
      }
   ]
}

HEAT (2)

curl -i http://23.253.228.211:8004/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":[
      {
         "status":"CURRENT",
         "id":"v1.0",
         "links":[
            {
               "href":"http://23.253.228.211:8004/v1/",
               "rel":"self"
            }
         ]
      }
   ]
}

SWIFT

curl -i http://23.253.228.211:8080/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

<html><h1>Not Found</h1><p>The resource could not be found.</p></html>

KEYSTONE

curl -i http://23.253.228.211:5000/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "versions":{
      "values":[
         {
            "status":"stable",
            "updated":"2013-03-06T00:00:00Z",
            "media-types":[
               {
                  "base":"application/json",
                  "type":"application/vnd.openstack.identity-v3+json"
               },
               {
                  "base":"application/xml",
                  "type":"application/vnd.openstack.identity-v3+xml"
               }
            ],
            "id":"v3.0",
            "links":[
               {
                  "href":"http://23.253.228.211:5000/v3/",
                  "rel":"self"
               }
            ]
         },
         {
            "status":"stable",
            "updated":"2014-04-17T00:00:00Z",
            "media-types":[
               {
                  "base":"application/json",
                  "type":"application/vnd.openstack.identity-v2.0+json"
               },
               {
                  "base":"application/xml",
                  "type":"application/vnd.openstack.identity-v2.0+xml"
               }
            ],
            "id":"v2.0",
            "links":[
               {
                  "href":"http://23.253.228.211:5000/v2.0/",
                  "rel":"self"
               },
               {
                  "href":"http://docs.openstack.org/api/openstack-identity-service/2.0/content/",
                  "type":"text/html",
                  "rel":"describedby"
               },
               {
                  "href":"http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf",
                  "type":"application/pdf",
                  "rel":"describedby"
               }
            ]
         }
      ]
   }
}

curl -i http://23.253.228.211:5000/v3.0/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}

curl -i http://23.253.228.211:5000/v2.0/ -H "Accept: application/json"   -H "X-Auth-Token: $token"

{
   "version":{
      "status":"stable",
      "updated":"2014-04-17T00:00:00Z",
      "media-types":[
         {
            "base":"application/json",
            "type":"application/vnd.openstack.identity-v2.0+json"
         },
         {
            "base":"application/xml",
            "type":"application/vnd.openstack.identity-v2.0+xml"
         }
      ],
      "id":"v2.0",
      "links":[
         {
            "href":"http://23.253.228.211:5000/v2.0/",
            "rel":"self"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-identity-service/2.0/content/",
            "type":"text/html",
            "rel":"describedby"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf",
            "type":"application/pdf",
            "rel":"describedby"
         }
      ]
   }
}