Skip to content

Commit 65bbafa

Browse files
Add 'interval' parameter to stats API documentation
1 parent 8fd5c5f commit 65bbafa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_docs/50_api/15_stats-api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ The complete list of all query params you can use with the latest Stats API.
3939
- `info` shows more information about fields in the response (defaults to true)
4040
- `callback` wraps the response in a callback for [JSONP](https://en.wikipedia.org/wiki/JSONP)
4141
- [`events` a list of specified events and how much they occurred](#events)
42+
- `interval` either `hour`, `day`, `week`, `month`, or `year` (`hour` added in version 6)
4243
- `fields` a comma seperated list of fields you want to get returned:
4344
- `pageviews` the total amount of page views in the specified period
4445
- `visitors` the total amount of visitors (unique page views) in the specified period

0 commit comments

Comments
 (0)