api: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
Last revision Both sides next revision
api:graph:get [2011/08/09 07:45]
Eduards.Samersovs [Parameters]
api:graph:get [2012/06/02 20:24]
zalex_ua fixes for ZBX-5117: groupOutput -> groupCount
Line 2: Line 2:
 Available since version: **1.8**\\ Available since version: **1.8**\\
 This method allows you to retrieve graph details based on filtering options. This method allows you to retrieve graph details based on filtering options.
-All parameters are optional. If parameter is set in query this otion counted as ON, except if parameter is equal to NULL.+All parameters are optional. If parameter is set in query this option ​counted as ON, except if parameter is equal to NULL.
  
 ====Parameters==== ====Parameters====
Line 27: Line 27:
 |**select_items**|//​string//​|Select host items | Values: shorten, refer, extend| |**select_items**|//​string//​|Select host items | Values: shorten, refer, extend|
 |**select_graph_items**|//​string//​|Select graph items | Values: shorten, refer, extend| |**select_graph_items**|//​string//​|Select graph items | Values: shorten, refer, extend|
-|**countOutput**|//​integer//​|Count graphs, ​returned ​number of found graphs | | +|**countOutput**|//​integer//​|Count graphs, ​return the number of graphs ​found | | 
-|**groupOutput**|//​integer//​|Group result ​by passed ​IDs | |+|**groupCount**|//​integer//​|Return the number of results grouped ​by given IDs | |
 |**preservekeys**|//​integer//​|Return hash instead of array |Keys of hash are object IDs | |**preservekeys**|//​integer//​|Return hash instead of array |Keys of hash are object IDs |
 |**sortfield**|//​string//​|Sort by graph field |Values: graphid, name | |**sortfield**|//​string//​|Sort by graph field |Values: graphid, name |