triggerprototype.get
The method allows to retrieve trigger prototypes 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
Retrieve trigger prototypes from an LLD rule
Retrieve all trigger prototypes and their functions from an LLD rule.
Request:
Retrieving a specific trigger prototype with tags
Request:
Response:
Source
CTriggerPrototype::get() in ui/include/classes/api/services/CTriggerPrototype.php.