Updated self-documentation to point to docs.openstack.org

Change-Id: Ib92cb08abaead1578218ff52bc86d89b30cefa76
This commit is contained in:
Dolph Mathews 2011-10-20 13:22:13 -05:00
parent 8dcd49d8e4
commit 4b30f08fdb
4 changed files with 31 additions and 13 deletions

View File

@ -6,12 +6,17 @@
"links": [
{
"rel" : "self",
"href" : "http://{{HOST}}:{{PORT}}/v2.0/"
"href" : "http://{{HOST}}:{{PORT}}/v{{API_VERSION}}/"
},
{
"rel" : "describedby",
"type" : "text/html",
"href" : "http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/content/"
},
{
"rel" : "describedby",
"type" : "application/pdf",
"href" : "http://{{HOST}}:{{PORT}}/v2.0/identityadminguide.pdf"
"href" : "http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/identity-dev-guide-{{API_VERSION}}.pdf"
},
{
"rel" : "describedby",
@ -22,11 +27,11 @@
"media-types": [
{
"base" : "application/xml",
"type" : "application/vnd.openstack.identity-v2.0+xml"
"type" : "application/vnd.openstack.identity-v{{API_VERSION}}+xml"
},
{
"base" : "application/json",
"type" : "application/vnd.openstack.identity-v2.0+json"
"type" : "application/vnd.openstack.identity-v{{API_VERSION}}+json"
}
]
}

View File

@ -5,17 +5,21 @@
<media-types>
<media-type base="application/xml"
type="application/vnd.openstack.identity-v2.0+xml"/>
type="application/vnd.openstack.identity-v{{API_VERSION}}+xml"/>
<media-type base="application/json"
type="application/vnd.openstack.identity-v2.0+json"/>
type="application/vnd.openstack.identity-v{{API_VERSION}}+json"/>
</media-types>
<atom:link rel="self"
href="http://{{HOST}}:{{PORT}}/v2.0/"/>
href="http://{{HOST}}:{{PORT}}/v{{API_VERSION}}/"/>
<atom:link rel="describedby"
type="text/html"
href="http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/content/" />
<atom:link rel="describedby"
type="application/pdf"
href="http://{{HOST}}:{{PORT}}/v2.0/identitydevguide.pdf" />
href="http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/identity-dev-guide-{{API_VERSION}}.pdf" />
<atom:link rel="describedby"
type="application/vnd.sun.wadl+xml"

View File

@ -8,10 +8,15 @@
"rel" : "self",
"href" : "http://{{HOST}}:{{PORT}}/v2.0/"
},
{
"rel" : "describedby",
"type" : "text/html",
"href" : "http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/content/"
},
{
"rel" : "describedby",
"type" : "application/pdf",
"href" : "http://{{HOST}}:{{PORT}}/v2.0/identitydevguide.pdf"
"href" : "http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/identity-dev-guide-{{API_VERSION}}.pdf"
},
{
"rel" : "describedby",

View File

@ -5,17 +5,21 @@
<media-types>
<media-type base="application/xml"
type="application/vnd.openstack.identity-v2.0+xml"/>
type="application/vnd.openstack.identity-v{{API_VERSION}}+xml"/>
<media-type base="application/json"
type="application/vnd.openstack.identity-v2.0+json"/>
type="application/vnd.openstack.identity-v{{API_VERSION}}+json"/>
</media-types>
<atom:link rel="self"
href="http://{{HOST}}:{{PORT}}/v2.0/"/>
href="http://{{HOST}}:{{PORT}}/v{{API_VERSION}}/"/>
<atom:link rel="describedby"
type="text/html"
href="http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/content/" />
<atom:link rel="describedby"
type="application/pdf"
href="http://{{HOST}}:{{PORT}}/v2.0/identitydevguide.pdf" />
href="http://docs.openstack.org/api/openstack-identity-service/{{API_VERSION}}/identity-dev-guide-{{API_VERSION}}.pdf" />
<atom:link rel="describedby"
type="application/vnd.sun.wadl+xml"