콘텐츠로 이동

인시던트 작업 기록 조회



GET /api/v1/incidents/operate/{incident_uuid}/list

개요

라우트 매개변수

매개변수명 유형 필수 설명
incident_uuid string Y 인시던트 UUID
빈 값 허용: False

Query 요청 매개변수

매개변수명 유형 필수 설명
pageSize integer 페이지당 반환 개수
빈 값 허용: False
예시: 10
pageIndex integer 페이지 번호
빈 값 허용: False
예시: 1

매개변수 추가 설명

요청 예시

curl 'https://openapi.guance.com/api/v1/incidents/operate/incident_xxxx/list?pageIndex=1&pageSize=20' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--compressed

응답

{
    "code": 200,
    "content": {
        "data": [
            {
                "incidentsUUID": "incident_xxx",
                "workspaceUUID": "wksp_xxx",
                "content": "상태 변경: open -> working",
                "extend": {
                    "after": "working",
                    "before": "open",
                    "after_info": {},
                    "before_info": {}
                },
                "operator": "acnt_xxx",
                "operateType": "status_update",
                "id": 436,
                "uuid": "incop_xxxx",
                "status": 0,
                "creator": "SYS",
                "updator": "",
                "createAt": 1768973255,
                "deleteAt": -1,
                "updateAt": -1,
                "creatorInfo": {
                    "uuid": "",
                    "status": 0,
                    "name": "SYS",
                    "wsAccountStatus": 0,
                    "username": "SYS",
                    "email": "SYS",
                    "mobile": ""
                },
                "updatorInfo": {},
                "operatorInfo": {
                    "uuid": "acnt_xxxx",
                    "status": 0,
                    "wsAccountStatus": 0,
                    "username": "xxx",
                    "name": "xxx",
                    "iconUrl": "",
                    "email": "xxx",
                    "mobile": "",
                    "acntWsNickname": ""
                }
            },
            {
                "incidentsUUID": "incident_xxx",
                "workspaceUUID": "wksp_xxx",
                "content": "새 인시던트가 트리거되었습니다",
                "extend": {},
                "operator": "Obsy",
                "operateType": "create",
                "id": 435,
                "uuid": "incop_xxx",
                "status": 0,
                "creator": "SYS",
                "updator": "",
                "createAt": 1768926015,
                "deleteAt": -1,
                "updateAt": -1,
                "creatorInfo": {
                    "uuid": "",
                    "status": 0,
                    "name": "SYS",
                    "wsAccountStatus": 0,
                    "username": "SYS",
                    "email": "SYS",
                    "mobile": ""
                },
                "updatorInfo": {},
                "operatorInfo": {
                    "uuid": "Obsy",
                    "status": 0,
                    "name": "Obsy",
                    "wsAccountStatus": 0,
                    "username": "Obsy",
                    "email": "Obsy",
                    "mobile": ""
                }
            }
        ],
        "pageInfo": {
            "pageIndex": 1,
            "pageSize": 20,
            "count": 2,
            "totalCount": 2
        }
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "xxx"
}

문서 평가

이 페이지가 도움이 되었나요?