文档
测试

获取宏列表

GET
http://172.16.14.11:8069/api/v1/hosts/template/3/macroPrototype

接口描述

/api/v1/hosts/template/<int:template_id>/macroPrototype

请求参数

参数名
类型
描述
必填
uid
string
用户uid
必填
token
string
用户授权码
必填
macro
string
宏字符
可选
value
string
对应值
可选
offset
int
可选
limit
int
可选

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:请求成功
必填
result
array
数据列表
必填
id
int
记录ID,示例:4
必填
macro
string
宏字符,示例:{$HOST}
必填
value
string
对应值,示例:SZPDC
必填
total
int
总数,示例:1
必填