API Quickstart
This page shows you how to get started using the activities analytics API to query your data in mediarithmics.
Last updated
This page shows you how to get started using the activities analytics API to query your data in mediarithmics.
Last updated
This quickstart guide uses the Long term access tokens authentication method. Choose and configure your own authentication method. For more information, see Authentication.
POST
https://api.mediarithmics.com/v1/datamarts/:datamartId/user_activities_analytics
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Here is a sample report request as body payload with all the important properties
The API will answer with a Single resource wrapper containing a ReportView.
Congratulations! You've sent your first request to the Activities analytics API.
datamartId*
number
The ID of the datamart to query
metrics*
array
Array of Metric to retrieve.
dimension_filter_clauses
object
Filters to apply on dimensions before calculating the metric. For more information, see FilterClause.
dimensions*
array
Dimensions to group metrics by.
date_ranges*
array
Periods to analyze. Each date range is an object with a start_date
and an end_date
. See DateRange.