Files
doc-exports/docs/cce/api-ref/ShowChart.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

221 lines
15 KiB
HTML

<a name="ShowChart"></a><a name="ShowChart"></a>
<h1 class="topictitle1">Obtaining a Chart</h1>
<div id="body32001227"><div class="section" id="ShowChart__section1973517918555"><h4 class="sectiontitle">Function</h4><p id="ShowChart__p137364915556">This API is used to obtain a chart.</p>
</div>
<div class="section" id="ShowChart__en-us_topic_0000001896008857_atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="ShowChart__p47361797557">GET /v2/charts/{chart_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChart__table673711965516" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ShowChart__row97375905514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="ShowChart__p473716935519">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="ShowChart__p14738139185511">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="ShowChart__p173810916559">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="ShowChart__p6738139115513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChart__row11737109115519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ShowChart__p13738791556">chart_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ShowChart__p87390917552">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ShowChart__p167391796551">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ShowChart__p10739595558">Chart ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ShowChart__section273939195513"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChart__en-us_topic_0000001896008857_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="ShowChart__row874020912551"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="ShowChart__p0741195558">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="ShowChart__p1574114913555">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="ShowChart__p6741149115511">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="ShowChart__p77414955516">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChart__row274016975518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ShowChart__p1274229195514">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ShowChart__p57421296557">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ShowChart__p174210916556">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ShowChart__p175132048141618">Details:</p>
<p id="ShowChart__p1513184851611">Request body type or format.</p>
<p id="ShowChart__p363312163118">Constraints:</p>
<p id="ShowChart__p86331116121112">The GET method is not verified.</p>
<p id="ShowChart__p36336166115">Options:</p>
<ul id="ShowChart__ul166331116111111"><li id="ShowChart__li6633516101110">application/json</li><li id="ShowChart__li1363351614116">application/json;charset=utf-8</li><li id="ShowChart__li0633191617110">application/x-pem-file</li><li id="ShowChart__li192591549143012">multipart/form-data (It can be used when the <strong id="ShowChart__uploadchart_b1058912225107">FormData</strong> parameter exists.)</li></ul>
<p id="ShowChart__p363331671112">Default value:</p>
<p id="ShowChart__p5633151617112">N/A</p>
</td>
</tr>
<tr id="ShowChart__row574016965515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ShowChart__p1374314925512">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ShowChart__p15743294553">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ShowChart__p174315917553">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ShowChart__p1374418917554">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="ShowChart__section13744159155520"><h4 class="sectiontitle">Response Parameters</h4><p id="ShowChart__p2744390559"><strong id="ShowChart__b2744392558">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChart__en-us_topic_0000001896008857_response_ChartResp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="ShowChart__row97451496554"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="ShowChart__p1174717965510">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="ShowChart__p1274714955518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="ShowChart__p1074710985513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChart__row27451390550"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p1274813915559">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p374859135512">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p1074813995516">Chart ID</p>
</td>
</tr>
<tr id="ShowChart__row17745149125514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p1174819935518">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p074814920554">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p974914975516">Chart name</p>
</td>
</tr>
<tr id="ShowChart__row1174579175513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p1774919914552">values</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p157494914552">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p1175039185519">Chart value</p>
</td>
</tr>
<tr id="ShowChart__row8745191554"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p1875013935510">translate</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p1275039205517">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p137503995511">Chart translation resources</p>
</td>
</tr>
<tr id="ShowChart__row474620915518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p275099155517">instruction</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p1475114975516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p175159155519">Chart description</p>
</td>
</tr>
<tr id="ShowChart__row1746149125516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p13751209195516">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p11751199155511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p17752139105510">Chart version</p>
</td>
</tr>
<tr id="ShowChart__row187461935511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p37521912551">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p1875211925512">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p1075219145520">Chart description</p>
</td>
</tr>
<tr id="ShowChart__row57462913552"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p137531298554">source</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p13753892553">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p675314955513">Chart source</p>
</td>
</tr>
<tr id="ShowChart__row2746994553"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p67538915558">icon_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p875369105516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p17541496558">URL to chart icons</p>
</td>
</tr>
<tr id="ShowChart__row57467915559"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p475412975510">public</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p147547912552">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p2075417916553">Whether the chart is public</p>
</td>
</tr>
<tr id="ShowChart__row5746119165512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p675519919559">chart_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p87554915555">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p1575519115511">URL to the chart</p>
</td>
</tr>
<tr id="ShowChart__row1774617913551"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p175519155511">create_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p475589145510">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p15756129165519">Created at</p>
</td>
</tr>
<tr id="ShowChart__row13746995553"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ShowChart__p9756294557">update_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ShowChart__p147561499554">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ShowChart__p675629195518">Updated at</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ShowChart__section16756493557"><h4 class="sectiontitle">Example Requests</h4><p id="ShowChart__p2757149105512">None</p>
</div>
<div class="section" id="ShowChart__section147571955518"><h4 class="sectiontitle">Example Responses</h4><p id="ShowChart__p4757169185515"><strong id="ShowChart__b1875716918559">Status code: 200</strong></p>
<p id="ShowChart__p87571298552">OK</p>
<pre class="screen" id="ShowChart__screen1075815985514">{
"id" : "e99a7e86-afdd-11eb-aca3-0255ac100b0e",
"name" : "neo4j",
"values" : "{\"acceptLicenseAgreement\":\"no\",\"affinity\":{},\"authEnabled\":true,\"clusterDomain\":\"cluster.local\",\"core\":{\"initContainers\":[],\"numberOfServers\":3,\"persistentVolume\":{\"enabled\":true,\"mountPath\":\"/data\",\"size\":\"10Gi\"},\"sidecarContainers\":[]},\"defaultDatabase\":\"neo4j\",\"image\":\"neo4j\",\"imagePullPolicy\":\"IfNotPresent\",\"imageTag\":\"4.0.3-enterprise\",\"name\":\"neo4j\",\"nodeSelector\":{},\"podDisruptionBudget\":{},\"readReplica\":{\"autoscaling\":{\"enabled\":false,\"maxReplicas\":3,\"minReplicas\":1,\"targetAverageUtilization\":70},\"initContainers\":[],\"numberOfServers\":0,\"resources\":{},\"sidecarContainers\":[]},\"resources\":{},\"testImage\":\"markhneedham/k8s-kubectl\",\"testImageTag\":\"master\",\"tolerations\":[],\"useAPOC\":\"true\"}",
"translate" : "",
"instruction" : "README.md",
"version" : "3.0.1",
"description" : "DEPRECATED Neo4j is the world's leading graph database",
"source" : "",
"icon_url" : "https://info.neo4j.com/rs/773-GON-065/images/neo4j_logo.png",
"public" : false,
"chart_url" : "neo4j-3.0.1.tgz",
"create_at" : "2021-05-08T08:53:13Z",
"update_at" : "2021-05-08T08:53:13Z"
}</pre>
</div>
<div class="section" id="ShowChart__section17610915556"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ShowChart__en-us_topic_0000001896008857_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ShowChart__row676115985512"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="ShowChart__p147621897554">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="ShowChart__p6762194554">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ShowChart__row3761594552"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ShowChart__p9762139175510">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ShowChart__p176219205514">OK</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ShowChart__section1176310916558"><h4 class="sectiontitle">Error Codes</h4><p id="ShowChart__p176320995519">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>