Get Template

Get Template
Get a Monitoring Template by id

Looks up a single Monitoring Template by its identifier.

Request
URI
GET
https://{api_host}/suite-api/api/applications/templates/{id}
COPY
Path Parameters
string
id
Required  

Identifier of the Monitoring Template


Authentication
This operation uses the following authentication methods.
Responses
200

The Monitoring Template

Returns MonitoringTemplate of type(s) application/json
"{\n  \"id\" : \"b7e2c4a1-9d3e-4f6a-8c2b-1e5d7f9a3c0e\",\n  \"name\" : \"Database Service Monitoring Template\",\n  \"description\" : \"Monitors PostgreSQL availability\",\n  \"customGroups\" : [ \"a1f2e3d4-5b6c-4d7e-8f9a-0b1c2d3e4f5a\" ],\n  \"services\" : [ {\n    \"serviceName\" : \"serviceavailability\",\n    \"configurations\" : [ {\n      \"configName\" : \"PostgreSQL Service Check\",\n      \"isActivated\" : true,\n      \"parameters\" : [ {\n        \"key\" : \"FILTER_VALUE\",\n        \"value\" : \"postgresql\"\n      } ]\n    } ]\n  } ]\n}"
array of string
customGroups
Optional

Identifiers of the Custom Groups this template is mapped to

string
description
Optional

The description of the monitoring template

string As uuid As uuid
id
Optional

Identifier of the monitoring template

string As ^[A-Za-z0-9_]+$
name
Required  

The name of the monitoring template - alphanumeric characters and underscores only

array of object
services
Required  
Constraints: minItems: 1

The Plugin configuration carried by this template


404

No Monitoring Template exists with the given id

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/suite-api/api/applications/templates/{id}