RefuseReleaseStagePipelineValidate - Refuse a manual checkpoint

Updated at:

Applicable editions

Centralized Edition, Region-based Edition

Endpoint and authorization

Product

Resource

Required permissions

Application Delivery

release stage

Read and write

Request syntax

Centralized Edition

POST https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:refusePipelineValidate

Region-based Edition

POST https://{domain}/oapi/v1/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:refusePipelineValidate

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

Your personal access token.

pt-0fh30fbG_35af*0484

Request parameters

Parameter

Type

Location

Required

Description

Example

appName

string

path

Yes

The application name.

my-web-service

releaseWorkflowSn

string

path

Yes

The unique serial number of the release workflow.

3f472a12b15d4f418ad6227bb85f787c

releaseStageSn

string

path

Yes

The unique serial number of the release stage.

6b4c53eee9a842c6a11235b29d002a81

executionNumber

string

path

Yes

The execution number of the release stage.

123

jobId

string

query

Yes

The job ID.

123

organizationId

string

path

  • Yes: Centralized Edition

  • No: Region-based Edition

The organization ID.

ec766e63aee3437d9a51f334d6exe671

Example requests

Centralized Edition

curl -X 'POST' \
  'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/apps/my-web-service/releaseWorkflows/3f472a12b15d4f418ad6227bb85f787c/releaseStages/6b4c53eee9a842c6a11235b29d002a81/executions/123:refusePipelineValidate?jobId=123' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region-based Edition

curl -X 'POST' \
  'https://{domain}/oapi/v1/appstack/apps/my-web-service/releaseWorkflows/3f472a12b15d4f418ad6227bb85f787c/releaseStages/6b4c53eee9a842c6a11235b29d002a81/executions/123:refusePipelineValidate?jobId=123' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

object

The response to the checkpoint refusal request.

success

boolean

Indicates whether the request to refuse the checkpoint succeeded.

true

Example response

{
    "success": true
}

Error codes

For information about error codes, see the Error Code Center.