Querying Execution Parameters of a Deployment Record
Function
This API is used to query execution parameters of a deployment record.
URI
GET /v2/history/tasks/{task_id}/params
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
task_id |
Yes |
String |
Specifies the task ID. Minimum: 32 Maximum: 32 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
record_id |
No |
String |
Execution record ID. Minimum: 32 Maximum: 32 |
Request 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. Minimum: 0 Maximum: 20000 |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
[items] |
Array of ConfigInfo objects |
Response body for querying deployment record execution parameters |
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
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.