Updated on 2024-12-04 GMT+08:00

Downloading a Chart

Function

This API is used to download a chart.

URI

GET /v2/charts/{chart_id}/archive

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

chart_id

Yes

String

Chart ID

Request Parameters

Table 2 Request header 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

Table 3 Response body parameters

Parameter

Type

Description

-

File

OK

Example Requests

None

Example Responses

Status code: 200

OK

"chart-file.tgz"

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.