跳转至

故障评论 查询



GET /api/v1/incidents/comment/{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/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"
} 

文档评价

文档内容是否对您有帮助? ×