ListReleaseStageFlowChangeRequests - Get release stage integration metadata

Updated at:

Applicable editions

Central Edition, Region Edition

Service endpoint and authorization

  • Get a service endpoint to replace the {domain} placeholder in the API request syntax.
  • Get a personal access token.
  • Get your organization ID. This is required for Central Edition only. You can find it on the Basic Information page in Organization Management.

Product

Resource

Required permissions

Application Delivery

development stage

Read-only

Request syntax

Central Edition

GET https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}:find_release_integrated_metadata

Region Edition

GET https://{domain}/oapi/v1/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}:find_release_integrated_metadata

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

The personal access token for authentication.

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

Request parameters

Parameter

Type

Location

Required

Description

Example

organizationId

string

path

  • Yes: Central Edition

  • No: Region Edition

The organization ID.

ec766e63xxxxx334d6exe671

appName

string

path

Yes

The application name.

my-app

releaseWorkflowSn

string

path

Yes

The unique identifier of the release workflow.

3f472a1xxxxxx6227bb85f787c

releaseStageSn

string

path

Yes

The unique identifier of the release stage.

6b4c53eexxxxxxxxxx35b29d002a81

buildNum

integer

query

No

If omitted, the system retrieves data from the latest run.

5

Request examples

Central Edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/appstack/organizations/ec766e63xxxxx334d6exe671/apps/my-app/releaseWorkflows/3f472a1xxxxxx6227bb85f787c/releaseStages/6b4c53eexxxxxxxxxx35b29d002a81:find_release_integrated_metadata?buildNum=5' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region Edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/appstack/apps/my-app/releaseWorkflows/3f472a1xxxxxx6227bb85f787c/releaseStages/6b4c53eexxxxxxxxxx35b29d002a81:find_release_integrated_metadata?buildNum=5' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

object

The integration metadata of the release stage.

crDetailList

array

A list of change details.

-

object

The change detail.

branchName

string

The branch name.

feature/20251107_saassa

branchState

string

The branch state. Valid values: DELETED, NEW_COMMIT, UNKNOWN, and LATEST.

LATEST

commitId

string

The commit ID.

64cb648499479b99662c743a6945c54934e148ef

name

string

The name of the change.

aaa

ownerId

string

The ID of the change owner.

5e9ee108424a50d98c7c8906

sn

string

The unique identifier of the change.

9dfe68c84c04416c97f863c4f16872fe

state

string

The integration state. Valid values: INTEGRATING, RELEASED, CLOSED, and DEVELOPING.

INTEGRATING

releaseBranch

string

The release branch.

release/20251204-094700635356876_release_4566642_5

releaseRevision

string

The revision of the release.

a124d55c30f2eecbfbaffcc01ea1646ab142e08d

releaseStageSn

string

The unique identifier of the release stage.

f469b665bb084c85aac884cff2d12887

repoType

string

The repository type.

CODEUP

repoUrl

string

The repository URL.

https://codeup.aliyun.com/5ebbe3fa0d4ce6105176dcbc/Codeup-Demo.git

runNumber

integer

The run number.

5

Response example

{
    "crDetailList": [
        {
            "branchName": "feature/20251107_saassa",
            "branchState": "LATEST",
            "commitId": "64cb648499479b99662c743a6945c54934e148ef",
            "name": "aaa",
            "ownerId": "5e9ee108424a50d98c7c8906",
            "sn": "9dfe68c84c04416c97f863c4f16872fe",
            "state": "INTEGRATING"
        }
    ],
    "releaseBranch": "release/20251204-094700635356876_release_4566642_5",
    "releaseRevision": "a124d55c30f2eecbfbaffcc01ea1646ab142e08d",
    "releaseStageSn": "f469b665bb084c85aac884cff2d12887",
    "repoType": "CODEUP",
    "repoUrl": "https://codeup.aliyun.com/5ebbe3fa0d4ce6105176dcbc/Codeup-Demo.git",
    "runNumber": 5
}

Error codes

For a list of error codes, see the Error Code Center.