Rename v1.1 to v2
Change-Id: I51dbc34a300e94a2f2b464a1a68011204ebf064f
@ -1,5 +0,0 @@
|
||||
{
|
||||
"addIp" : {
|
||||
"configureServer" : true
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<addIp xmlns="http://docs.openstack.org/compute/api/v1.1" configureServer="true"/>
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"backupSchedule" : {
|
||||
"enabled" : true,
|
||||
"weekly" : "THURSDAY",
|
||||
"daily" : "H_0400_0600"
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<backupSchedule xmlns="http://docs.openstack.org/compute/api/v1.1" enabled="true" weekly="THURSDAY" daily="H_0400_0600"/>
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"sharedIpGroup" : {
|
||||
"id" : "52415800-8b69-11e0-9b19-734f68ab4a9f",
|
||||
"name" : "Shared IP Group 1",
|
||||
"servers" : ["52415800-8b69-11e0-9b19-734f0272444a"],
|
||||
"links": [
|
||||
{
|
||||
"rel" : "self",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
},
|
||||
{
|
||||
"rel" : "bookmark",
|
||||
"href" : "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sharedIpGroup
|
||||
xmlns="http://docs.openstack.org/compute/api/v1.1"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
id="52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
name="Shared IP Group 1">
|
||||
<servers>
|
||||
<server id="52415800-8b69-11e0-9b19-734f0272444a"/>
|
||||
</servers>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/>
|
||||
</sharedIpGroup>
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"sharedIpGroup" : {
|
||||
"name" : "Shared IP Group 1",
|
||||
"server" : "52415800-8b69-11e0-9b19-734f0272444a"
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sharedIpGroup
|
||||
xmlns="http://docs.openstack.org/compute/api/v1.1"
|
||||
name="Shared IP Group 1">
|
||||
<server id="52415800-8b69-11e0-9b19-734f0272444a"/>
|
||||
</sharedIpGroup>
|
@ -1,49 +0,0 @@
|
||||
{
|
||||
"sharedIpGroups": [
|
||||
{
|
||||
"id": "52415800-8b69-11e0-9b19-734f68ab4a9f",
|
||||
"name": "Shared IP Group 1",
|
||||
"servers": [
|
||||
"52415800-8b69-11e0-9b19-734f0272444a",
|
||||
"52415800-8b69-11e0-9b19-734f3b0d4465"
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
"href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "52415800-8b69-11e0-9b19-734f0e75433e",
|
||||
"name": "Shared IP Group 2",
|
||||
"servers": [
|
||||
"52415800-8b69-11e0-9b19-734f10c97171",
|
||||
"52415800-8b69-11e0-9b19-734f4306ea92",
|
||||
"52415800-8b69-11e0-9b19-734f216543fd"
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
"href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"sharedIpGroups_": {
|
||||
"links": [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups?limit=2&marker=52415800-8b69-11e0-9b19-734f0e75433e"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sharedIpGroups
|
||||
xmlns="http://docs.openstack.org/compute/api/v1.1"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<sharedIpGroup
|
||||
id="52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
name="Shared IP Group 1">
|
||||
<servers>
|
||||
<server id="52415800-8b69-11e0-9b19-734f0272444a"/>
|
||||
<server id="52415800-8b69-11e0-9b19-734f3b0d4465"/>
|
||||
</servers>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/>
|
||||
</sharedIpGroup>
|
||||
<sharedIpGroup
|
||||
id="52415800-8b69-11e0-9b19-734f0e75433e"
|
||||
name="Shared IP Group 2">
|
||||
<servers>
|
||||
<server id="52415800-8b69-11e0-9b19-734f10c97171"/>
|
||||
<server id="52415800-8b69-11e0-9b19-734f4306ea92"/>
|
||||
<server id="52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
</servers>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/>
|
||||
</sharedIpGroup>
|
||||
<atom:link
|
||||
rel="next"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups?limit=2&marker=52415800-8b69-11e0-9b19-734f0e75433e"/>
|
||||
</sharedIpGroups>
|
@ -1,41 +0,0 @@
|
||||
{
|
||||
"sharedIpGroups": [
|
||||
{
|
||||
"id": "52415800-8b69-11e0-9b19-734f68ab4a9f",
|
||||
"name": "Shared IP Group 1",
|
||||
"servers": [
|
||||
"52415800-8b69-11e0-9b19-734f0272444a",
|
||||
"52415800-8b69-11e0-9b19-734f3b0d4465"
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
"href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "52415800-8b69-11e0-9b19-734f0e75433e",
|
||||
"name": "Shared IP Group 2",
|
||||
"servers": [
|
||||
"52415800-8b69-11e0-9b19-734f10c97171",
|
||||
"52415800-8b69-11e0-9b19-734f4306ea92",
|
||||
"52415800-8b69-11e0-9b19-734f216543fd"
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
"href": "http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sharedIpGroups
|
||||
xmlns="http://docs.openstack.org/compute/api/v1.1"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<sharedIpGroup
|
||||
id="52415800-8b69-11e0-9b19-734f68ab4a9f"
|
||||
name="Shared IP Group 1">
|
||||
<servers>
|
||||
<server id="52415800-8b69-11e0-9b19-734f0272444a"/>
|
||||
<server id="52415800-8b69-11e0-9b19-734f3b0d4465"/>
|
||||
</servers>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f68ab4a9f"/>
|
||||
</sharedIpGroup>
|
||||
<sharedIpGroup
|
||||
id="52415800-8b69-11e0-9b19-734f0e75433e"
|
||||
name="Shared IP Group 2">
|
||||
<servers>
|
||||
<server id="52415800-8b69-11e0-9b19-734f10c97171"/>
|
||||
<server id="52415800-8b69-11e0-9b19-734f4306ea92"/>
|
||||
<server id="52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
</servers>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/shared_ip_groups/52415800-8b69-11e0-9b19-734f0e75433e"/>
|
||||
</sharedIpGroup>
|
||||
</sharedIpGroups>
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"ipv6AddressRange":
|
||||
{
|
||||
"value":"2001:4800:7800:0500:DA39:A3EE:FF00:0000/96"
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<aide:ipv6AddressRange xmlns:aide="http://docs.rackspacecloud.com/servers/api/ext/aide/v1.0"
|
||||
value="2001:4800:7800:0500:DA39:A3EE:FF00:0000/96"/>
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"RS-SIPE:shareIp" : {
|
||||
"sharedIpGroupId" : 1234,
|
||||
"configureServer" : true
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<shareIp
|
||||
xmlns="http://docs.rackspacecloud.com/servers/api/ext/sipe/v1.0"
|
||||
sharedIpGroupId="1234" configureServer="true"/>
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"snapshot" : {
|
||||
"imageName" : "Just in case"
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<snapshot xmlns="http://docs.openstack.org/compute/api/v1.1" imageName="Just in case"/>
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<version xmlns="http://docs.openstack.org/common/api/v1.0" xmlns:atom="http://www.w3.org/2005/Atom" id="v1.1" status="ALPHA" updated="2011-01-21T11:33:21-06:00">
|
||||
|
||||
<atom:link rel="describedby" type="application/pdf" href="http://docs.rackspacecloud.com/servers/api/v1.1/cs-devguide-20110125.pdf"/>
|
||||
|
||||
<atom:link rel="describedby" type="application/vnd.sun.wadl+xml" href="http://docs.rackspacecloud.com/servers/api/v1.1/application.wadl"/>
|
||||
</version>
|
@ -50,7 +50,7 @@
|
||||
<plugin>
|
||||
<groupId>com.rackspace.cloud.api</groupId>
|
||||
<artifactId>clouddocs-maven-plugin</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<version>1.0.9</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>goal1</id>
|
||||
@ -100,37 +100,37 @@
|
||||
</copy>
|
||||
|
||||
<!-- New stuff -->
|
||||
<mkdir dir="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/"/>
|
||||
<mkdir dir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/"/>
|
||||
|
||||
<!-- Copies schema to a folder and styling for the schemas so a browser can display them -->
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/xsd">
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/xsd">
|
||||
<fileset dir="${basedir}/src/xsd">
|
||||
<include name="**/*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/xslt">
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/xslt">
|
||||
<fileset dir="${basedir}/src/xslt">
|
||||
<include name="**/*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/style">
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/style">
|
||||
<fileset dir="${basedir}/src/style">
|
||||
<include name="**/*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/js">
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/js">
|
||||
<fileset dir="${basedir}/src/js">
|
||||
<include name="**/*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/samples">
|
||||
<copy todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/samples">
|
||||
<fileset dir="${basedir}/src/samples">
|
||||
<include name="**/*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy
|
||||
todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/">
|
||||
todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/">
|
||||
<fileset
|
||||
dir="${basedir}/target/docbkx/webhelp/os-compute-devguide/">
|
||||
<include name="**/*" />
|
||||
@ -146,7 +146,7 @@
|
||||
<!--Moves PDFs to the needed placement -->
|
||||
<move failonerror="false"
|
||||
file="${basedir}/target/docbkx/pdf/os-compute-devguide.pdf"
|
||||
tofile="${basedir}/target/docbkx/webhelp/api/openstack-compute/1.1/os-compute-devguide-1.1.pdf"/>
|
||||
tofile="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/os-compute-devguide-2.pdf"/>
|
||||
|
||||
|
||||
<!--Deletes leftover uneeded directories -->
|
||||
@ -164,7 +164,7 @@
|
||||
<includes>
|
||||
os-compute-devguide.xml
|
||||
</includes>
|
||||
<canonicalUrlBase>http://docs.openstack.org/api/openstack-compute/1.1/content/</canonicalUrlBase>
|
||||
<canonicalUrlBase>http://docs.openstack.org/api/openstack-compute/2/content/</canonicalUrlBase>
|
||||
<profileSecurity>reviewer</profileSecurity>
|
||||
<branding>openstack</branding>
|
||||
</configuration>
|
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@ -7,7 +7,7 @@
|
||||
<!-- -->
|
||||
<!-- You can resolve the entites with xmllint -->
|
||||
<!-- -->
|
||||
<!-- xmllint -noent os-compute-1.1.wadl -->
|
||||
<!-- xmllint -noent os-compute-2.wadl -->
|
||||
<!--*******************************************************-->
|
||||
<!DOCTYPE application [<!ENTITY % common SYSTEM "common.ent">
|
||||
%common;]>
|
||||
@ -32,11 +32,11 @@
|
||||
</grammars>
|
||||
|
||||
<!--*******************************************************-->
|
||||
<!-- All Resoruces -->
|
||||
<!-- All Resources -->
|
||||
<!--*******************************************************-->
|
||||
|
||||
<resources base="https://servers.api.openstack.com">
|
||||
<resource id="version" type="#VersionDetails" path="v1.1/">
|
||||
<resource id="version" type="#VersionDetails" path="v2/">
|
||||
<resource id="extensions" type="#ExtensionList" path="extensions">
|
||||
<resource id="extension" path="{alias}">
|
||||
<param name="alias" style="template" type="xsd:string"/>
|
@ -59,11 +59,12 @@
|
||||
<year>2009</year>
|
||||
<year>2010</year>
|
||||
<year>2011</year>
|
||||
<year>2012</year>
|
||||
<holder>Rackspace US, Inc.</holder>
|
||||
</copyright>
|
||||
<releaseinfo>API v1.1</releaseinfo>
|
||||
<releaseinfo>API v2</releaseinfo>
|
||||
<productname>OpenStack Compute</productname>
|
||||
<pubdate>2011-11-08</pubdate>
|
||||
<pubdate>2012-02-14</pubdate>
|
||||
<legalnotice role="apache2">
|
||||
<annotation>
|
||||
<remark>Copyright details are filled in by the template.</remark>
|
||||
@ -75,15 +76,27 @@
|
||||
(<abbrev>API</abbrev>). </para>
|
||||
</abstract>
|
||||
<revhistory>
|
||||
<revision><!-- ... continue addding more revisions here as you change this document using the markup shown below... -->
|
||||
<date>2012-02-14</date>
|
||||
<revdescription>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Changed the name of the API version
|
||||
from v1.1 to v2.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>No longer use mimetype parameters to
|
||||
denote version.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</revdescription></revision>
|
||||
<revision>
|
||||
<!-- ... continue addding more revisions here as you change this document using the markup shown below... -->
|
||||
<date>2011-11-08</date>
|
||||
<revdescription>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Removed DRAFT designation.</para>
|
||||
</listitem>
|
||||
|
||||
</itemizedlist>
|
||||
</revdescription>
|
||||
</revision>
|
||||
@ -649,7 +662,7 @@
|
||||
<example>
|
||||
<title>Request with Headers: JSON</title>
|
||||
<literallayout class="monospaced">
|
||||
POST /v1.1/214412/servers HTTP/1.1
|
||||
POST /v2/214412/servers HTTP/1.1
|
||||
Host: servers.api.openstack.org
|
||||
Content-Type: application/json
|
||||
Accept: application/xml
|
||||
@ -681,7 +694,7 @@ Content-Type: application/xml; charset=UTF-8
|
||||
<example>
|
||||
<title>Request with Extension: JSON</title>
|
||||
<literallayout class="monospaced">
|
||||
POST /v1.1/214412/servers.xml HTTP/1.1
|
||||
POST /v2/214412/servers.xml HTTP/1.1
|
||||
Host: servers.api.openstack.org
|
||||
Content-Type: application/json
|
||||
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||
@ -786,21 +799,19 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||
an empty collection.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
For convenience, collections are required to contain
|
||||
atom "next" links. They may optionally also contain
|
||||
"previous" links. The last page in the list will not
|
||||
contain a "next" link. The following examples
|
||||
illustrate three pages in a collection of images. The
|
||||
<para> For convenience, collections are required to
|
||||
contain atom "next" links. They may optionally also
|
||||
contain "previous" links. The last page in the list
|
||||
will not contain a "next" link. The following examples
|
||||
illustrate three pages in a collection of images. The
|
||||
first page was retrieved via a &GET; to
|
||||
http://servers.api.openstack.org/v1.1/1234/images?limit=1.
|
||||
http://servers.api.openstack.org/v2/1234/images?limit=1.
|
||||
In these examples, the <parameter>limit</parameter>
|
||||
parameter sets the page size to a single item.
|
||||
Subsequent links will honor the initial page size.
|
||||
Thus, a client may follow links to traverse a
|
||||
paginated collection without having to input the
|
||||
<parameter>marker</parameter> parameter.
|
||||
</para>
|
||||
<parameter>marker</parameter> parameter. </para>
|
||||
<?hard-pagebreak?>
|
||||
<example>
|
||||
<title>Images Collection, First Page: XML</title>
|
||||
@ -873,33 +884,31 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||
<section xml:id="ChangesSince">
|
||||
<title>Efficient Polling with the
|
||||
<parameter>Changes-Since</parameter> Parameter</title>
|
||||
<para>
|
||||
The ReST API allows you to poll for the status of
|
||||
<para> The ReST API allows you to poll for the status of
|
||||
certain operations by performing a &GET; on various
|
||||
elements. Rather than re-downloading and re-parsing
|
||||
the full status at each polling interval, your ReST
|
||||
client may use the
|
||||
<parameter>changes-since</parameter> parameter to
|
||||
<parameter>changes-since</parameter> parameter to
|
||||
check for changes since a previous request. The
|
||||
<parameter>changes-since</parameter> time is specified
|
||||
as an <link
|
||||
xlink:href="http://en.wikipedia.org/wiki/ISO_8601">ISO
|
||||
8601</link> dateTime (2011-01-24T17:08Z). The form
|
||||
for the timestamp is CCYY-MM-DDThh:mm:ss. An optional
|
||||
time zone may be written in by appending the form
|
||||
±hh:mm which describes the timezone as an
|
||||
<parameter>changes-since</parameter> time is
|
||||
specified as an <link
|
||||
xlink:href="http://en.wikipedia.org/wiki/ISO_8601"
|
||||
>ISO 8601</link> dateTime (2011-01-24T17:08Z). The
|
||||
form for the timestamp is CCYY-MM-DDThh:mm:ss. An
|
||||
optional time zone may be written in by appending the
|
||||
form ±hh:mm which describes the timezone as an
|
||||
offset from UTC. When the timezone is not specified
|
||||
(2011-01-24T17:08), the UTC timezone will be assumed.
|
||||
If nothing has changed since the
|
||||
<parameter>changes-since</parameter> time, an empty
|
||||
list will be returned. If data has changed, only the
|
||||
items changed since the specified time will be
|
||||
<parameter>changes-since</parameter> time, an
|
||||
empty list will be returned. If data has changed, only
|
||||
the items changed since the specified time will be
|
||||
returned in the response. For example, performing a
|
||||
&GET; against
|
||||
https://api.servers.openstack.org/v1.1/224532/servers?<parameter>changes-since</parameter>=2011-01-24T17:08Z
|
||||
https://api.servers.openstack.org/v2/224532/servers?<parameter>changes-since</parameter>=2011-01-24T17:08Z
|
||||
would list all servers that have changed since Mon, 24
|
||||
Jan 2011 17:08:00 UTC.
|
||||
</para>
|
||||
Jan 2011 17:08:00 UTC. </para>
|
||||
<para>
|
||||
In order to allow clients to keep track of changes,
|
||||
the changes-since filter displays items that have been
|
||||
@ -942,15 +951,13 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||
machine-processable form is intended to be used
|
||||
directly by client applications.
|
||||
</para>
|
||||
<para>
|
||||
The regular expression boundary matcher "^" for
|
||||
<para> The regular expression boundary matcher "^" for
|
||||
the rate limit takes effect after the root URI
|
||||
path. For example, the regular expression
|
||||
^/servers would match the bolded portion of the
|
||||
following URI:
|
||||
https://servers.api.openstack.org/v1.1/3542812<emphasis
|
||||
role="bold">/servers</emphasis>.
|
||||
</para>
|
||||
https://servers.api.openstack.org/v2/3542812<emphasis
|
||||
role="bold">/servers</emphasis>. </para>
|
||||
<table rules="all">
|
||||
<caption>Sample Rate Limits</caption>
|
||||
<thead>
|
||||
@ -1124,34 +1131,32 @@ X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||
</section>
|
||||
<section xml:id="Versions-d1e1193">
|
||||
<title>Versions</title>
|
||||
<para>
|
||||
The OpenStack Compute API uses both a URI and a MIME
|
||||
type versioning scheme. In the URI scheme, the first
|
||||
element of the path contains the target version
|
||||
<para> The OpenStack Compute API uses both a URI and a
|
||||
MIME type versioning scheme. In the URI scheme, the
|
||||
first element of the path contains the target version
|
||||
identifier (e.g. https://servers.api.openstack.org/
|
||||
v1.0/…). The MIME type versioning scheme uses
|
||||
HTTP content negotiation where the <code>Accept</code>
|
||||
or <code>Content-Type</code> headers contains a MIME
|
||||
type that identifies the version
|
||||
(application/vnd.openstack.compute+xml;version=1.1). A
|
||||
(application/vnd.openstack.compute.v2+xml). A
|
||||
version MIME type is always linked to a base MIME type
|
||||
(application/xml or application/json). If conflicting
|
||||
versions are specified using both an HTTP header and a
|
||||
URI, the URI takes precedence.
|
||||
</para>
|
||||
URI, the URI takes precedence. </para>
|
||||
<example>
|
||||
<title>Request with MIME type versioning</title>
|
||||
<literallayout class="monospaced">
|
||||
GET /214412/images HTTP/1.1
|
||||
Host: servers.api.openstack.org
|
||||
Accept: application/vnd.openstack.compute+xml;version=1.1
|
||||
Accept: application/vnd.openstack.compute.v2+xml
|
||||
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||
</literallayout>
|
||||
</example>
|
||||
<example>
|
||||
<title>Request with URI versioning</title>
|
||||
<literallayout class="monospaced">
|
||||
GET /v1.1/214412/images HTTP/1.1
|
||||
GET /v2/214412/images HTTP/1.1
|
||||
Host: servers.api.openstack.org
|
||||
Accept: application/xml
|
||||
X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
|
||||
@ -1250,27 +1255,25 @@ Host: servers.api.openstack.org
|
||||
<programlisting language="javascript"><?db-font-size 80% ?><xi:include href="samples/versions.json" parse="text"/></programlisting>
|
||||
</example>
|
||||
<?hard-pagebreak?>
|
||||
<para>
|
||||
You can also obtain additional information about a
|
||||
<para> You can also obtain additional information about a
|
||||
specific version by performing a &GET; on the base
|
||||
version URL
|
||||
(e.g. https://servers.api.openstack.org/v1.1/).
|
||||
Version request URLs should always end with a trailing
|
||||
slash (/). If the slash is omitted, the server may
|
||||
respond with a <returnvalue>302</returnvalue>
|
||||
redirection request. Format extensions may be placed
|
||||
after the slash
|
||||
(e.g. https://servers.api.openstack.org/v1.1/.xml). Note
|
||||
version URL (e.g.
|
||||
https://servers.api.openstack.org/v2/). Version
|
||||
request URLs should always end with a trailing slash
|
||||
(/). If the slash is omitted, the server may respond
|
||||
with a <returnvalue>302</returnvalue> redirection
|
||||
request. Format extensions may be placed after the
|
||||
slash (e.g.
|
||||
https://servers.api.openstack.org/v2/.xml). Note
|
||||
that this is a special case that does not hold true
|
||||
for other API requests. In general, requests such as
|
||||
/servers.xml and /servers/.xml are handled
|
||||
equivalently.
|
||||
</para>
|
||||
equivalently. </para>
|
||||
<example>
|
||||
<title>Version Details Request</title>
|
||||
<literallayout class="monospaced">
|
||||
GET HTTP/1.1
|
||||
Host: servers.api.openstack.org/v1.1/
|
||||
Host: servers.api.openstack.org/v2/
|
||||
</literallayout>
|
||||
</example>
|
||||
<simpara>
|
||||
@ -1304,8 +1307,7 @@ Host: servers.api.openstack.org/v1.1/
|
||||
<?hard-pagebreak?>
|
||||
<example>
|
||||
<title>Version Details Response: JSON</title>
|
||||
<programlisting language="javascript"><?db-font-size 90%?><xi:include
|
||||
href="samples/version.json" parse="text"/></programlisting>
|
||||
<programlisting language="javascript"><?db-font-size 90%?><xi:include href="samples/version.json" parse="text"/></programlisting>
|
||||
</example>
|
||||
<para>
|
||||
The detailed version response contains pointers to
|
@ -12,31 +12,31 @@
|
||||
"media-types": [
|
||||
{
|
||||
"base": "application/xml",
|
||||
"type": "application/vnd.openstack.compute+xml;version=1.0"
|
||||
"type": "application/vnd.openstack.compute.v1.0+xml"
|
||||
},
|
||||
{
|
||||
"base": "application/json",
|
||||
"type": "application/vnd.openstack.compute+json;version=1.0"
|
||||
"type": "application/vnd.openstack.compute.v1.0+json"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "v1.1",
|
||||
"id": "v2",
|
||||
"status": "CURRENT",
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
|
||||
}
|
||||
],
|
||||
"media-types": [
|
||||
{
|
||||
"base": "application/xml",
|
||||
"type": "application/vnd.openstack.compute+xml;version=1.0"
|
||||
"type": "application/vnd.openstack.compute.v2+xml"
|
||||
},
|
||||
{
|
||||
"base": "application/json",
|
||||
"type": "application/vnd.openstack.compute+json;version=1.0"
|
||||
"type": "application/vnd.openstack.compute.v2+json"
|
||||
}
|
||||
]
|
||||
}
|
@ -5,24 +5,24 @@
|
||||
<version id="v1.0" status="DEPRECATED">
|
||||
<media-types>
|
||||
<media-type base="application/xml"
|
||||
type="application/vnd.openstack.compute+xml;version=1.0"/>
|
||||
type="application/vnd.openstack.compute.v1.0+xml"/>
|
||||
<media-type base="application/json"
|
||||
type="application/vnd.openstack.compute+json;version=1.0"/>
|
||||
type="application/vnd.openstack.compute.v1.0+json"/>
|
||||
</media-types>
|
||||
|
||||
<atom:link rel="self"
|
||||
href="http://servers.api.openstack.org/v1.0/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
|
||||
</version>
|
||||
|
||||
<version id="v1.1" status="CURRENT">
|
||||
<version id="v2" status="CURRENT">
|
||||
<media-types>
|
||||
<media-type base="application/xml"
|
||||
type="application/vnd.openstack.compute+xml;version=1.1"/>
|
||||
type="application/vnd.openstack.compute.v2+xml"/>
|
||||
<media-type base="application/json"
|
||||
type="application/vnd.openstack.compute+json;version=1.1"/>
|
||||
type="application/vnd.openstack.compute.v2+xml"/>
|
||||
</media-types>
|
||||
|
||||
<atom:link rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
|
||||
</version>
|
||||
</choices>
|
@ -2,8 +2,8 @@
|
||||
"server": {
|
||||
"id": "52415800-8b69-11e0-9b19-734f000004d2",
|
||||
"name": "sample-server",
|
||||
"imageRef": "https://servers.api.rackspacecloud.com/v1.1/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2",
|
||||
"flavorRef": "https://servers.api.rackspacecloud.com/v1.1/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37",
|
||||
"imageRef": "https://servers.api.rackspacecloud.com/v2/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2",
|
||||
"flavorRef": "https://servers.api.rackspacecloud.com/v2/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37",
|
||||
"updated": "2010-10-10T12:00:00Z",
|
||||
"created": "2010-08-10T12:00:00Z",
|
||||
"hostId": "e4d909c290d0fb1ca068ffaddf22cbd0",
|
||||
@ -53,16 +53,16 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
"type": "application/vnd.openstack.compute-v1.1+xml",
|
||||
"type": "application/vnd.openstack.compute-v2+xml",
|
||||
"href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
"type": "application/vnd.openstack.compute-v1.1+json",
|
||||
"type": "application/vnd.openstack.compute-v2+json",
|
||||
"href": "http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"
|
||||
}
|
||||
]
|
@ -3,13 +3,13 @@
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:aide="http://docs.rackspacecloud.com/servers/api/ext/aide/v1.0"
|
||||
id="52415800-8b69-11e0-9b19-734f000004d2" name="sample-server"
|
||||
flavorRef="https://servers.api.rackspacecloud.com/v1.1/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
flavorRef="https://servers.api.rackspacecloud.com/v2/32278/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
status="BUILD"
|
||||
updated="2010-10-10T12:00:00Z"
|
||||
created="2010-08-10T12:00:00Z"
|
||||
progress="60" hostId="e4d909c290d0fb1ca068ffaddf22cbd0"
|
||||
aide:affinityId="1fdfe1e2-03f0-102f-b7ae-005056bb5f9e"
|
||||
imageRef="https://servers.api.rackspacecloud.com/v1.1/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2">
|
||||
imageRef="https://servers.api.rackspacecloud.com/v2/32278/images/52415800-8b69-11e0-9b19-734f5736d2a2">
|
||||
<metadata>
|
||||
<meta key="Server Label">Web Head 1</meta>
|
||||
<meta key="Image Version">2.1</meta>
|
||||
@ -28,13 +28,13 @@
|
||||
</addresses>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
type="application/vnd.openstack.compute-v1.1+xml"
|
||||
type="application/vnd.openstack.compute-v2+xml"
|
||||
href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
type="application/vnd.openstack.compute-v1.1+json"
|
||||
type="application/vnd.openstack.compute-v2+json"
|
||||
href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f000004d2"/>
|
||||
</server>
|
@ -17,7 +17,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -30,7 +30,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -75,7 +75,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
@ -12,7 +12,7 @@
|
||||
<image id="52415800-8b69-11e0-9b19-734f6f006e54">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
@ -20,7 +20,7 @@
|
||||
<flavor id="52415800-8b69-11e0-9b19-734f216543fd">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
@ -43,7 +43,7 @@
|
||||
</addresses>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"/>
|
@ -8,7 +8,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel" : "self",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
"href" : "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
},
|
||||
{
|
||||
"rel" : "bookmark",
|
@ -6,7 +6,7 @@
|
||||
name="256 MB Server" ram="256" disk="10" vcpus="1">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
@ -8,7 +8,7 @@
|
||||
name="256 MB Server">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
@ -17,12 +17,12 @@
|
||||
name="512 MB Server">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
</flavor>
|
||||
<atom:link
|
||||
rel="next"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
</flavors>
|
@ -9,7 +9,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -26,7 +26,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -38,7 +38,7 @@
|
||||
"flavors_links": [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"
|
||||
}
|
||||
]
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
name="256 MB Server" ram="256" disk="10" vcpus="1">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
@ -14,12 +14,12 @@
|
||||
name="512 MB Server" ram="512" disk="20" vcpus="2">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
</flavor>
|
||||
<atom:link
|
||||
rel="next"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors?limit=2&marker=52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
</flavors>
|
@ -9,7 +9,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -26,7 +26,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
@ -5,7 +5,7 @@
|
||||
name="256 MB Server" ram="256" disk="10" vcpus="1">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f1195ff37"/>
|
||||
@ -14,7 +14,7 @@
|
||||
name="512 MB Server" ram="512" disk="20" vcpus="2">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/flavors/52415800-8b69-11e0-9b19-734f216543fd"/>
|
@ -16,7 +16,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel" : "self",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
"href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
},
|
||||
{
|
||||
"rel" : "bookmark",
|
@ -13,7 +13,7 @@
|
||||
</fault>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
@ -9,13 +9,13 @@
|
||||
"metadata_links": [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
}
|
||||
]
|
||||
}
|
@ -9,9 +9,9 @@
|
||||
<meta key="ImageType">Gold</meta>
|
||||
<atom:link
|
||||
rel="next"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54/meta?marker=ImageType"/>
|
||||
</metadata>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
</image>
|
@ -5,7 +5,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel" : "self",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
"href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
},
|
||||
{
|
||||
"rel" : "bookmark",
|
@ -6,7 +6,7 @@
|
||||
name="My Server Backup">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
@ -15,7 +15,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -26,7 +26,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel" : "self",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
"href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
},
|
||||
{
|
||||
"rel" : "bookmark",
|
@ -13,14 +13,14 @@
|
||||
<server id="52415800-8b69-11e0-9b19-734f335aa7b3">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"/>
|
||||
</server>
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
@ -7,7 +7,7 @@
|
||||
name="CentOS 5.2">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
@ -17,12 +17,12 @@
|
||||
name="My Server Backup">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
<atom:link
|
||||
rel="bookmark"
|
||||
href="http://servers.api.openstack.org/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
</image>
|
||||
<atom:link
|
||||
rel="next"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
</images>
|
@ -6,7 +6,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -14,7 +14,7 @@
|
||||
"images_links" : [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
}
|
||||
]
|
||||
}
|
@ -5,9 +5,9 @@
|
||||
name="CentOS 5.2">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
</image>
|
||||
<atom:link
|
||||
rel="next"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f6f006e54"/>
|
||||
</images>
|
@ -6,7 +6,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel" : "self",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
"href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -14,7 +14,7 @@
|
||||
"images_links": [
|
||||
{
|
||||
"rel" : "next",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
"href" : "http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
}
|
||||
]
|
||||
}
|
@ -4,8 +4,8 @@
|
||||
<image id="52415800-8b69-11e0-9b19-734f5736d2a2" name="My Server Backup">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
</image>
|
||||
<atom:link rel="next"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images?limit=1&marker=52415800-8b69-11e0-9b19-734f5736d2a2"/>
|
||||
</images>
|
@ -6,7 +6,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"
|
||||
}
|
||||
]
|
||||
}
|
@ -5,6 +5,6 @@
|
||||
name="Backup 2">
|
||||
<atom:link
|
||||
rel="self"
|
||||
href="http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"/>
|
||||
href="http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6ff7c475"/>
|
||||
</image>
|
||||
</images>
|
@ -15,7 +15,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f6f006e54"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -39,7 +39,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://servers.api.openstack.org/v1.1/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
|
||||
"href": "http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
|
||||
},
|
||||
{
|
||||
"rel": "bookmark",
|
||||
@ -50,7 +50,7 @@
|
||||
"links": [
|
||||
{
|
||||
"rel" : "self",
|
||||
"href" : "http://servers.api.openstack.org/v1.1/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
"href" : "http://servers.api.openstack.org/v2/1234/images/52415800-8b69-11e0-9b19-734f5736d2a2"
|
||||
},
|
||||
{
|
||||
"rel" : "bookmark",
|