Removing the XML info from the docs
We don't support XML anymore, so these need to go. Closes-Bug: 1361381 Change-Id: I84a84288f0d76408584d2dc4b18a5d7ca370871e
This commit is contained in:
parent
66a0590f7e
commit
3621607722
@ -148,8 +148,8 @@
|
||||
<para>HTTP/1.1 conventions</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>JSON and/or XML data serialization
|
||||
formats</para>
|
||||
<para>JSON data serialization
|
||||
format</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
@ -425,11 +425,6 @@
|
||||
follow.</para>
|
||||
<remark security="reviewer">Reviewer: Need new examples
|
||||
that show OpenStack host.</remark>
|
||||
<example>
|
||||
<title>List Instances Paged Request: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<programlisting language="xml"><xi:include href="samples/db-instances-index-pagination-request-xml.txt" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>List Instances Paged Request: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
@ -443,19 +438,7 @@
|
||||
(<code>?marker=4137d6a4-03b7-4b66-b0ef-8c7c35c470d3</code>).
|
||||
Also a link is provided to retrieve the next 2 results
|
||||
(<code>limit=2</code>) in the link element
|
||||
identified by the attribute <code>rel="next"</code>
|
||||
(XML) or <code>"rel":"next"</code> (JSON):</para>
|
||||
<example>
|
||||
<title>List Instances Paged Response: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<literallayout>HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 1538
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)</literallayout>
|
||||
<programlisting language="xml"><xi:include href="samples/db-instances-index-pagination-response.xml" parse="text"/></programlisting>
|
||||
</example>
|
||||
identified by <code>"rel":"next"</code>:</para>
|
||||
<example>
|
||||
<title>List Instances Paged Response: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
@ -571,15 +554,6 @@ Server: Jetty(8.0.y.z-SNAPSHOT)</literallayout>
|
||||
examples show errors when the server has erred or
|
||||
cannot perform the requested operation:</para>
|
||||
|
||||
<example>
|
||||
<title>Example instanceFault Response: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<literallayout>HTTP/1.1 500 Internal Server Error
|
||||
Content-Type: application/xml
|
||||
Content-Length: 121
|
||||
Date: Mon, 28 Nov 2011 18:19:37 GMT</literallayout>
|
||||
<programlisting language="xml"><xi:include href="samples/db-faults-instanceFault.xml" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Example Fault Response: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
@ -605,16 +579,6 @@ Date: Tue, 29 Nov 2011 00:33:48 GMT</literallayout>
|
||||
<para><?rax-fo keep-with-next?>The following two
|
||||
<code>badRequest</code> examples show errors when
|
||||
the volume size is invalid:</para>
|
||||
<example>
|
||||
<title>Example badRequest Fault on Volume Size Errors:
|
||||
XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<literallayout>HTTP/1.1 400 None
|
||||
Content-Type: application/xml
|
||||
Content-Length: 121
|
||||
Date: Mon, 28 Nov 2011 18:19:37 GMT</literallayout>
|
||||
<programlisting language="xml"><xi:include href="samples/db-faults-badRequest.xml" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Example badRequest Fault on Volume Size Errors:
|
||||
JSON</title>
|
||||
@ -627,15 +591,6 @@ Date: Tue, 29 Nov 2011 00:33:48 GMT</literallayout>
|
||||
</example>
|
||||
<para>The next two examples show <code>itemNotFound</code>
|
||||
errors:</para>
|
||||
<example>
|
||||
<title>Example itemNotFound Fault: XML</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
<literallayout>HTTP/1.1 404 Not Found
|
||||
Content-Length: 147
|
||||
Content-Type: application/xml; charset=UTF-8
|
||||
Date: Mon, 28 Nov 2011 19:50:15 GMT</literallayout>
|
||||
<programlisting language="xml"><xi:include href="samples/db-faults-itemNotFound.xml" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Example itemNotFound Fault: JSON</title>
|
||||
<?dbfo keep-together="always"?>
|
||||
|
@ -1,6 +0,0 @@
|
||||
PUT /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<users xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<user password="5" name="exampleuser"/>
|
||||
</users>
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 501
|
||||
Date: Wed, 27 Jun 2012 21:56:06 GMT
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/root HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 90
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rootEnabled xmlns="http://docs.openstack.org/database/api/v1.0"
|
||||
>True</rootEnabled>
|
@ -1,6 +0,0 @@
|
||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/databases HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<database collate="utf8_general_ci" name="testingdb"
|
||||
character_set="utf8"/>
|
||||
<database name="anotherdb"/>
|
||||
<database name="oneMoreDB"/>
|
||||
</databases>
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 0
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,6 +0,0 @@
|
||||
POST /v1.0/1234/instances HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<instance xmlns="http://docs.openstack.org/database/api/v1.0"
|
||||
flavorRef="1" name="xml_rack_instance">
|
||||
<volume size="2"/>
|
||||
<users>
|
||||
<user password="demopassword" name="demouser">
|
||||
<databases>
|
||||
<database name="sampledb"/>
|
||||
</databases>
|
||||
</user>
|
||||
</users>
|
||||
<databases>
|
||||
<database collate="utf8_general_ci" name="sampledb"
|
||||
character_set="utf8"/>
|
||||
<database name="nextround"/>
|
||||
</databases>
|
||||
</instance>
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 724
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<instance created="2013-03-18 19:09:17.441489"
|
||||
id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance"
|
||||
status="BUILD" updated="2013-03-18 19:09:17.441606"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
@ -1,6 +0,0 @@
|
||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/users HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<users xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<user password="password" name="dbuser1" database="databaseA"/>
|
||||
<user password="password" name="dbuser2">
|
||||
<databases>
|
||||
<database name="databaseB"/>
|
||||
<database name="databaseC"/>
|
||||
</databases>
|
||||
</user>
|
||||
<user password="password" name="dbuser3" database="databaseD"/>
|
||||
</users>
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 0
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,6 +0,0 @@
|
||||
DELETE /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/databases/oneMoreDB HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 0
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,6 +0,0 @@
|
||||
DELETE /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81 HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 0
|
||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,6 +0,0 @@
|
||||
DELETE /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/users/testuser HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 0
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,6 +0,0 @@
|
||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/root HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 89
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<user name="root" password="12345"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<badRequest code="400"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<message> Volume 'size' needs to be a positive integer value, -1.0
|
||||
cannot be accepted. </message>
|
||||
</badRequest>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<instanceFault code="500"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<message> The server has either erred or is incapable of
|
||||
performing the requested operation. </message>
|
||||
</instanceFault>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<itemNotFound code="404"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<message> The resource could not be found. </message>
|
||||
</itemNotFound>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/flavors/1 HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 283
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<flavor id="1" name="512MB Instance" ram="512"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/flavors HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 1600
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<flavors xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<flavor id="1" name="512MB Instance" ram="512">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="2" name="1GB Instance" ram="1024">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/2"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="3" name="2GB Instance" ram="2048">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/3"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="4" name="4GB Instance" ram="4096">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/4"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="5" name="8GB Instance" ram="8192">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/5"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/5"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="6" name="16GB Instance" ram="16384">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/6"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/6"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</flavors>
|
@ -1,6 +0,0 @@
|
||||
PUT /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users/testuser/databases HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<database name="extradb"/>
|
||||
</databases>
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -1,6 +0,0 @@
|
||||
POST /v1.0/1234/instances/5d891bb6-6c61-4b0a-8b85-26f4ee461c9d/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 2eeb3252-0164-40f5-8fb7-85df5faa2698
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<resize xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<flavorRef>https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2</flavorRef>
|
||||
</resize>
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Length: 58
|
||||
Date: Mon, 06 Feb 2012 21:28:11 GMT
|
@ -1,6 +0,0 @@
|
||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/action HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<resize xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<volume size="4"/>
|
||||
</resize>
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 0
|
||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,6 +0,0 @@
|
||||
POST /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/action HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<restart xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 0
|
||||
Date: Mon, 18 Mar 2013 19:09:18 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81 HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 747
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<instance created="2013-03-18 19:09:17.441489"
|
||||
id="098653ba-218b-47ce-936a-e0b749101f81" name="xml_rack_instance"
|
||||
status="ACTIVE" updated="2013-03-18 19:09:17.513134"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2" used="0.163685983978"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances?limit=2 HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: openstack.example.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,52 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<instances xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<instance id="098653ba-218b-47ce-936a-e0b749101f81"
|
||||
name="xml_rack_instance" status="ACTIVE">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
||||
<instance id="44b277eb-39be-4921-be31-3d61b43651d7"
|
||||
name="json_rack_instance" status="ACTIVE">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances?marker=44b277eb-39be-4921-be31-3d61b43651d7&limit=2"
|
||||
rel="next"/>
|
||||
</links>
|
||||
</instances>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 1380
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,47 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<instances xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<instance id="098653ba-218b-47ce-936a-e0b749101f81"
|
||||
name="xml_rack_instance" status="ACTIVE">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/instances/098653ba-218b-47ce-936a-e0b749101f81"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
||||
<instance id="44b277eb-39be-4921-be31-3d61b43651d7"
|
||||
name="json_rack_instance" status="ACTIVE">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/instances/44b277eb-39be-4921-be31-3d61b43651d7"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
||||
</instances>
|
@ -1,8 +0,0 @@
|
||||
GET /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/databases?limit=2 HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 321
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<database name="anotherdb"/>
|
||||
<database name="nextround"/>
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/databases?marker=nextround&limit=2"
|
||||
rel="next"/>
|
||||
</links>
|
||||
</databases>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/databases HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 241
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<database name="anotherdb"/>
|
||||
<database name="nextround"/>
|
||||
<database name="oneMoreDB"/>
|
||||
<database name="sampledb"/>
|
||||
<database name="testingdb"/>
|
||||
</databases>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users/testuser/databases HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<database name="exampledb"/>
|
||||
</databases>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users/testuser HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<user name="testuser"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<databases>
|
||||
<database name="exampledb"/>
|
||||
</databases>
|
||||
</user>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/users?limit=2 HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 461
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<users xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<user name="dbuser1">
|
||||
<databases/>
|
||||
</user>
|
||||
<user name="dbuser2">
|
||||
<databases>
|
||||
<database name="databaseB"/>
|
||||
<database name="databaseC"/>
|
||||
</databases>
|
||||
</user>
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/users?marker=dbuser2&limit=2"
|
||||
rel="next"/>
|
||||
</links>
|
||||
</users>
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/1234/instances/098653ba-218b-47ce-936a-e0b749101f81/users HTTP/1.1
|
||||
User-Agent: python-reddwarfclient
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,6 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Via: 1.1 Repose (Repose/2.6.7)
|
||||
Content-Length: 468
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
Server: Jetty(8.0.y.z-SNAPSHOT)
|
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<users xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<user name="dbuser1">
|
||||
<databases/>
|
||||
</user>
|
||||
<user name="dbuser2">
|
||||
<databases>
|
||||
<database name="databaseB"/>
|
||||
<database name="databaseC"/>
|
||||
</databases>
|
||||
</user>
|
||||
<user name="dbuser3">
|
||||
<databases/>
|
||||
</user>
|
||||
<user name="demouser">
|
||||
<databases>
|
||||
<database name="sampledb"/>
|
||||
</databases>
|
||||
</user>
|
||||
</users>
|
@ -1,6 +0,0 @@
|
||||
DELETE /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users/testuser/databases/extradb HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -1,6 +0,0 @@
|
||||
GET /v1.0/ HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 218
|
||||
Date: Wed, 25 Jan 2012 21:53:04 GMT
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<version id="v1.0" status="CURRENT" updated="2012-01-01T00:00:00Z"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link
|
||||
href="https://ord.databases.api.rackspacecloud.com/v1.0/"
|
||||
rel="self"/>
|
||||
</links>
|
||||
</version>
|
@ -1,6 +0,0 @@
|
||||
GET / HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
@ -1,4 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 261
|
||||
Date: Wed, 25 Jan 2012 21:53:04 GMT
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<versions xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<version id="v1.0" status="CURRENT" updated="2012-01-01T00:00:00Z">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/"
|
||||
rel="self"/>
|
||||
</links>
|
||||
</version>
|
||||
</versions>
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user