사용자 정의 레벨 수정¶
POST /api/v1/issue-level/{issue_level_uuid}/modify
개요¶
경로 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| issue_level_uuid | string | Y | issue_level_uuid |
Body 요청 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| name | string | 사용자 정의 레벨 이름 예시: name Null 허용: False 최대 길이: 256 |
|
| description | string | 사용자 정의 레벨 설명 예시: description Null 허용: False |
|
| extend | json | 추가 확장 정보 예시: {} Null 허용: True |
|
| color | string | 사용자 정의 레벨 색상 예시: description Null 허용: False |
매개변수 추가 설명¶
요청 예시¶
curl 'https://openapi.guance.com/api/v1/issue-level/<issue_level_uuid>/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"name": "custom-1","color": "#E94444","description": "Custom Level Description2"}'\
--compressed
응답¶
{
"code": 200,
"content": {
"color": "#E94444",
"createAt": 1694593524,
"creator": "acnt_xxxx32",
"deleteAt": -1,
"description": "Custom Level Description2",
"extend": {},
"id": 3,
"name": "custom-1",
"status": 0,
"updateAt": 1694593524,
"updator": "acnt_xxxx32",
"uuid": "issl_xxxx32",
"workspaceUUID": "wksp_xxxx32"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-2B1E09C8-2401-4C52-ABF9-093CC9873742"
}