Skip to content

List Levels



GET /api/v1/issue-level/list

Overview

Additional Parameter Description

This interface lists the workspace's default levels and custom levels (excluding globally configured levels from the admin backend).

Request Example

curl 'https://openapi.guance.com/api/v1/issue-level/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed

Response

{
    "code": 200,
    "content": [
        {
            "color": "#E94444",
            "description": "Default Level Configuration",
            "isDefault": true,
            "name": "P0",
            "uuid": "system_level_0"
        },
        {
            "color": "#FF7931",
            "description": "Default Level Configuration",
            "isDefault": true,
            "name": "P1",
            "uuid": "system_level_1"
        },
        {
            "color": "#FFB44A",
            "description": "Default Level Configuration",
            "isDefault": true,
            "name": "P2",
            "uuid": "system_level_2"
        },
        {
            "color": "#C9C9C9",
            "description": "Default Level Configuration",
            "isDefault": true,
            "name": "P3",
            "uuid": "system_level_3"
        },
        {
            "color": "#E94444",
            "createAt": 1694593524,
            "creator": "acnt_xxxx32",
            "deleteAt": -1,
            "description": "Custom Level Description2",
            "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"
} 

Feedback

Is this page helpful? ×