Query Project Workflow List
POST
https://app.leiga.com/openapi/api/workflow/list
Workflow Module(workflow)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/workflow/list' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"projectId": 1
}'
Response Response Example
{
"code": "0",
"data": [
{
"defaultValue": true,
"workflowName": "xxx",
"id": 1,
"workflowDesc": "xxx",
"states": [
{
"stateName": "xxx",
"stateDesc": "xxx",
"stateId": 1,
"stateCategory": 2
}
],
"issueTypes": [
{
"code": "xxx",
"name": "xxx",
"description": "xxx",
"id": 1
}
]
}
]
}
Request
Header Params
Content-Type
stringÂ
required
Example:
application/json
accessToken
stringÂ
required
Example:
{{accessToken}}
Body Params application/json
Responses
Modified at 2024-06-12 06:46:49