MetricsApiService
Namespace http://api.hi5.com/metrics (wsdl):
These services are used to request statistical data about applications.
The following methods are available on this endpoint:
getMetricsDaily
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.
Input Parameters
| name | description |
|---|---|
| api_keys | 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 |
| appIdList | (no documentation provided) |
| metrics | Metrics to display. If no parameter is provided, all available metrics are shown. For the list of available metrics check the metrics/total api. |
| contexts | 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 |
| startTime | start of the time period, yesterday |
| endTime | end of the time period, by default |
Return Value
list of metrics by day
Faults
| name | description |
|---|---|
| Hi5ApiGeneralException | (no documentation provided) |
| PermissionDeniedException | (no documentation provided) |
getMetricsDailyUniques
Same as metrics/daily api, only displays uniques
Input Parameters
| name | description |
|---|---|
| api_keys | (no documentation provided) |
| appIdList | (no documentation provided) |
| metrics | (no documentation provided) |
| contexts | (no documentation provided) |
| startTime | (no documentation provided) |
| endTime | (no documentation provided) |
Return Value
(no documentation provided)
Faults
| name | description |
|---|---|
| Hi5ApiGeneralException | (no documentation provided) |
| PermissionDeniedException | (no documentation provided) |
getMetricsHourly
Provides hourly metrics for one or several applications. This call will show break down of metrics by hour, as well as summary over all hours within the specified date range. The time format is yyyy-MM-dd-hh. The hour must be an number from 0 to 23. The range must be no bigger than 24 hours. If no range is provided, available data for last 24 hours will be shown Parameters are same as metrics/daily api.
Input Parameters
| name | description |
|---|---|
| api_keys | (no documentation provided) |
| appIdList | (no documentation provided) |
| metrics | (no documentation provided) |
| contexts | (no documentation provided) |
| startTime | (no documentation provided) |
| endTime | (no documentation provided) |
Return Value
(no documentation provided)
Faults
| name | description |
|---|---|
| Hi5ApiGeneralException | (no documentation provided) |
| PermissionDeniedException | (no documentation provided) |
getMetricsHourlyUniques
Same as metrics/hourly api, only displays uniques
Input Parameters
| name | description |
|---|---|
| api_keys | (no documentation provided) |
| appIdList | (no documentation provided) |
| metrics | (no documentation provided) |
| contexts | (no documentation provided) |
| startTime | (no documentation provided) |
| endTime | (no documentation provided) |
Return Value
(no documentation provided)
Faults
| name | description |
|---|---|
| Hi5ApiGeneralException | (no documentation provided) |
| PermissionDeniedException | (no documentation provided) |
getMetricsTotal
Provides statistics over the whole lifespan of one or several apps.
Input Parameters
| name | description |
|---|---|
| api_keys | 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 |
| appIdList | (no documentation provided) |
| metrics |
Metrics to display. If no parameter is provided, all available metrics are shown.
|
| contexts |
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.
|
Return Value
list of metrics for requested apps
Faults
| name | description |
|---|---|
| Hi5ApiGeneralException | (no documentation provided) |
| PermissionDeniedException | (no documentation provided) |