列表自动发现配置¶
GET /api/v1/issue_auto_discovery/list
概述¶
Query 请求参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
dqlNamespace | string | 数据范围,多值以英文逗号分隔 例子: keyevent 允许为空: False |
|
isDisable | string | 筛选条件 例子: [] 允许为空: False 可选值: ['true', 'false'] |
|
search | string | 根据规则名称搜索 例子: xxxxx_text 允许为空: False 允许为空字符串: True |
|
pageSize | integer | 每页返回数量 允许为空: False 例子: 10 |
|
pageIndex | integer | 页码 允许为空: False 例子: 10 |
参数补充说明¶
请求例子¶
curl 'https://openapi.guance.com/api/v1/issue_auto_discovery/list?search=test' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--insecure
响应¶
{"code":200,"content":{"data":[{"conditions":"`df_fault_id` = \\"event-xxxxxx\\"","config":{"channelUUIDs":["chan_xxxxx","chan_xxxxx"],"description":"desc<span data-at-embedded=\\"\\" data-insert-by=\\"@\\" data-info=\\"{"item":{"uuid":"acnt_xxxx","name":"gtf"}}\\" contenteditable=\\"false\\"> <span data-v-18fda946=\\"\\"><span data-v-18fda946=\\"\\" class=\\"key-word\\">@feifei</span></span> </span><span data-at-embedded=\\"\\" data-insert-by=\\"#\\" data-info=\\"{"item":{"uuid":"chan_xxxxx","name":"gary-test-0805"}}\\" contenteditable=\\"false\\"> <span data-v-18fda946=\\"\\"><span data-v-18fda946=\\"\\"><span data-v-18fda946=\\"\\" class=\\"key-word\\">#gary-test-0805</span></span></span> </span><span data-at-embedded=\\"\\" data-insert-by=\\"{{\\" data-info=\\"{"item":{"uuid":"","name":"df_fault_id"}}\\" contenteditable=\\"false\\"> <span data-v-18fda946=\\"\\"><span data-v-18fda946=\\"\\" class=\\"key-word\\">{{df_fault_id}}</span></span> </span>","extend":{"channels":[{"name":"gary-test-0805","type":"#","uuid":"chan_xxxxx"}],"manager":["group_xxxx"],"members":[{"name":"gtf","type":"@","uuid":"acnt_xxxx"}],"templates":["df_fault_id"],"text":"desc @feifei #gary-test-0805 {{df_fault_id}}"},"level":"isslm_xxxxx","name":"123456"},"createAt":1724037276,"creator":"acnt_xxxx","creatorInfo":{"acntWsNickname":"feifei","email":"xxx@xxx.com","iconUrl":"","mobile":"","name":"gtf","status":0,"username":"xxx@xxx.com","uuid":"acnt_xxxx","wsAccountStatus":0},"deleteAt":-1,"description":"123","dimensions":["df_fault_id","df_label","host"],"dqlNamespace":"keyevent","every":300,"id":8,"name":"gary-test-0819gary-test-0819","status":2,"updateAt":1725351809,"updator":"acnt_xxxx","updatorInfo":{"acntWsNickname":"","email":"xx@xx.com","iconUrl":"","mobile":"13900079876","name":"hzyyasdaw","status":0,"username":"xx@xx.com","uuid":"acnt_xxxx","wsAccountStatus":0},"uuid":"iatdc_xxxx","workspaceUUID":"wksp_xxxxxxx"}],"declaration":{"organization":"xxx"}},"errorCode":"","message":"","pageInfo":{"count":1,"pageIndex":1,"pageSize":20,"totalCount":1},"success":true,"traceId":"18175587987203682138"}