ExecutePipelineJobAction - Run a subsequent action for a pipeline job
Runs a subsequent action for a pipeline job.
|
Applicable editions |
Central edition, Region edition |
Endpoints and authorization information
-
Get the endpoint to replace the {domain} placeholder in the request syntax.
-
Obtain the organizationId. Required only for the Central edition. You can find this ID on the Basic Information page in the Tenant Management console.
|
Product |
Resource |
Required permission |
|
Pipeline |
Pipeline run job |
Read and write |
Request syntax
Central edition
POST https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/action/{actionId}
Region edition
POST https://{domain}/oapi/v1/flow/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/action/{actionId}
Request headers
|
Parameter |
Type |
Required |
Description |
Example value |
|
x-yunxiao-token |
string |
Yes |
The personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example value |
|
organizationId |
string |
path |
|
The organization ID. |
5ebbc0228123212b59xxxxx |
|
pipelineId |
string |
path |
Yes |
The pipeline ID. |
123 |
|
pipelineRunId |
string |
path |
Yes |
The pipeline run ID. Call the ListPipelineRuns operation to obtain this ID. |
1 |
|
jobId |
string |
path |
Yes |
The pipeline run job ID. Call the GetPipelineRun operation to obtain this ID. |
1 |
|
actionId |
string |
path |
Yes |
The ID of the subsequent action for the pipeline run job. |
1 |
Request examples
Central edition
curl -X 'POST' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelines/123/pipelineRuns/1/jobs/1/action/1' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'POST' \
'https://{domain}/oapi/v1/flow/pipelines/123/pipelineRuns/1/jobs/1/action/1' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
|
Parameter |
Type |
Description |
Example value |
|
- |
boolean |
Indicates whether the request is successful. |
true |
Response example
true
Error codes
For a list of error codes, see Error Code Center.