PassReleaseStagePipelineValidate - Pass a manual check
Applicable editions | Centralized Edition, Region Edition |
Service endpoints and authorization
- Get service endpoint: Replace {domain} in the API request syntax.
- Get personal access token.
- Get the organization ID: Required only for Centralized Edition. Find the organization ID on the Basic Information page in the organization management console.
Product | Resource | Required permissions |
application delivery | release stage | Read/Write |
Request syntax
Centralized Edition
POST https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:passPipelineValidate
Region Edition
POST https://{domain}/oapi/v1/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:passPipelineValidate
Request header
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 |
appName | string | path | Yes | The application name. | my-web-service |
releaseWorkflowSn | string | path | Yes | The serial number of the release workflow. | 3f472a12b15d4f418ad6227bb85f787c |
releaseStageSn | string | path | Yes | The serial number of the release stage. | 6b4c53eee9a842c6a11235b29d002a81 |
executionNumber | string | path | Yes | The execution number of the release stage. | 123 |
jobId | string | query | Yes | The ID of the job. | 123 |
organizationId | string | path |
| The organization ID. | ec766e63aee3437d9a51f334d6exe671 |
Request examples
Centralized Edition
curl -X 'POST' \
'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/apps/my-web-service/releaseWorkflows/3f472a12b15d4f418ad6227bb85f787c/releaseStages/6b4c53eee9a842c6a11235b29d002a81/executions/123:passPipelineValidate?jobId=123' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region Edition
curl -X 'POST' \
'https://{domain}/oapi/v1/appstack/apps/my-web-service/releaseWorkflows/3f472a12b15d4f418ad6227bb85f787c/releaseStages/6b4c53eee9a842c6a11235b29d002a81/executions/123:passPipelineValidate?jobId=123' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example value |
| - | object | The result of the manual check. | |
| success | boolean | Indicates whether the manual check passed. | true |
Response example
{
"success": true
}
Error codes
For a list of API error codes, see the Error Code Center.