Obtaining Chart Values
Function
This API is used to obtain chart values.
URI
GET /v2/charts/{chart_id}/values
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
chart_id |
Yes |
String |
Chart ID |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Content-Type |
Yes |
String |
Message body type (format). |
X-Auth-Token |
Yes |
String |
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. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
values |
Map<String,Object> |
Data in values.yaml. The data structure depends on the chart. |
Example Requests
None
Example Responses
Status code: 200
OK
{ "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" } } }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank 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