Zabbix Documentation 3.2

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:api:reference_commentary

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference_commentary [2017/11/10 06:26]
martins-v referenced property -> referenced object
manual:api:reference_commentary [2018/03/16 06:49] (current)
martins-v 'search' is case insensitive
Line 41: Line 41:
 |output ​ |query |Object properties to be returned. \\ \\ Default: ''​extend''​. ​ | |output ​ |query |Object properties to be returned. \\ \\ Default: ''​extend''​. ​ |
 |preservekeys ​ |flag |Use IDs as keys in the resulting array. ​ | |preservekeys ​ |flag |Use IDs as keys in the resulting array. ​ |
-|search ​ |object |Return results that match the given wildcard search.\\ \\ Accepts an array, where the keys are property names, and the values are strings to search for. If no additional options are given, this will perform a ''​LIKE "​%…%"''​ search.\\ \\ Works only for ''​string''​ and ''​text''​ fields. |+|search ​ |object |Return results that match the given wildcard search ​(case-insensitive).\\ \\ Accepts an array, where the keys are property names, and the values are strings to search for. If no additional options are given, this will perform a ''​LIKE "​%…%"''​ search.\\ \\ Works only for ''​string''​ and ''​text''​ fields. |
 |searchByAny ​ |boolean | If set to ''​true''​ return results that match any of the criteria given in the ''​filter''​ or ''​search''​ parameter instead of all of them.  \\ \\ Default: ''​false''​. ​ | |searchByAny ​ |boolean | If set to ''​true''​ return results that match any of the criteria given in the ''​filter''​ or ''​search''​ parameter instead of all of them.  \\ \\ Default: ''​false''​. ​ |
 |searchWildcardsEnabled ​ |boolean | If set to ''​true''​ enables the use of "​*"​ as a wildcard character in the ''​search''​ parameter. ​ \\ \\ Default: ''​false''​. | |searchWildcardsEnabled ​ |boolean | If set to ''​true''​ enables the use of "​*"​ as a wildcard character in the ''​search''​ parameter. ​ \\ \\ Default: ''​false''​. |