Adding parameter to "List agent builds"

This patch added response parameter to "List agent builds".

These parameters consis of: agent_id, architecture, hypervisor,
url, md5hash, version.

Closes-Bug: #1564260
Change-Id: I4910dae3e95547bdf659aae39a291f81371e4795
This commit is contained in:
Nam Nguyen Hoai 2016-03-31 14:27:21 +07:00
parent f7adfac071
commit 61991da96f

View File

@ -61,6 +61,49 @@
xmlns="http://docbook.org/ns/docbook">
<para role="shortdesc">Lists agent builds.</para>
</wadl:doc>
<request>
<param name="agent_id" style="plain" required="true" type="csapi:UUID">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The UUID of the agent.
</para>
</wadl:doc>
</param>
<param name="architecture" style="plain" required="true" type="xsd:string">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The architecture of agent.
</para>
</wadl:doc>
</param>
<param name="hypervisor" style="plain" required="true" type="xsd:string">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The hypervisor of agent.
</para>
</wadl:doc>
</param>
<param name="url" style="plain"
required="true" type="xsd:string">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The URL
associated with the
agent.</para></wadl:doc>
</param>
<param name="md5hash" style="plain"
required="true" type="xsd:string">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The MD5 hash.</para></wadl:doc>
</param>
<param name="version" style="plain"
required="true" type="xsd:string">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"><para>The version.</para></wadl:doc>
</param>
</request>
<response status="200">
<representation mediaType="application/json">
<wadl:doc xml:lang="EN"