获取实时监控
GET /monitor/stream/realtime
获取实时监控
请求
请求方式
GET
请求头
请求头
请求内容
说明
api-key
api_key
api_key
api-secret
api_secret
api_secret
参数类型
Query String
请求参数说明
字段名
字段类型
是否必填
字段说明
type
str
类型(stream-bandwidth)
start
str
开始时间
end
str
结束时间
port
int
监听端口
调用示例
curl "/monitor/stream/realtime?type=stream-bandwidth&start=2022-04-09%2006:03:59&end=2022-04-09%2012:03:59&port=" -H "api-key:xxxxxxx" -H "api-secret:xxxxxxx"
响应
响应示例
{
  "code": 0,
  "data": [
    [
      1649461200000,
      0
    ],
    [
      1649461320000,
      0
    ],
    [
      1649461440000,
      0
    ],
    [
      1649461560000,
      0
    ],
    [
      1649461680000,
      0
    ],
    [
      1649461800000,
      0
    ],
    [
      1649461920000,
      0
    ],
    [
      1649462040000,
      0
    ],
    [
      1649462160000,
      0
    ],
    [
      1649462280000,
      0.025
    ],
    [
      1649462400000,
      0
    ],
    [
      1649462520000,
      0
    ],
    [
      1649462640000,
      0
    ],
    [
      1649462760000,
      0
    ],
    [
      1649462880000,
      0
    ],
    [
      1649463000000,
      0
    ],
    [
      1649463120000,
      0
    ],
    [
      1649463240000,
      0
    ],
    [
      1649463360000,
      0
    ],
    [
      1649463480000,
      0
    ],
    [
      1649463600000,
      0
    ],
    [
      1649463720000,
      0
    ],
    [
      1649463840000,
      0
    ],
    [
      1649463960000,
      0
    ],
    [
      1649464080000,
      0.075
    ],
    [
      1649464200000,
      0
    ],
    [
      1649464320000,
      0
    ],
    [
      1649464440000,
      0
    ],
    [
      1649464560000,
      0
    ],
    [
      1649464680000,
      0
    ],
    [
      1649464800000,
      0
    ],
    [
      1649464920000,
      0
    ],
    [
      1649465040000,
      0
    ],
    [
      1649465160000,
      0
    ],
    [
      1649465280000,
      0
    ],
    [
      1649465400000,
      0
    ],
    [
      1649465520000,
      0
    ],
    [
      1649465640000,
      0
    ],
    [
      1649465760000,
      0
    ],
    [
      1649465880000,
      0
    ],
    [
      1649466000000,
      0
    ],
    [
      1649466120000,
      0
    ],
    [
      1649466240000,
      0
    ],
    [
      1649466360000,
      0
    ],
    [
      1649466480000,
      0
    ],
    [
      1649466600000,
      0
    ],
    [
      1649466720000,
      0
    ],
    [
      1649466840000,
      0
    ],
    [
      1649466960000,
      0
    ],
    [
      1649467080000,
      0
    ],
    [
      1649467200000,
      0
    ],
    [
      1649467320000,
      0
    ],
    [
      1649467440000,
      0
    ],
    [
      1649467560000,
      0
    ],
    [
      1649467680000,
      0
    ],
    [
      1649467800000,
      0
    ],
    [
      1649467920000,
      0
    ],
    [
      1649468040000,
      0
    ],
    [
      1649468160000,
      0
    ],
    [
      1649468280000,
      0
    ],
    [
      1649468400000,
      0
    ],
    [
      1649468520000,
      0
    ],
    [
      1649468640000,
      0
    ],
    [
      1649468760000,
      0
    ],
    [
      1649468880000,
      0
    ],
    [
      1649469000000,
      0
    ],
    [
      1649469120000,
      0
    ],
    [
      1649469240000,
      0
    ],
    [
      1649469360000,
      0
    ],
    [
      1649469480000,
      0
    ],
    [
      1649469600000,
      0
    ],
    [
      1649469720000,
      0
    ],
    [
      1649469840000,
      0
    ],
    [
      1649469960000,
      0
    ],
    [
      1649470080000,
      0
    ],
    [
      1649470200000,
      0
    ],
    [
      1649470320000,
      0
    ],
    [
      1649470440000,
      0
    ],
    [
      1649470560000,
      0
    ],
    [
      1649470680000,
      0
    ],
    [
      1649470800000,
      0
    ],
    [
      1649470920000,
      0
    ],
    [
      1649471040000,
      0
    ],
    [
      1649471160000,
      0
    ],
    [
      1649471280000,
      0
    ],
    [
      1649471400000,
      0
    ],
    [
      1649471520000,
      0
    ],
    [
      1649471640000,
      0
    ],
    [
      1649471760000,
      0
    ],
    [
      1649471880000,
      0
    ],
    [
      1649472000000,
      0
    ],
    [
      1649472120000,
      0
    ],
    [
      1649472240000,
      0
    ],
    [
      1649472360000,
      0
    ],
    [
      1649472480000,
      0.025
    ],
    [
      1649472600000,
      0
    ],
    [
      1649472720000,
      0
    ],
    [
      1649472840000,
      0
    ],
    [
      1649472960000,
      0
    ],
    [
      1649473080000,
      0
    ],
    [
      1649473200000,
      0
    ],
    [
      1649473320000,
      0.025
    ],
    [
      1649473440000,
      0
    ],
    [
      1649473560000,
      0
    ],
    [
      1649473680000,
      0
    ],
    [
      1649473800000,
      0
    ],
    [
      1649473920000,
      0
    ],
    [
      1649474040000,
      0
    ],
    [
      1649474160000,
      0
    ],
    [
      1649474280000,
      0
    ],
    [
      1649474400000,
      0
    ],
    [
      1649474520000,
      0
    ],
    [
      1649474640000,
      0
    ],
    [
      1649474760000,
      0
    ],
    [
      1649474880000,
      0
    ],
    [
      1649475000000,
      0
    ],
    [
      1649475120000,
      0
    ],
    [
      1649475240000,
      0
    ],
    [
      1649475360000,
      0
    ],
    [
      1649475480000,
      0
    ],
    [
      1649475600000,
      0
    ],
    [
      1649475720000,
      0
    ],
    [
      1649475840000,
      0
    ],
    [
      1649475960000,
      0
    ],
    [
      1649476080000,
      0
    ],
    [
      1649476200000,
      0
    ],
    [
      1649476320000,
      0
    ],
    [
      1649476440000,
      0
    ]
  ],
  "msg": ""
}
响应参数说明
字段名
字段说明
code
状态码(0正常)
msg
消息
data
数据