文档
测试

创建图形

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

接口描述

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

请求头

参数名
类型
描述
必填
Content-Type
string
示例:application/json
必填

请求参数

参数名
类型
描述
必填
uid
int
示例:6
必填
token
string
示例:e37afe96bdb2f6968ff0a0eba55cd65eb4be998bo1610681127
必填
name
string
标题,示例:测试
必填
width
string
宽,示例:200px
必填
height
string
高,示例:200px
必填
item_id
int
监控项ID,必须是改主机下的监控项ID,示例:8375
必填

响应参数

参数名
类型
描述
必填
jsonrpc
string
示例:2.0
必填
id
object
示例:null
必填
result
object
数据字典
必填
code
string
示例:201
必填
msg
string
示例:创建成功
必填
result
int
示例:1
必填