Sugar Network/API: Difference between revisions

Line 189: Line 189:


* {{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|records}}, number of stat records to return for {{Code|start}}-{{Code|end}} interval;
* {{Code|records}}, number of stat records to return for the {{Code|start}}-{{Code|end}} interval; note that this amount is not precise, the final resultset might be smaller or bigger depending on chosen resolution; stats resolution depends on node configuration, default values are 1 day, 10 days, 30 days, 366 days;
* {{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.