Return Analog statistics for specified domain

This function returns a domain's Analog statistics.

SecurityBasicAuth
Request
query Parameters
domain
required
string <domain>

The domain from which to retrieve statistics.

Example: domain=example.com
engine
required
string

The statistics engine. analog is the only possible value.

Value: "analog"
Example: engine=analog
ssl
integer
Default: 1

Whether to return statistics from SSL requests.

  • 1 - Return statistics for SSL requests.
  • 0 - Return statistics for non-SSL requests.
Enum: 0 1
Example: ssl=1
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Stats/list_stats_by_domain
Request samples
uapi --output=jsonpretty \
  --user=username \
  Stats \
  list_stats_by_domain \
  engine='analog' \
  domain='example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "list_stats_by_domain",
  • "module": "Stats",
  • "result": {
    • "data": [
      • {
        • "date": 1565795929,
        • "url": "tmp/cptest/analog/8.html.com"
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}