manual:api:reference:graph: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 Both sides next revision
manual:api:reference:graph:get [2014/09/25 14:41]
sasha Page moved from 2.2:manual:api:reference:graph:get to manual:api:reference:graph:get
manual:api:reference:graph:get [2014/09/26 11:25]
sasha Links adapted because of a move operation
Line 32: Line 32:
 | filter | object | Return only those results that exactly match the given filter.\\ \\ Accepts an array, where the keys are property names, and the values are either a single value or an array of values to match against. \\ \\ Supports additional filters: \\ ''​host''​ - technical name of the host that the graph belongs to; \\ ''​hostid''​ - ID of the host that the graph belongs to. | | filter | object | Return only those results that exactly match the given filter.\\ \\ Accepts an array, where the keys are property names, and the values are either a single value or an array of values to match against. \\ \\ Supports additional filters: \\ ''​host''​ - technical name of the host that the graph belongs to; \\ ''​hostid''​ - ID of the host that the graph belongs to. |
 | sortfield | string/​array | Sort the result by the given properties. \\ \\ Possible values are: ''​graphid'',​ ''​name''​ and ''​graphtype''​. ​ | | sortfield | string/​array | Sort the result by the given properties. \\ \\ Possible values are: ''​graphid'',​ ''​name''​ and ''​graphtype''​. ​ |
-| countOutput |flag|These parameters being common for all ''​get''​ methods are described in detail in the [[2.2:manual:​api:​reference_commentary#​common_get_method_parameters|reference commentary]] page.  |+| countOutput |flag|These parameters being common for all ''​get''​ methods are described in detail in the [[manual:​api:​reference_commentary#​common_get_method_parameters|reference commentary]] page.  |
 | editable |boolean|:::​| | editable |boolean|:::​|
 | excludeSearch |flag|:::| | excludeSearch |flag|:::|
Line 167: Line 167:
 ==== See also ==== ==== See also ====
  
-  * [[2.2:​manual:​api:​reference:​graph:​getobjects|graph.getobjects]] +  * [[getobjects|graph.getobjects]] 
-  * [[2.2:manual:​api:​reference:​discoveryrule:​object#​discovery_rule|Discovery rule]] +  * [[manual:​api:​reference:​discoveryrule:​object#​discovery_rule|Discovery rule]] 
-  * [[2.2:manual:​api:​reference:​graphitem:​object#​graph_item|Graph item]] +  * [[manual:​api:​reference:​graphitem:​object#​graph_item|Graph item]] 
-  * [[2.2:manual:​api:​reference:​item:​object#​item|Item]] +  * [[manual:​api:​reference:​item:​object#​item|Item]] 
-  * [[2.2:manual:​api:​reference:​host:​object#​host|Host]] +  * [[manual:​api:​reference:​host:​object#​host|Host]] 
-  * [[2.2:manual:​api:​reference:​hostgroup:​object#​host_group|Host group]] +  * [[manual:​api:​reference:​hostgroup:​object#​host_group|Host group]] 
-  * [[2.2:manual:​api:​reference:​template:​object#​template|Template]]+  * [[manual:​api:​reference:​template:​object#​template|Template]]
  
 ==== Source ==== ==== Source ====
  
 CGraph::​get() in //​frontends/​php/​api/​classes/​CGraph.php//​. CGraph::​get() in //​frontends/​php/​api/​classes/​CGraph.php//​.