GET
/
analytics

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

dimension
enum<string>
required

The bucket each value falls into (the x-axis)

Available options:
day,
country,
domain
metric
enum<string>
required

The value within each metric (the y-axis))

Available options:
views
start
string
required

The start date

end
string
required

The end date

filter
string

Only include events that match a particular restriction. For example to only include the views for a particular video ID. This should be 'name:operator:value'. You need to URL-encode the value if it contains non-alphanumeric characters

by
enum<string>

Order by the x-axis (the chosen dimension) or y-axis (the chosen metric). For example to see the days that had the most views, you would use 'views'. If you were plotting the results on a graph, you might like to use 'date'

Available options:
views
limit
integer

The number of rows returned. Useful to show the top X, such as the top 10

Response

200 - application/json
success
boolean
required
result
object[]
required
links
object
required
errors
object[]
required