文档
测试

获取图形列表

GET
http://172.16.14.11:8069/api/v1/hosts/host/79/graph

接口描述

/api/v1/hosts/host/<int:host_id>/graph

请求参数

参数名
类型
描述
必填
uid
string
uid
必填
token
string
token
必填
name
string
标题
可选
creator
string
创建人
可选
create_time
dict
创建时间
可选
start
string
开始时间
必填
end
string
结束时间
必填
offset
int
可选
limit
int
可选

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:请求成功
必填
result
array
数据列表
必填
id
int
图形id,示例:1
必填
name
string
标题,示例:测试修改
必填
width
string
宽,示例:240px
必填
height
string
高,示例:240px
必填
item_id
int
监控项ID,示例:8376
必填
total
int
示例:1
必填