콘텐츠로 이동

인시던트 댓글 조회



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

개요

경로 매개변수

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

쿼리 요청 매개변수

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

매개변수 추가 설명

요청 예시

curl 'https://openapi.guance.com/api/v1/incidents/comment/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_xxxx",
                "workspaceUUID": "wksp_xxxx",
                "comment": "aaaaa<div><br></div>",
                "extend": {
                    "links": [],
                    "members": []
                },
                "id": 33,
                "uuid": "inccmt_xxx",
                "status": 0,
                "creator": "acnt_xxx",
                "updator": "",
                "createAt": 1768964545,
                "deleteAt": -1,
                "updateAt": -1,
                "creatorInfo": {
                    "uuid": "acnt_xxx",
                    "status": 0,
                    "wsAccountStatus": 0,
                    "username": "xxx",
                    "name": "xxx",
                    "iconUrl": "",
                    "email": "xxx",
                    "mobile": "xxxx",
                    "acntWsNickname": ""
                },
                "updatorInfo": {},
                "attachments": []
            }
        ],
        "pageInfo": {
            "pageIndex": 1,
            "pageSize": 20,
            "count": 1,
            "totalCount": 1
        }
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "xxxxx"
}

문서 평가

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