forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
123 lines
8.5 KiB
HTML
123 lines
8.5 KiB
HTML
<a name="DownloadChart"></a><a name="DownloadChart"></a>
|
|
|
|
<h1 class="topictitle1">Downloading a Chart</h1>
|
|
<div id="body32001227"><div class="section" id="DownloadChart__section9475153475613"><h4 class="sectiontitle">Function</h4><p id="DownloadChart__p19475183410560">This API is used to download a chart.</p>
|
|
</div>
|
|
<div class="section" id="DownloadChart__en-us_topic_0000001850048622_atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="DownloadChart__p16475123413564">GET /v2/charts/{chart_id}/archive</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DownloadChart__table547663411569" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="DownloadChart__row1247633405614"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="DownloadChart__p16477134125620">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="DownloadChart__p1477834115611">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="DownloadChart__p17477183495617">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="DownloadChart__p1347713414563">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DownloadChart__row17476123475617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DownloadChart__p1478123495619">chart_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DownloadChart__p1747811340566">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DownloadChart__p9478334125614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DownloadChart__p1347973414566">Chart ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DownloadChart__section14791934155611"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DownloadChart__en-us_topic_0000001850048622_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="DownloadChart__row144801034115617"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="DownloadChart__p7481103411563">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="DownloadChart__p16482143418569">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="DownloadChart__p1448253414566">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="DownloadChart__p13482143410566">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DownloadChart__row1248117347565"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DownloadChart__p1248283418565">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DownloadChart__p1648233414563">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DownloadChart__p17483183412562">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DownloadChart__p175132048141618">Details:</p>
|
|
<p id="DownloadChart__p1513184851611">Request body type or format.</p>
|
|
<p id="DownloadChart__p363312163118">Constraints:</p>
|
|
<p id="DownloadChart__p86331116121112">The GET method is not verified.</p>
|
|
<p id="DownloadChart__p36336166115">Options:</p>
|
|
<ul id="DownloadChart__ul166331116111111"><li id="DownloadChart__li6633516101110">application/json</li><li id="DownloadChart__li1363351614116">application/json;charset=utf-8</li><li id="DownloadChart__li0633191617110">application/x-pem-file</li><li id="DownloadChart__li192591549143012">multipart/form-data (It can be used when the <strong id="DownloadChart__uploadchart_b1058912225107">FormData</strong> parameter exists.)</li></ul>
|
|
<p id="DownloadChart__p363331671112">Default value:</p>
|
|
<p id="DownloadChart__p5633151617112">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DownloadChart__row124811534185618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DownloadChart__p048315349564">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DownloadChart__p144831034155614">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DownloadChart__p2484934135610">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DownloadChart__p104844346561">Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details, see <a href="cce_02_0004.html">API Usage Guidelines</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DownloadChart__section148473475616"><h4 class="sectiontitle">Response Parameters</h4><p id="DownloadChart__p1448414342564"><strong id="DownloadChart__b9484334115613">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DownloadChart__en-us_topic_0000001850048622_response_-" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="DownloadChart__row54851734165616"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="DownloadChart__p1448513340567">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="DownloadChart__p8486203495611">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="DownloadChart__p9486163405611">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DownloadChart__row18485734115611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DownloadChart__p1648618345560">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DownloadChart__p8486133416569">File</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DownloadChart__p13486163412569">File name of the downloaded chart.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DownloadChart__section1548743412566"><h4 class="sectiontitle">Example Requests</h4><p id="DownloadChart__p20487133415619">None</p>
|
|
</div>
|
|
<div class="section" id="DownloadChart__section10487123405617"><h4 class="sectiontitle">Example Responses</h4><p id="DownloadChart__p2048763416563"><strong id="DownloadChart__b148733445618">Status code: 200</strong></p>
|
|
<p id="DownloadChart__p1048793414560">OK</p>
|
|
<pre class="screen" id="DownloadChart__screen1048763405616">"chart-file.tgz"</pre>
|
|
</div>
|
|
<div class="section" id="DownloadChart__section04881534185617"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DownloadChart__en-us_topic_0000001850048622_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="DownloadChart__row17488234115617"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="DownloadChart__p1348814343561">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="DownloadChart__p1748943445620">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DownloadChart__row6488143415617"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DownloadChart__p6489534155613">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DownloadChart__p5489153415613">OK</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DownloadChart__section6489103475619"><h4 class="sectiontitle">Error Codes</h4><p id="DownloadChart__p164891634165613">See <a href="cce_02_0250.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="chart_lifecycle_management.html">Chart Management</a></div>
|
|
</div>
|
|
</div>
|
|
|