RetryChangeRequestStagePipeline - Retry a development stage run

Updated at:

Applicable versions

Central Edition, Region Edition

Endpoint and authorization information

  • Obtain the endpoint. Replace {domain} in the API request syntax.
  • Obtain your personal access token.
  • Obtain the organizationId. This is required only for the Central Edition. Go to the Basic Information page in the Organization Management console to obtain the organization ID.

Product

Resource

Required permissions

Application Delivery

Development stage

Read and write

Request syntax

Central Edition

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

Region Edition

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

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

Your personal access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Position

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 workflow stage.

6b4c53eee9a842c6a11235b29d002a81

executionNumber

string

path

Yes

The execution number of the release workflow stage.

123

jobId

string

query

Yes

The job ID.

123

organizationId

string

path

  • Yes: Central Edition

  • No: Region Edition

The organization ID.

ec766e63aee3437d9a51f334d6exe671

Request examples

Central Edition

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

Response parameters

None

Error codes

For API error codes, see Error Code Center.