forked from laiweijian4/doc-exports
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
346 lines
28 KiB
HTML
346 lines
28 KiB
HTML
<a name="rts_03_0020"></a><a name="rts_03_0020"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Stacks</h1>
|
|
<div id="body1511161465560"><div class="section" id="rts_03_0020__en-us_topic_0057973120_section13428899"><h4 class="sectiontitle">Function</h4><p id="rts_03_0020__en-us_topic_0057973120_p923864">This API is used to query stacks of a specified tenant.</p>
|
|
</div>
|
|
<div class="section" id="rts_03_0020__en-us_topic_0057973120_section53751233"><h4 class="sectiontitle">URI</h4><p id="rts_03_0020__p1329173482614">GET /v1/{project_id}/stacks</p>
|
|
<p id="rts_03_0020__p1845155733720">For details about the parameters, see <a href="#rts_03_0020__table7797142512383">Table 1</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="rts_03_0020__table7797142512383"></a><a name="table7797142512383"></a><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0020__table7797142512383" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="rts_03_0020__row208001025193812"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.1"><p id="rts_03_0020__p43085863"><strong id="rts_03_0020__b7158827171219">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.2"><p id="rts_03_0020__p12821133562718"><strong id="rts_03_0020__b14789173031217">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.3"><p id="rts_03_0020__p294000"><strong id="rts_03_0020__b493320314127">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.4"><p id="rts_03_0020__p23814038"><strong id="rts_03_0020__b045173771212">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0020__row148005254389"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.1 "><p id="rts_03_0020__p14468758">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.2 "><p id="rts_03_0020__p1581811351277">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.3 "><p id="rts_03_0020__p31118786">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.4 "><p id="rts_03_0020__p37593705">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="rts_03_0020__en-us_topic_0057973120_section13999052"><h4 class="sectiontitle">Request Parameter</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0020__en-us_topic_0057973120_table137237981111" frame="border" border="1" rules="all"><thead align="left"><tr id="rts_03_0020__en-us_topic_0057973120_row105115351111"><th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.3.2.1.6.1.1"><p id="rts_03_0020__p17493122142817"><strong id="rts_03_0020__b128620912138">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.1.6.1.2"><p id="rts_03_0020__p1887419221879"><strong id="rts_03_0020__b17852182671318">In</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.1.6.1.3"><p id="rts_03_0020__p16493922112813"><strong id="rts_03_0020__b108912815139">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.1.6.1.4"><p id="rts_03_0020__p94935225284"><strong id="rts_03_0020__b7284157121415">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43%" id="mcps1.3.3.2.1.6.1.5"><p id="rts_03_0020__p1549342213284"><strong id="rts_03_0020__b136331116191419">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0020__en-us_topic_0057973120_row196510691111"><td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p158588311110">status/stack_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0020__p122521523151110">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p6134773511110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p311060611110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0020__en-us_topic_0057973120_p5063255411110">Specifies the stack status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row125834051111"><td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p125732811110">name/stack_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0020__p7252112321117">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p3473471011110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p6204812511110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0020__p1331445961114">Specifies the stack name.</p>
|
|
<ul id="rts_03_0020__ul45291469124"><li id="rts_03_0020__li1852911617120">The value can contain only uppercase letters, lowercase letters, digits, hyphens (-), periods (.), and underscores (_).</li><li id="rts_03_0020__li2147659191213">The value must start with an uppercase letter or a lowercase letter.</li><li id="rts_03_0020__li10293495134">The value can contain 1 to 255 characters.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row331239521111"><td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p421736211110">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0020__p12252423151111">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p606203011110">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p2126238211110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0020__p36478401709">Specifies the number of returned stacks. This parameter is used to control the stack display mode and quantity. It can be used independently or together with the <strong id="rts_03_0020__b32794414297">marker</strong> parameter.</p>
|
|
<p id="rts_03_0020__p112805411408">For example, if the <strong id="rts_03_0020__b1473516129298">limit</strong> and <strong id="rts_03_0020__b178861532919">marker</strong> parameters are not used, the queried stack list is as follows:</p>
|
|
<pre class="screen" id="rts_03_0020__screen1861429839">[stack1,stack2,stack3,stack4,stack5,stack6,stack7,stack8]</pre>
|
|
<p id="rts_03_0020__p3265269310">If <strong id="rts_03_0020__b4417173911298">limit</strong> is set to <strong id="rts_03_0020__b5297142162918">3</strong>, only the first three data records in the stack list are returned.</p>
|
|
<pre class="screen" id="rts_03_0020__screen784917559412">[stack1,stack2,stack3]</pre>
|
|
<p id="rts_03_0020__p191422261844">If <strong id="rts_03_0020__b12947821718">limit</strong> is set to <strong id="rts_03_0020__b294842110118">3</strong> and <strong id="rts_03_0020__b1394915211412">marker</strong> is set to <strong id="rts_03_0020__b15949721312">stack3</strong>, three stacks are displayed in sequence from the next data record of <strong id="rts_03_0020__b199501621517">stack3</strong>.</p>
|
|
<pre class="screen" id="rts_03_0020__screen18967192216620">[stack4,stack5,stack6]</pre>
|
|
<p id="rts_03_0020__p10106115619">If <strong id="rts_03_0020__b121121236111">limit</strong> is set to <strong id="rts_03_0020__b171126231714">3</strong> and <strong id="rts_03_0020__b911318231616">marker</strong> is set to <strong id="rts_03_0020__b131133231116">stack6</strong>, but fewer than three data records are available after <strong id="rts_03_0020__b15114123515">stack6</strong>, all the remaining data records are displayed.</p>
|
|
<pre class="screen" id="rts_03_0020__screen15316133011149">[stack7,stack8]</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row195985261111"><td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p4977634711110">marker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0020__p62522236118">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p535232611110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p3088527411110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0020__en-us_topic_0057973120_p1867922911110">Specifies the stack from which the next data record starts to be queried. This parameter is used to control the stack display mode and quantity. This parameter must be used together with the <strong id="rts_03_0020__b645112813714">limit</strong> parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row245624561111"><td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p6116810911110">sort_keys</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0020__p132525235111">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p5566977711110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p1295808211110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0020__en-us_topic_0057973120_p4297168711110">Specifies the sorting keyword.</p>
|
|
<p id="rts_03_0020__en-us_topic_0057973120_p5120086411110">stack_name, stack_status, creation_time, and updated_time</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row390213191111"><td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p1290219111110">sort_dir</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0020__p1252123111119">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p3844451311110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p2699786411110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0020__p178611743131319">Specifies the sorting method.</p>
|
|
<p id="rts_03_0020__en-us_topic_0057973120_p3934340411110">The value can be <strong id="rts_03_0020__b1571183510283">asc</strong> (in the ascending order) or <strong id="rts_03_0020__b1942363772813">desc</strong> (in the descending order).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="rts_03_0020__en-us_topic_0057973120_section58882605"><h4 class="sectiontitle">Response Parameter</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0020__en-us_topic_0057973120_table12551541" frame="border" border="1" rules="all"><thead align="left"><tr id="rts_03_0020__en-us_topic_0057973120_row55718695"><th align="left" class="cellrowborder" valign="top" width="15.290000000000001%" id="mcps1.3.4.2.1.5.1.1"><p id="rts_03_0020__p171065246399"><strong id="rts_03_0020__b677145518280">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.470000000000002%" id="mcps1.3.4.2.1.5.1.2"><p id="rts_03_0020__p2011052493920"><strong id="rts_03_0020__b17768859202814">In</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.65%" id="mcps1.3.4.2.1.5.1.3"><p id="rts_03_0020__p511442413391"><strong id="rts_03_0020__b29835217295">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.59%" id="mcps1.3.4.2.1.5.1.4"><p id="rts_03_0020__p1211902483916"><strong id="rts_03_0020__b19199660296">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0020__en-us_topic_0057973120_row42407121"><td class="cellrowborder" valign="top" width="15.290000000000001%" headers="mcps1.3.4.2.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p12424780">stacks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.4.2.1.5.1.2 "><p id="rts_03_0020__p181782893219">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.65%" headers="mcps1.3.4.2.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p66883099">List <dict></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.59%" headers="mcps1.3.4.2.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p62261975">Specifies the stack list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="rts_03_0020__en-us_topic_0057973120_p23486864"><strong id="rts_03_0020__b2395192114291">stacks</strong> structure information</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0020__en-us_topic_0057973120_table10055187" frame="border" border="1" rules="all"><thead align="left"><tr id="rts_03_0020__en-us_topic_0057973120_row17111243"><th align="left" class="cellrowborder" valign="top" width="15.478452154784522%" id="mcps1.3.4.4.1.5.1.1"><p id="rts_03_0020__p122191431163912"><strong id="rts_03_0020__b18216182611295">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.478452154784522%" id="mcps1.3.4.4.1.5.1.2"><p id="rts_03_0020__p13221731143918"><strong id="rts_03_0020__b142511052162912">In</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.858214178582145%" id="mcps1.3.4.4.1.5.1.3"><p id="rts_03_0020__p112241831133912"><strong id="rts_03_0020__b1332611533292">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51.18488151184882%" id="mcps1.3.4.4.1.5.1.4"><p id="rts_03_0020__p1230163153911"><strong id="rts_03_0020__b122194576292">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0020__en-us_topic_0057973120_row12734291"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p24844657">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p1321172513328">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p66260240">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p2219504">Specifies the stack UUID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row19975537"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p7405829">stack_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p17219258327">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p63001277">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p27889339">Specifies the stack name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row49677463"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p64451546">stack_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p3211925173218">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p53192709">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p31274549">Specifies the stack status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row13035492"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p49241952">stack_status_reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p821142516326">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p29175209">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p24069824">Describes the stack operation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row15301827"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p31488466">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p521225183218">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p428978">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p63065860">Describes the stack.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row30721828"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p5440112">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p92152513219">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p37995953">List <dict></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p49133105">Specifies the stack URL list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row39544768"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p49009603">creation_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p7211125163213">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p10354944">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p24619586">Specifies the time when the stack was created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__en-us_topic_0057973120_row20249688"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__en-us_topic_0057973120_p29611997">updated_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p19211225143210">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__en-us_topic_0057973120_p49761534">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__en-us_topic_0057973120_p806967">Specifies the time when the stack was updated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__row129035129374"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__p13904912183716">parent</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p2090491273715">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__p129046120378">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__p6904912203719">Specifies the UUID of the parent stack (for a nested stack).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__row149043128375"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__p139051112163716">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p590591223717">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__p17905412143711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__p9905812173715">Specifies the stack tag.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__row8905101293710"><td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0020__p7905412143714">stack_user_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.478452154784522%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0020__p159051012203715">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.858214178582145%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0020__p12905131273715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.18488151184882%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0020__p109052012153720">Specifies the project UUID of the stack user. This parameter may be left blank.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="rts_03_0020__en-us_topic_0057973120_section60181397"><h4 class="sectiontitle">Request Example</h4><pre class="screen" id="rts_03_0020__en-us_topic_0057973120_screen65364382">GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks</pre>
|
|
</div>
|
|
<div class="section" id="rts_03_0020__en-us_topic_0057973120_section4761661"><h4 class="sectiontitle">Response Example</h4><pre class="screen" id="rts_03_0020__en-us_topic_0057973120_screen5389166611148">{
|
|
"stacks": [
|
|
{
|
|
"description": "Hello world HOT template that just defines a single compute instance. Contains just base features to verify base HOT support.\n",
|
|
"links": [
|
|
{
|
|
"href": "http://x.x.x.x:8004/v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306",
|
|
"rel": "self"
|
|
}
|
|
],
|
|
"stack_status_reason": "Stack create completed successfully",
|
|
"stack_name": "HeatStack",
|
|
"creation_time": "2018-01-26T17:21:35Z",
|
|
"updated_time": "2018-01-26T17:21:41Z",
|
|
"stack_status": "CREATE_COMPLETE",
|
|
"id": "c89c4bb3-96cb-4a55-aafa-076a7939a306"
|
|
}
|
|
]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="rts_03_0020__en-us_topic_0057973120_section42854950"><h4 class="sectiontitle">Return Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0020__en-us_topic_0057973117_table40445519194057" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Normal return code</caption><thead align="left"><tr id="rts_03_0020__en-us_topic_0057973117_row42419326194057"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.7.2.2.4.1.1"><p id="rts_03_0020__en-us_topic_0057973117_p13413377194057"><strong id="rts_03_0020__b14910172512114">Return Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.7.2.2.4.1.2"><p id="rts_03_0020__en-us_topic_0057973117_p12741761194057"><strong id="rts_03_0020__en-us_topic_0057973140_b84235270615814_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51%" id="mcps1.3.7.2.2.4.1.3"><p id="rts_03_0020__en-us_topic_0057973117_p25449701194057"><strong id="rts_03_0020__en-us_topic_0057973140_b842352706193020">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0020__en-us_topic_0057973117_row48159894194057"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.2.2.4.1.1 "><p id="rts_03_0020__en-us_topic_0057973117_p8637307194057">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.2.2.4.1.2 "><p id="rts_03_0020__en-us_topic_0057973117_p28533244194057">OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.2.2.4.1.3 "><p id="rts_03_0020__en-us_topic_0057973117_p29491459194057">Request was successful.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0020__table19512103414" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Error return code</caption><thead align="left"><tr id="rts_03_0020__row16955110342"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.7.3.2.4.1.1"><p id="rts_03_0020__p129561510144"><strong id="rts_03_0020__b1593185095118">Return Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.7.3.2.4.1.2"><p id="rts_03_0020__p4959810444"><strong id="rts_03_0020__b1246719253">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51%" id="mcps1.3.7.3.2.4.1.3"><p id="rts_03_0020__p9959161020418"><strong id="rts_03_0020__b208697501">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0020__row179609103411"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0020__p896118101840">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0020__p1296211015416">Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0020__p9963110146">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__row181330274199"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0020__p18134027201912">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0020__p1713419274191">Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0020__p11134162718196">Authorization failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0020__row16531631121913"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0020__p156541031121913">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0020__p12654183112194">Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0020__p196546319198">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rts_03_0019.html">Stack Management</a></div>
|
|
</div>
|
|
</div>
|
|
|