Merge "Define the stack name for create and preview"
This commit is contained in:
commit
8df15a90fa
@ -7,6 +7,17 @@
|
||||
<!ENTITY PUT '<command xmlns="http://docbook.org/ns/docbook">PUT</command>'>
|
||||
<!ENTITY POST '<command xmlns="http://docbook.org/ns/docbook">POST</command>'>
|
||||
<!ENTITY DELETE '<command xmlns="http://docbook.org/ns/docbook">DELETE</command>'>
|
||||
<!ENTITY STACK_NAME_FORMAT 'The value must be unique within a project. The name
|
||||
must start with an ASCII letter and can contain ASCII letters, digits,
|
||||
underscores, periods, and hyphens. Specifically, the name must match the regular
|
||||
expression <code>^[a-zA-Z][a-zA-Z0-9_.-]*$</code>.'>
|
||||
<!ENTITY STACK_NAME_CREATE_DESC 'A name for the new stack. &STACK_NAME_FORMAT;
|
||||
<note><para>Deleting or abandoning a stack may not make the stack name available
|
||||
for reuse, or the ability to reuse a stack name could be delayed for an
|
||||
unspecified time.</para></note>'>
|
||||
<!ENTITY STACK_NAME_PREVIEW_DESC 'A name for the preview stack.
|
||||
&STACK_NAME_FORMAT; <para>The stack name provided for the preview operation may
|
||||
be used for future calls to preview and/or create a stack.</para>'>
|
||||
]>
|
||||
<application xmlns="http://wadl.dev.java.net/2009/02"
|
||||
xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
|
||||
@ -297,6 +308,12 @@
|
||||
xml:lang="EN">
|
||||
<xsdxt:code href="samples/stack_create.json"/>
|
||||
</wadl:doc>
|
||||
<param name="stack_name" style="plain" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>&STACK_NAME_CREATE_DESC;</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
</representation>
|
||||
</request>
|
||||
<response status="201">
|
||||
@ -386,7 +403,7 @@
|
||||
<param name="stack_name" style="plain" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>The name of the stack to preview.</para>
|
||||
<para>&STACK_NAME_PREVIEW_DESC;</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="template_url" style="plain"
|
||||
@ -489,7 +506,7 @@
|
||||
<param name="stack_name" style="plain" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>A name for the new stack.</para>
|
||||
<para>&STACK_NAME_CREATE_DESC;</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="template_url" style="plain"
|
||||
|
Loading…
x
Reference in New Issue
Block a user