Help Center/ CodeArts Deploy/ API Reference/ APIs/ Managing Applications/ Querying the Execution Parameters of a Deployment Record

Querying the Execution Parameters of a Deployment Record

Updated on 2025-05-27 GMT+08:00

Function

This API is used to query the execution parameters of a deployment record.

Calling Method

For details, see Calling APIs.

URI

GET /v2/history/tasks/{task_id}/params

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

task_id

Yes

String

Parameter description:

Deployment application ID.

Constraints:

N/A

Value range:

The value consists of 32 characters. Only letters and digits are allowed.

Default value:

N/A

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

record_id

No

String

Parameter description:

Execution record ID.

Constraints:

N/A

Value range:

The value consists of 32 characters. Only letters and digits are allowed.

Default value:

N/A

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token.

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

[items]

Array of ConfigInfo objects

Response body for querying deployment record execution parameters

Table 5 ConfigInfo

Parameter

Type

Description

name

String

Parameter description:

Parameter name.

Value range:

N/A

type

String

Parameter description:

Parameter type.

Value range:

N/A

value

String

Parameter description:

Parameter value.

Value range:

N/A

Example Requests

https://{endpoint}/v1/history/tasks/8e1eb7f010d4442ca150e3a1a5d96d94/params?record_id=8bcfde0419bf4d62b4676de99bcc7403

Example Responses

Status code: 200

OK: The request is successful.

[ {
  "name" : "service_port",
  "type" : "text",
  "value" : 8080
} ]

Status Codes

Status Code

Description

200

OK: The request is successful.

Error Codes

See Error Codes.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback