文档
测试

获取主机设备列表

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

请求参数

参数名
类型
描述
必填
uid
string
示例:2
必填
token
string
示例:b510a23700e5d7e5eeb2c648aa534e9edee465f2o1609729430
必填
name
string
示例:测试
可选
ip
string
示例:127.0.0
可选
creator
string
示例:admin
可选
template
array
数据列表
可选
create_time
object
数据字典
可选
start
string
示例:2021-01-04 03:17:00
必填
end
string
示例:2021-01-04 03:17:30
必填
offset
int
过滤数据数量,默认无
可选
limit
int
查询数量限制,默认无
可选

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:请求成功
必填
result
array
数据列表
必填
id
int
示例:78
必填
name
string
示例:172.16.17.72
必填
ip
string
示例:172.16.17.72
必填
group
array
数据列表
必填
template
array
数据列表
必填
item_count
int
监控项数量,示例:400
必填
trigger_count
int
触发器数量,示例:212
必填
application_count
int
应用集数量,示例:1
必填
macro_count
int
宏,示例:2
必填
rule_count
int
规则,示例:1
必填
graph_count
int
图形,示例:5
必填
dashboard_count
int
聚合图形,示例:5
必填
creator
string
示例:Administrator
必填
create_time
string
示例:2021-01-06 07:33:09
必填
total
int
示例:65
必填