基础设施相关接口/采集任务
GETInfrastructure起始版本 1.0同步需要认证
获取模板
获取特定采集配置模板ID。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
路径参数
请求参数
路径参数
idString必填资源ID。
响应状态
请求地址
GET/api/v1/collects/templates/{id}
/api/v1/collects/templates/{id}
请求示例
curl -X GET '{host}/api/v1/collects/templates/{id}' -H 'Authorization: Bearer {token}'
响应示例
200{
"id": "tmpl-nginx-001",
"name": "Nginx Access Log Collector",
"description": "Collects Nginx access logs and parses common log format",
"category": "web",
"author": "zstack",
"downloads": 120,
"rating": 4.5,
"config": null
}变更历史
此 API 暂无变更历史记录。
