新建AST即时监测

方法:GET

https://network.tingyun.com/network-report-data/instant/config/launchAst-json-authkey

请求参数

字段名 类型 必填 选项 描述
authkey String -- 授权码
urls List 一个字符串内可传多个url,用分号分隔 'url1;url2' 即时监测URL
taskId int -- 选择的任务id
type int 15:AST高频监测 即时监测类型
taskOption String S:文件监测 即时监测选项
probeStr String 单条节点信息组成:接入方式,运营商,城市,节点数 多条节点信息以';'间隔 例如:9,17,483301,1;9,25,481101,1 已选择节点
probeIp String 多个以'\n'间隔 已选择节点IP
probeId String 多个以'\n'间隔 已选择节点ID
ipver int 0:任意 1:IPV6 2:IPV4 IP选项
postParameter String -- AST post内容
requestType int 0:GET,1:POST AST 请求方式
timeout int 默认120 超时时间

返回参数

字段名 类型 描述
group_id long 即时监测组ID
instant_ids List 即时监测数据ID列表
status int 状态码
data String 即时监测保存成功后的编号
message String 错误信息
error_code int 错误码
request String 请求路径
time Date 请求时间

错误说明

字段说明 错误信息
authkey PermissionDeniedError

返回示例

{
    "status": 200,
    "data": {
        "group_id": 15233,
        "instant_ids": [
            52204
        ],
        "token": null,
        "url": null
    },
    "message": "",
    "error_code": 0,
    "request": "",
    "time": "2021-08-10 16:05:38"
}
© 2007-2023 北京基调网络股份有限公司 all right reserved,powered by Gitbook本文档更新于: 2023-05-05 16:31

results matching ""

    No results matching ""