Statistics
Statistics settings can be received by the get operation. The stat node of the get response packet is defined by the siteStat data type (site.xsd
) and contains a collection of statistics data for the specified sites. This node is structured as follows:
- traffic, required
- It returns the site traffic (in bytes) spent during the current month. Data type: size (unsignedLong).
-
subdom, required
It holds the number of subdomains created. Data type: unsignedInt.
-
wu, required
It holds the number of web users created. Data type: unsignedInt.
-
box, required
It holds the number of email boxes created. Data type: unsignedInt.
-
redir, required
It returns the number of redirects created. Data type: unsignedInt.
-
mg, required
It returns the number of mailing groups created. Data type: unsignedInt.
-
resp, required
It returns the number of autoresponders created. Data type: unsignedInt.
-
maillists, required
It returns the number of mailing lists created. Data type: unsignedInt.
-
db, required
It holds the number of databases created. Data type: unsignedInt.
-
webapps, required
It returns the number of Java applications installed. Data type: unsignedInt.
-
traffic_prevday, required
It returns the site traffic (in bytes) spent during the previous day. Data type: unsignedLong.
The following snippet demonstrates how the statistics is returned: