manual:api:reference:trigger:get

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:api:reference:trigger:get [2020/11/04 09:06]
Andrejs.Griscenko [ZBXNEXT-6148] added a note about who can call this method
manual:api:reference:trigger:get [2021/01/27 21:18] (current)
Line 41: Line 41:
 | min_severity | integer | Return only triggers with severity greater or equal than the given severity. | | min_severity | integer | Return only triggers with severity greater or equal than the given severity. |
 | evaltype | integer | Rules for tag searching. \\ \\ Possible values: \\ 0 - (default) And/Or; \\ 2 - Or.        | | evaltype | integer | Rules for tag searching. \\ \\ Possible values: \\ 0 - (default) And/Or; \\ 2 - Or.        |
-| tags | array of objects | Return only triggers with given tags. Exact match by tag and case-sensitive or case-insensitive search by tag value depending on operator value. \\ Format: ''<​nowiki>​[{"​tag":​ "<​tag>",​ "​value":​ "<​value>",​ "​operator":​ "<​operator>"​},​ ...]</​nowiki>''​.\\ An empty array returns all triggers. \\ \\ Possible operator types: \\ 0 - (default) Like; \\ 1 - Equal.|+| tags | array of objects | Return only triggers with given tags. Exact match by tag and case-sensitive or case-insensitive search by tag value depending on operator value. \\ Format: ''<​nowiki>​[{"​tag":​ "<​tag>",​ "​value":​ "<​value>",​ "​operator":​ "<​operator>"​},​ ...]</​nowiki>''​.\\ An empty array returns all triggers. \\ \\ Possible operator types: \\ 0 - (default) Like; \\ 1 - Equal; \\ 2 - Not like; \\ 3 - Not equal \\ 4 - Exists; \\ 5 - Not exists.|
 ^ ||| ^ |||
 | expandComment | flag | Expand macros in the trigger description. | | expandComment | flag | Expand macros in the trigger description. |