v1

latestOpenAPI 3.1.02026-07-245495176.5 KB
domain

Top values of specified column and interval

Returns values by interval and counts for specified column

post/domain/{domainId}/top_by_interval

Path parameters

domainIdinteger required

Domain identifier

Request body

column'path' | 'path_404' | 'method' | 'st' | 'proto' | 'human' | 'browser' | 'browser_version' | 'country' | 'city' | 'social' | 'refhost' | 'os' | 'utm_source' | 'utm_medium' | 'utm_campaign' | 'goal_completed' | 'ab_path' required

column for the aggregation

interval'hour' | 'day' | 'week' | 'month'

One of predefined time intervals

startDatestring date

Returns statistics for clicks after given date. Required if period is custom

endDatestring date

Returns statistics for clicks before given date. Required if period is custom

period'custom' | 'today' | 'yesterday' | 'total' | 'week' | 'month' | 'lastmonth' | 'last7' | 'last30'

One of predefined time intervals. Select custom to provide custom dates

tzstring

Timezone name

limitnumber

Response

top by interval response