Stats
Domain Statistics
Return Analog statistics for all domains
This function displays the Analog statistics for the domains on a cPanel account.
get/Stats/list_sites
Query parameters
engine'webalizer' | 'analog' required
Example:webalizer
The statistics engine.
- webalizer
- analog
traffic'http' | 'ftp'
Example:http
The web traffic type.
- http
- ftp
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "list_sites",
"module": "Stats",
"result": {
"data": [
{
"all_domains": 1,
"domain": "example.com",
"path": "/tmp/user/webalizer/index.html",
"ssl": 1
}
],
"status": 1
}
}