Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Sugar Network/API
(view source)
Revision as of 09:05, 20 February 2013
595 bytes added
,
09:05, 20 February 2013
→Usage statistics
Line 143:
Line 143:
* {{Code|event}}<br>event type.
* {{Code|event}}<br>event type.
+
+
=== Node statistics ===
+
+
While working, Sugar Network servers collect unpersonalized common, for this node, [[Platform_Team/Sugar_Network_Statistics|statistics]]. To read such data, call the command:
+
+
'''GET''' /?cmd='''stats'''&start=''SECONDS''&end=''SECONDS''&resolution=''SECONDS''&source=''STATS-NAME''
+
+
Where:
+
+
* {{Code|start}} and {{Code|end}} is a time interval to get statistics for;
+
* {{Code|resolution}}, number of seconds in one stats unit;
+
* {{Code|source}}, multiple argument to specify what [[Platform_Team/Sugar_Network_Statistics#Common_statistics|stats]] should be returned.
=== Usage statistics ===
=== Usage statistics ===
Alsroot
Bots
,
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
5,705
edits