/metrics/daily
The following methods are supported on this resource:
Mount Points
The following URLs are examples of where this resource is mounted :
| XML: | http://api.hi5.com |
| *JSON: | http://api.hi5.com |
| *JSON endpoints are mounted read-only. | |
read
Provides daily metrics for one or several applications. This call will show break down of metrics by day, as well as summary over all days within the specified date range. The date format is yyyy-MM-dd. The range must be no bigger than 30 days. If no range is provided, last available day is retrieved.
Possible HTTP Parameters
| name | description |
|---|---|
| api_key | list of api keys corresponding to applications. Parameter "all" will display metrics for all applications of which the caller is a developer of. If no keys are provided, the key from the authorization tpoken will be used |
| appId | (no documentation provided) |
| metric | Metrics to display. If no parameter is provided, all available metrics are shown. For the list of available metrics check the metrics/total api. |
| context | Specific contexts in which metrics were taken. If none provided, the breakdown of metrics by context is not displayed and the count is shown over all contexts. Keyword "all" will also provide the count over all contexts but will show the breakdown as well. For the list of available contexts check the metrics/total api |
| start | start of the time period, yesterday |
| end | end of the time period, by default |
Output Payload
list of metrics by day
Errors
| code | description |
|---|---|
| 403 | Thrown when an attempt is made to do something without the correct permissions. |
| 400 | Thrown when attempting to access a missing resource |