Obtaining a Chart
Function
This API is used to obtain a chart.
Calling Method
For details, see Calling APIs.
URI
GET /v2/charts/{chart_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| chart_id | Yes | String | Definition: Chart ID Constraints: N/A Range: N/A Default Value: N/A |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| Content-Type | Yes | String | Definition: Type (or format) of the request body. The default value is application/json. Other values of this field will be provided for specific APIs, if any. Constraints: GET requests are not validated. Range: N/A Default Value: N/A |
| X-Auth-Token | Yes | String | Details: 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 Obtaining a User Token. Constraints: None Options: N/A Default value: N/A |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| id | String | Definition: Chart ID Range: N/A |
| name | String | Definition: Name Range: N/A |
| values | String | Definition: Chart value Range: N/A |
| translate | String | Definition: Chart translation resources Range: N/A |
| instruction | String | Definition: Chart introduction Range: N/A |
| version | String | Definition: Chart version Range: N/A |
| description | String | Definition: Chart description Range: N/A |
| source | String | Definition: Chart source Range: N/A |
| icon_url | String | Definition: URL to the chart icon Range: N/A |
| public | Boolean | Definition: Whether the chart is public Range: |
| chart_url | String | Definition: URL to the chart Range: N/A |
| create_at | String | Definition: Creation time Range: N/A |
| update_at | String | Definition: Update time Range: N/A |
Example Requests
None
Example Responses
Status code: 200
{
"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"
} Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot