ListProjectNextStatuses - List available project status transitions
Updated at:
Applicable editions | Central edition, Region edition |
Endpoints and authorization information
- Get the endpoint: Replace {domain} in the API request syntax.
- Obtain a personal access token。
- Obtain an organization ID:Required only for the Central edition. Go to theorganization management consoleand obtain the organization ID from thebasic informationpage.
Product | Resource | Required permission |
Project Collaboration | Project | Read-only |
Request syntax
Central edition
GET https://{domain}/oapi/v1/projex/organizations/{organizationId}/projects/{id}/statuses:next
Region edition
GET https://{domain}/oapi/v1/projex/projects/{id}/statuses:next
Request headers
Parameter | Type | Required | Description | Example value |
x-yunxiao-token | string | Yes | Personal access token. | pt-0fh3****0fbG_35af****0484 |
Request parameters
Parameter | Type | Location | Required | Description | Example value |
id | string | path | Yes | Unique project identifier. | 589c53d622cc8521793e08**** |
organizationId | string | path |
| Organization ID. |
Request examples
Central edition
curl -X 'GET' \
'https://{domain}/oapi/v1/projex/organizations/{organizationId}/projects/589c53d622cc8521793e08****/statuses:next' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'GET' \
'https://{domain}/oapi/v1/projex/projects/589c53d622cc8521793e08****/statuses:next' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example value |
| - | array | ||
| - | object | A status. | |
| id | string | The status ID. | 1111 |
| name | string | The status name. | In progress |
Response example
[
{
"id": "1111",
"name": "In progress"
}
]
Error codes
Visit the Error Code Center to view API error codes.
Is this page helpful?