fix object-api wadl to use in dev guide

Partial-Bug: #1187119

Change-Id: I61285a4e1525a1bd0b664aaf4a8a8d8e1dd1e461
author: diane fleming
This commit is contained in:
Diane Fleming 2014-01-02 15:35:15 -06:00
parent 9d568fd030
commit d997cbfa2f
1 changed files with 9 additions and 9 deletions

View File

@ -4,6 +4,7 @@
<!ENTITY ndash "&#x2013;">
<!ENTITY mdash "&#x2014;">
<!ENTITY hellip "&#x2026;">
<!ENTITY asterisk "&#42;">
<!-- Useful for describing APIs -->
<!ENTITY COPY '<command xmlns="http://docbook.org/ns/docbook">COPY</command>'>
@ -26,7 +27,7 @@
<resource id="version" path="v1">
<resource id="account" path="{account}"
type="#ContainersList">
<param name="tenant_id" style="template"
<param name="account" style="template"
type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
@ -253,14 +254,14 @@
required="true" type="xsd:int">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The number of containers.
Stored in header.</para></wadl:doc>
</para></wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="X-Account-Bytes-Used" style="header"
required="true" type="xsd:int">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The count of bytes used in
total. Stored in header.</para></wadl:doc>
total.</para></wadl:doc>
</param>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
@ -278,7 +279,7 @@
<para role="shortdesc">Creates or updates account metadata
by associating custom metadata headers with the
account level URI. These headers must have the format,
<code>X-Account-Meta-*</code>.</para>
<code>X-Account-Meta-<replaceable>name</replaceable></code>.</para>
<para>Subsequent requests for the same key/value pair
overwrite the previous value.</para>
<para>If the request succeeds, the HTTP return code is
@ -286,12 +287,11 @@
</wadl:doc>
<request>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="X-Account-Meta" style="header" required="false"
name="X-Account-Meta-name" style="header" required="false"
type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The account metadata. The
asterisk (*) represents the name of metadata.
Stored in header.</para></wadl:doc>
<replaceable>name</replaceable> represents the name of metadata.</para></wadl:doc>
</param>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
@ -323,7 +323,7 @@
</wadl:doc>
<request>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="X-Remove-Account-Meta" style="header"
name="X-Remove-Account-Meta-name" style="header"
required="false" type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>If the tool you use to
@ -359,7 +359,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The custom container metadata.
The asterisk (*) represents the name of
metadata. Stored in header.</para></wadl:doc>
metadata.</para></wadl:doc>
</param>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"