Add example for "template" parameter

Change-Id: I5c5f9f21e7cbbd73112d48991481a8502981c299
This commit is contained in:
Jason Dunsmore 2015-07-17 13:52:49 -05:00 committed by Diane Fleming
parent 76b6461e78
commit 2fb4bc984a
2 changed files with 14 additions and 6 deletions

View File

@ -197,9 +197,12 @@
</para>
<para>
This parameter is always provided as a <code>string</code> in the JSON
request body. The content of the string is a YAML- or JSON-formatted
Orchestration template.
request body. The content of the string is a JSON- or YAML-formatted
Orchestration template. For example:
</para>
<programlisting language="json">"template": {
"heat_template_version": "2013-05-23",
...}</programlisting>
<para>
This parameter is required only when you omit the
<code>template_url</code> parameter. If you specify both parameters,

View File

@ -1360,14 +1360,17 @@
</para>
<para>
The canonical URL is returned for only non-deleted stacks. To
fetch the resource list of deleted stacks, use the <code>/v1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources</code>
endpoint.
fetch the resource list for deleted stacks, use the following
endpoint:
</para>
<programlisting>/v1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources</programlisting>
</wadl:doc>
<response status="302">
<representation mediaType="application/json" >
<doc>
<para xmlns="http://docbook.org/ns/docbook">Lists resources for the specified stack in JSON format.</para>
<para xmlns="http://docbook.org/ns/docbook">
Lists resources for the specified stack in JSON format.
</para>
</doc>
</representation>
</response>
@ -1408,7 +1411,9 @@
<response status="200">
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para xmlns="http://docbook.org/ns/docbook">Lists resources in the specified stack in JSON format.</para>
<para xmlns="http://docbook.org/ns/docbook">
Lists resources in the specified stack in JSON format.
</para>
<xsdxt:code href="samples/resource_list_resp.json"/>
</wadl:doc>
</representation>