组件名称:概览列表
组件样式:
组件说明:
普通列表返回格式。
请求方式:POST
https://doc.tingyun.com/sense/example/sense3List.json
参数:
字段 | 类型 | 描述 | 是否必选 |
---|---|---|---|
currentTime | Number | 当前时间戳 | 是 |
token | String | 盐值,校验规则为md5(timePeriod+currentTime+ 配置的token), 例如:timePeriod为30,currentTime为 1513137332798,token为abc,则应对 301513137332798abc进行md5 |
否 |
timePeriod | Number | 时间范围分钟数 | 是 |
正确响应数据:
字段 | 类型 | 描述 |
---|---|---|
status | Number | 状态码 |
series | Object[] | |
header | Object[] | 列表header |
list | Object[] | 列表数据 |
other | Object[] | 其它数据(可选字段) |
name | String | 指标名称 |
value | Number | 指标值 |
示例:
HTTP/1.1 200 OK
{
"status": 200,
"series": [
{
"header": [
{"key1":"健康度"},
{"key2":"业务系统"},
{"key3":"响应时间"},
{"key4":"吞吐率"},
{"key5":"峰值吞吐率"}
],
"list": [
{"key1":"良好","key2":80,"key3":"卡顿","key4":"12%","key5":"12%"},
{"key1":"一般","key2":80,"key3":"崩溃","key4":"12%","key5":"12%"},
{"key1":"严重","key2":80,"key3":"想用时间","key4":"12%","key5":"12%"},
],
"other":[
{"name":"总任务数","value":155},
{"name":"任务类型数","value":"33ms"},
]
}
]
}