Infrastructure/Collects
GETInfrastructureSince 1.0SynchronousAuth Required
GetTemplate
Get a specific collect configuration template by ID.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
idStringRequiredUnique identifier of the template to retrieve
Responses
Endpoint
GET/api/v1/collects/templates/{id}
/api/v1/collects/templates/{id}
Request Example
curl -X GET '{host}/api/v1/collects/templates/{id}' -H 'Authorization: Bearer {token}'
Response Example
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
}Change History
This API has no change history records yet.
