Merge "Update show version code sample for Identity v2.0"

This commit is contained in:
Jenkins 2015-04-13 17:43:42 +00:00 committed by Gerrit Code Review
commit eedf8077d3
3 changed files with 73 additions and 69 deletions

View File

@ -1,23 +1,28 @@
{
"version": {
"status": "stable",
"updated": "2013-03-06T00:00:00Z",
"updated": "2014-04-17T00:00:00Z",
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v3+json"
"type": "application/vnd.openstack.identity-v2.0+json"
},
{
"base": "application/xml",
"type": "application/vnd.openstack.identity-v3+xml"
"type": "application/vnd.openstack.identity-v2.0+xml"
}
],
"id": "v3.0",
"id": "v2.0",
"links": [
{
"href": "http://23.253.228.211:35357/v3/",
"href": "http://192.168.122.176:5000/v2.0/",
"rel": "self"
},
{
"href": "http://docs.openstack.org/",
"rel": "describedby",
"type": "text/html"
}
]
}
}
}

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<version xmlns="http://docs.openstack.org/identity/api/v3"
status="stable" updated="2013-03-06T00:00:00Z" id="v3.0">
<media-types>
<media-type base="application/json"
type="application/vnd.openstack.identity-v3+json"/>
<media-type base="application/xml"
type="application/vnd.openstack.identity-v3+xml"/>
</media-types>
<links>
<link href="http://23.253.228.211:35357/v3/" rel="self"/>
</links>
<version status="stable" updated="2014-04-17T00:00:00Z" id="v2.0">
<media-types>
<media-type base="application/json" type="application/vnd.openstack.identity-v2.0+json" />
<media-type base="application/xml" type="application/vnd.openstack.identity-v2.0+xml" />
</media-types>
<links>
<link href="http://192.168.122.176:5000/v2.0/" rel="self" />
<link href="http://docs.openstack.org/" type="text/html" rel="describedby" />
</links>
<link href="http://192.168.122.176:5000/v2.0/" rel="self" />
<link href="http://docs.openstack.org/" type="text/html" rel="describedby" />
</version>

View File

@ -1,54 +1,53 @@
{
"versions":{
"values":[
{
"id":"v3.0",
"links":[
{
"href":"http://192.168.122.176:5000/v3/",
"rel":"self"
}
],
"media-types":[
{
"base":"application/json",
"type":"application/vnd.openstack.identity-v3+json"
},
{
"base":"application/xml",
"type":"application/vnd.openstack.identity-v3+xml"
}
],
"status":"stable",
"updated":"2013-03-06T00:00:00Z"
},
{
"id":"v2.0",
"links":[
{
"href":"http://192.168.122.176:5000/v2.0/",
"rel":"self"
},
{
"href":"http://docs.openstack.org/",
"rel":"describedby",
"type":"text/html"
}
],
"media-types":[
{
"base":"application/json",
"type":"application/vnd.openstack.identity-v2.0+json"
},
{
"base":"application/xml",
"type":"application/vnd.openstack.identity-v2.0+xml"
}
],
"status":"stable",
"updated":"2014-04-17T00:00:00Z"
}
]
}
"versions": {
"values": [
{
"id": "v3.0",
"links": [
{
"href": "http://192.168.122.176:5000/v3/",
"rel": "self"
}
],
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v3+json"
},
{
"base": "application/xml",
"type": "application/vnd.openstack.identity-v3+xml"
}
],
"status": "stable",
"updated": "2013-03-06T00:00:00Z"
},
{
"id": "v2.0",
"links": [
{
"href": "http://192.168.122.176:5000/v2.0/",
"rel": "self"
},
{
"href": "http://docs.openstack.org/",
"rel": "describedby",
"type": "text/html"
}
],
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v2.0+json"
},
{
"base": "application/xml",
"type": "application/vnd.openstack.identity-v2.0+xml"
}
],
"status": "stable",
"updated": "2014-04-17T00:00:00Z"
}
]
}
}