Files
doc-exports/docs/cce/api-ref/ShowChartValues.html
qiujiandong1 ebc8247e23 CCE API update 20250114 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-03-05 16:51:16 +00:00

139 lines
9.1 KiB
HTML

<a name="ShowChartValues"></a><a name="ShowChartValues"></a>
<h1 class="topictitle1">Obtaining Chart Values</h1>
<div id="body32001227"><div class="section" id="ShowChartValues__section1896565412574"><h4 class="sectiontitle">Function</h4><p id="ShowChartValues__p1596575417571">This API is used to obtain chart values.</p>
</div>
<div class="section" id="ShowChartValues__en-us_topic_0000001850048574_atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="ShowChartValues__p0966175411579">GET /v2/charts/{chart_id}/values</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChartValues__table10967195412573" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ShowChartValues__row9966205415717"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="ShowChartValues__p1996719543576">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="ShowChartValues__p149671254175712">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="ShowChartValues__p79687541576">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="ShowChartValues__p19968954155714">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChartValues__row179666546579"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ShowChartValues__p11968154165714">chart_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ShowChartValues__p5968155465711">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ShowChartValues__p209681654115715">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ShowChartValues__p59690540577">Chart ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ShowChartValues__section169690546577"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChartValues__en-us_topic_0000001850048574_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="ShowChartValues__row129691354155712"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="ShowChartValues__p3970155418579">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="ShowChartValues__p15970154195711">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="ShowChartValues__p15970754115717">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="ShowChartValues__p1797145419572">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChartValues__row10969115414577"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ShowChartValues__p69712541573">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ShowChartValues__p1971125414571">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ShowChartValues__p159711754165718">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ShowChartValues__p175132048141618">Details:</p>
<p id="ShowChartValues__p1513184851611">Request body type or format.</p>
<p id="ShowChartValues__p363312163118">Constraints:</p>
<p id="ShowChartValues__p86331116121112">The GET method is not verified.</p>
<p id="ShowChartValues__p36336166115">Options:</p>
<ul id="ShowChartValues__ul166331116111111"><li id="ShowChartValues__li6633516101110">application/json</li><li id="ShowChartValues__li1363351614116">application/json;charset=utf-8</li><li id="ShowChartValues__li0633191617110">application/x-pem-file</li><li id="ShowChartValues__li192591549143012">multipart/form-data (It can be used when the <strong id="ShowChartValues__uploadchart_b1058912225107">FormData</strong> parameter exists.)</li></ul>
<p id="ShowChartValues__p363331671112">Default value:</p>
<p id="ShowChartValues__p5633151617112">N/A</p>
</td>
</tr>
<tr id="ShowChartValues__row1096911545572"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ShowChartValues__p1597218549577">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ShowChartValues__p897214542578">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ShowChartValues__p8972854145712">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ShowChartValues__p12972175420572">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="ShowChartValues__section14972135455710"><h4 class="sectiontitle">Response Parameters</h4><p id="ShowChartValues__p797365465718"><strong id="ShowChartValues__b9973125435715">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChartValues__en-us_topic_0000001850048574_response_ChartValue" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="ShowChartValues__row69739542576"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="ShowChartValues__p89741154155710">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="ShowChartValues__p13974135455718">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="ShowChartValues__p1974254115711">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChartValues__row8973185495716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChartValues__p497513547571">values</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChartValues__p797585495719">Map&lt;String,Object&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChartValues__p397625419574">Data in <strong id="ShowChartValues__b69762054185718">values.yaml</strong>. The data structure depends on the chart.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ShowChartValues__section7976175419572"><h4 class="sectiontitle">Example Requests</h4><p id="ShowChartValues__p169761454105717">None</p>
</div>
<div class="section" id="ShowChartValues__section12976155416576"><h4 class="sectiontitle">Example Responses</h4><p id="ShowChartValues__p89771544573"><strong id="ShowChartValues__b17977145414576">Status code: 200</strong></p>
<p id="ShowChartValues__p20977105445712">OK</p>
<pre class="screen" id="ShowChartValues__screen09781054125715">{
"values" : {
"basic" : {
"admin_password" : "******",
"admin_username" : "username"
},
"global" : {
"magento_EIP" : "127.0.0.1",
"magento_EPORT" : 32080,
"namespace" : "demo"
},
"image" : {
"magento_image" : "example.com/demo/magento:latest",
"mysql_image" : "example.com/demo/mysql:5.7.14"
}
}
}</pre>
</div>
<div class="section" id="ShowChartValues__section198010543577"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChartValues__en-us_topic_0000001850048574_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ShowChartValues__row1498018543577"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="ShowChartValues__p129801054155717">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="ShowChartValues__p169811154195710">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChartValues__row1198085445715"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ShowChartValues__p6981135465713">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ShowChartValues__p109815549577">OK</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ShowChartValues__section199811354165716"><h4 class="sectiontitle">Error Codes</h4><p id="ShowChartValues__p1898175425712">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>