List¶
GET /api/v1/dialing_task/list
Overview¶
Query Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
pageIndex | integer | Page number Can be empty: False Example: 1 $minValue: 1 |
|
pageSize | integer | Number of items per page Can be empty: False Example: 10 $minValue: 1 |
|
type | string | Testing type Can be empty: False Possible values: ['http', 'browser', 'tcp', 'icmp', 'websocket'] |
|
search | string | Testing name Can be empty: False |
|
dialingTypes | commaArray | Testing types (http, browser, tcp, icmp, websocket) Can be empty: False |
|
dialingStatus | commaArray | Testing status (ok, stop) Can be empty: False |
|
tagsUUID | commaArray | Tags UUID Can be empty: False |
|
frequency | commaArray | Testing frequency (1m, 5m, 15m, 30m, 1h, 6h, 12h, 24h) Can be empty: False |
Additional Parameter Notes¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/dialing_task/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--compressed
Response¶
{
"code": 200,
"content": [
{
"createAt": 1677723540,
"creator": "xx",
"creatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"deleteAt": -1,
"id": 19,
"regions": [
"reg_xxx9v0"
],
"status": 0,
"tagInfo": [],
"task": {
"advance_options": {
"auth": {
"password": "",
"username": ""
},
"request_options": {
"headers": {},
"timeout": ""
}
},
"frequency": "1m",
"message": "test123",
"name": "WEBSOCKET",
"status": "ok",
"success_when": [
{
"response_time": [
{
"target": "3ms"
}
]
}
],
"success_when_logic": "and",
"url": "ws://172.16.5.9:8080/echo"
},
"type": "websocket",
"updateAt": 1686035083,
"updator": "xx",
"updatorInfo": {
"uuid": "xx",
"status": 0,
"username": "xx",
"name": "xx",
"iconUrl": "",
"email": "xx",
"acntWsNickname": "xx"
},
"uuid": "dial_xxx2b5",
"workspaceUUID": "wksp_xxx115"
}
],
"errorCode": "",
"message": "",
"pageInfo": {
"count": 9,
"pageIndex": 1,
"pageSize": 100,
"totalCount": 9
},
"success": true,
"traceId": "TRACE-4415E8E2-99A2-41CC-BBB2-5AB5AE9CFE1F"
}