Changes

Jump to navigation Jump to search
31 bytes added ,  05:01, 14 November 2013
Line 184: Line 184:  
While working, Sugar Network servers collect depersonalized and common [[Sugar_Network/Node_Statistics|statistics]]. To read such info, call the command:
 
While working, Sugar Network servers collect depersonalized and common [[Sugar_Network/Node_Statistics|statistics]]. To read such info, call the command:
   −
  '''GET''' /?cmd='''stats'''&start=''SECONDS''&end=''SECONDS''&resolution=''SECONDS''&source=''STATS-NAME''
+
  '''GET''' /?cmd='''stats'''&start=''SECONDS''&end=''SECONDS''&records=''NUMBER''&source=''STATS-NAME''
    
Where:
 
Where:
    
* {{Code|start}} and {{Code|end}} is a time interval to get statistics for;
 
* {{Code|start}} and {{Code|end}} is a time interval to get statistics for;
* {{Code|resolution}}, number of seconds in one stats unit;
+
* {{Code|records}}, number of stat records to return for {{Code|start}}-{{Code|end}} interval;
 
* {{Code|source}}, multiple argument to specify what [[Sugar_Network/Node_Statistics#Common_statistics|stats]] should be returned.
 
* {{Code|source}}, multiple argument to specify what [[Sugar_Network/Node_Statistics#Common_statistics|stats]] should be returned.
  

Navigation menu