跳转至

获取拨测任务详情



GET /api/v1/dialing_task/{task_uuid}/get

概述

路由参数

参数名 类型 必选 说明
task_uuid string Y 云拨测任务的ID

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/dialing_task/dial_011172d3ce454f5582a49e3ec84e82b5/get' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--compressed

响应

{
    "code": 200,
    "content": {
        "createAt": 1677723540,
        "creator": "acnt_349ee5f70a89442fa94b4f754b5acbfe",
        "deleteAt": -1,
        "id": 19,
        "regions": [
            "reg_c8k45js4c5rgnqh709v0"
        ],
        "status": 0,
        "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": "acnt_349ee5f70a89442fa94b4f754b5acbfe",
        "uuid": "dial_011172d3ce454f5582a49e3ec84e82b5",
        "workspaceUUID": "wksp_ed134a6485c8484dbd0e58ce9a9c6115"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-9575177F-1CF3-4BB8-A8D1-72F5E312B3B6"
} 

文档评价

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