Gateways
dateIntervalAnalytics
Get specific usage analytics for a date range and interval
Usage
Returns
Parameters
Filter response with the following additional methods.
domain
- Type:
string
Domain of the Gateway to get analytics for. Must be owned by the same account that is being authorized.
start
- Type:
string
Start date for the analytics query in the format YYYY-MM-DD
end
- Type:
string
End date for the analytics query in the format YYYY-MM-DD
interval
- Type:
day
|week
Aggregate results by either day
or week
intervals
sortBy (Optional)
- Type:
requests
|bandwidth
Sort results by either requests
or bandwidth
cid (Optional)
- Type:
string
Filter results by CID
fileName (Optional)
- Type:
string
Filter results by file name
userAgent (Optional)
- Type:
string
Filter results by a target user agent
country (Optional)
- Type:
string
Filter results by country
region (Optional)
- Type:
string
Filter results by a target region with the format lowercaseCountry - upperCaseRegion
referer (Optional)
- Type:
string
Filter results by a target referer
limit (Optional)
- Type:
number
Limit the number of results, default is 100
sort (Optional)
- Type:
asc
|desc
Sort the result values by either asc
or desc