Issue-等级 列出¶
GET /api/v1/issue-level/list
概述¶
参数补充说明¶
该接口 列出的为 空间默认等级和空间的自定义等级(不包含管理后台配置的全局等级)
请求例子¶
curl 'https://openapi.guance.com/api/v1/issue-level/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed
响应¶
{
"code": 200,
"content": [
{
"color": "#E94444",
"description": "默认等级配置",
"isDefault": true,
"name": "P0",
"uuid": "system_level_0"
},
{
"color": "#FF7931",
"description": "默认等级配置",
"isDefault": true,
"name": "P1",
"uuid": "system_level_1"
},
{
"color": "#FFB44A",
"description": "默认等级配置",
"isDefault": true,
"name": "P2",
"uuid": "system_level_2"
},
{
"color": "#C9C9C9",
"description": "默认等级配置",
"isDefault": true,
"name": "P3",
"uuid": "system_level_3"
},
{
"color": "#E94444",
"createAt": 1694593524,
"creator": "acnt_xxxx32",
"deleteAt": -1,
"description": "自定义等级描述2",
"extend": {},
"id": 3,
"isDefault": false,
"name": "custom-1",
"status": 0,
"updateAt": 1694593524,
"updator": "acnt_xxxx32",
"uuid": "issl_xxxx32",
"workspaceUUID": "wksp_xxxx32"
}
],
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-2FDDC63E-17AE-41ED-AE63-D2DF2E7BCD51"
}