ListAllReleaseWorkflowBriefs - List release workflow briefs
Applicable editions | Central Edition, Region Edition |
Service endpoint and authorization
- Obtain a service endpoint to replace the
{domain}placeholder in the API request syntax. - Obtain a personal access token.
- Obtain the organization ID. Required for Central Edition only. The ID is available in the organization management console on the Basic Information page.
Product | Resource | Required permissions |
Application Delivery | release workflow | read-only |
Request syntax
Central Edition
GET https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/releaseWorkflowBriefs
Region Edition
GET https://{domain}/oapi/v1/appstack/apps/{appName}/releaseWorkflowBriefs
Request headers
Parameter | Type | Required | Description | Example |
x-yunxiao-token | string | Yes | The personal access token. | pt-0fh3****0fbG_35af****0484 |
Request parameters
Parameter | Type | In | Required | Description | Example |
appName | string | path | Yes | The application name. | my-app |
organizationId | string | path |
| The organization ID. | ec766e63xxxxx334d6exe671 |
Request examples
Central Edition
curl -X 'GET' \
'https://{domain}/oapi/v1/appstack/organizations/ec766e63xxxxx334d6exe671/apps/my-app/releaseWorkflowBriefs' \
-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/releaseWorkflowBriefs' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example |
| - | array | A list of release workflow brief objects. | |
| - | object | A release workflow brief object. | |
| appName | string | The application name. | my-web-app |
| name | string | The name of the release workflow. | my-release-workflow |
| note | string | The note for the release workflow. | my-note |
| order | string | The display order. | 1 |
| sn | string | The unique identifier (SN) of the release workflow. | sn-xxx |
| type | string | The type of the release workflow. Valid values are | CR |
Response example
[
{
"appName": "my-web-app",
"name": "my-release-workflow",
"note": "my-note",
"order": "1",
"sn": "sn-xxx",
"type": "CR"
}
]
Error codes
For API error codes, see the Error Code Center.