template.get
The method allows to retrieve templates according to the given parameters.
This method is available to users of any type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
Parameters
(object)
Parameters defining the desired output.
Returns either:
- an array of objects;
Examples
Retrieving templates by name
Retrieve all data about two templates named “Linux” and “Windows”.
Request:
Searching by template tags
Retrieve templates that have tag “Host name” equal to “{HOST.NAME}”.
Request:
Response: