manual:appendix:api:host:get

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
manual:appendix:api:host:get [2014/09/25 14:42]
sasha Page moved from 2.0:manual:appendix:api:host:get to manual:appendix:api:host:get
manual:appendix:api:host:get [2014/09/26 11:25]
sasha Links adapted because of a move operation
Line 58: Line 58:
 |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.\\ \\ Allows searching by interface properties. Works only with text fields. | |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.\\ \\ Allows searching by interface properties. Works only with text fields. |
 |sortfield|string/​array| Sort the result by the given properties. \\ \\ Possible values are: ''​hostid'',​ ''​host'',​ ''​name'',​ ''​status''​. ​ | |sortfield|string/​array| Sort the result by the given properties. \\ \\ Possible values are: ''​hostid'',​ ''​host'',​ ''​name'',​ ''​status''​. ​ |
-|countOutput|flag|These parameters being common for all ''​get''​ methods are described in detail on the [[2.0:manual:​appendix:​api:​generic#​common_get_method_parameters|Generic Zabbix API information]] page.  |+|countOutput|flag|These parameters being common for all ''​get''​ methods are described in detail on the [[manual:​appendix:​api:​generic#​common_get_method_parameters|Generic Zabbix API information]] page.  |
 | editable |boolean|:::​| | editable |boolean|:::​|
 | excludeSearch |flag|:::| | excludeSearch |flag|:::|
Line 274: Line 274:
 ==== See also ==== ==== See also ====
  
-  * [[2.0:manual:​appendix:​api:​hostgroup:​definitions#​object_details|Host group]] +  * [[manual:​appendix:​api:​hostgroup:​definitions#​object_details|Host group]] 
-  * [[2.0:manual:​appendix:​api:​template:​definitions#​object_details|Template]] +  * [[manual:​appendix:​api:​template:​definitions#​object_details|Template]] 
-  * [[2.0:manual:​appendix:​api:​usermacro:​definitions#​hosttemplate_level_macro|User macro]] +  * [[manual:​appendix:​api:​usermacro:​definitions#​hosttemplate_level_macro|User macro]] 
-  * [[2.0:manual:​appendix:​api:​hostinterface:​definitions#​host_interface|Host interface]]+  * [[manual:​appendix:​api:​hostinterface:​definitions#​host_interface|Host interface]]
  
 ==== Source ==== ==== Source ====
  
 CHost::​get() in //​frontends/​php/​api/​classes/​CHost.php//​. CHost::​get() in //​frontends/​php/​api/​classes/​CHost.php//​.