Reference
Last updated
Was this helpful?
Last updated
Was this helpful?
user_activities_analytics
endpointReturns a customized report of your event data. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activities, such as active users or sessions count. Dimensions break down metrics across some common criteria, such as day or channel.
POST
https://api.mediarithmics.com/v1/datamarts/:datamartId/user_activities_analytics
datamartId*
number
The ID of the datamart to query
metrics*
array
dimension_filter_clauses
object
dimensions*
array
date_ranges*
array
platform_monitoring/collections
endpointReturns a customized report of your Collection volumes. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activities, such as active users or sessions count. Dimensions break down metrics across some common criteria, such as date or collection.
POST
https://api.mediarithmics.com/v1/platform_monitoring/collections
metrics*
array
dimension_filter_clauses*
object
dimensions*
Dimensions to group metrics by.
date_ranges*
array
Retrieve the data in the specified date range. Mandatory. The data is only queryable for the last 4 months. Only one range is allowed, but the API is prepared to accept multiple ranges in the future.
The list of dimensions. Mandatory, but can be an empty array.
To express dimension filters. Should either have at least one filter, or is undefined.
The list of metrics. Mandatory, but can be an empty array.
A contiguous set of days.
start_date
string
The inclusive start date for the query in the format YYYY-MM-DDTHH:mm:ss
.
end_date
string
The inclusive end date for the query in the format YYYY-MM-DDTHH:mm:ss
.
Dimensions are attributes of your data. For example, the dimension channel_id
indicates the channel on which activities are recorded.
For a list of all available dimensions, see the documentation specific to the data cube you are using.
The quantitative measurements of a report. For example, the metric sessions
is the total number of sessions.
For a list of all available metrics, see the documentation specific to the data cube you are using.
A group of filters to apply in a request.
operator
enum
OR
AND
. Defaults to OR
.
List of filters to apply the operator
on. At least one filter should be set.
To express a dimension filter, in a dimension_name
operator
expressions
format.
dimension_name
string
The name of the dimension to filter on. For a list of all dimensions, see the documentation specific to the data cube you are using.
not
boolean
Defaults to false. If set to true, the dimension filter will be evaluated with the dimension_name
not
operator
expressions
logic.
operator
enum
Select one of the following queries:
EXACT
will force the dimension to match the first expression set
LIKE
will allow the dimension to only contain the first expression set
IN_LIST
will allow the dimension to be one of the expressions set
expressions[]
string
One or more keywords to search for.
items_per_page
int
The maximum number of items per page. Always 100 at the moment.
total_items
int
The total number of items that are currently returned. Between zero and items_per_page
as only the first page can be retrieved at the moment.
column_headers[]
string
Used to know which dimension or metric is represented by each column in the rows
Each row represents a combination of dimensions value and their associated metrics.
A row is created for each dimensions value combination, with the corresponding metrics.
Values are in the same order as column_headers
of the ReportView.
Array of to retrieve.
Filters to apply on dimensions before calculating the metric. For more information, see .
to group metrics by.
Periods to analyze. Each date range is an object with a start_date
and an end_date
. See .
Array of to retrieve.
Filters to apply on dimensions before calculating the metric. For more information, see .
to group metrics by.
Periods to analyze. Each date range is an object with a start_date
and an end_date
. See .
date_ranges[]
object()
dimensions[]
object()
dimension_filter_clauses
object([])
metrics[]
object()
filters[]
object()
The API responds with a containing a report view as data.
rows[]
object()