For the complete documentation index, see llms.txt. This page is also available as Markdown.

Errors

This guide will help you fetch metrics and dimensions used to compile Smartsight Errors dashboard.

Total Errors GET

Returns the total errors for all the users .

curl 'https://smartsight3.mediamelon.com/mm-apis/session/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=errors,subscriberid&agg=1&aggby=subscriberid'
-x GET --header 'Authorization: Bearer <access_token>'

If you run this request yourself it will not work, you should replace the <access_token> in this example with your own Keycloak access_token you get by running Fetch Auth Token

Required request path parameters

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

Required request query parameters

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this Epoch Time converter

metricsstring

Combination of query parameters metrics=concurviewavg,users in string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

Response

GET 200
{
    "totalcount": 1,
    "pagecount": 1,
    "totalrecords": 1,
    "response": [
        {
            "errors": 334330,
            "subscriberid": "xxxxxxx",
            "totalpages": 2
        }.......
    ]
}

Error Insights GET

Returns the error insights with classifications.

Required request path parameters

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

Required request query parameters

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this Epoch Time converter

metricsstring

Combination of query parameters metrics=category,key,errors,player in string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

Combinaton of query parametersaggby=category,key,player in string format. This request data will aggregated by given dimension query parameter.

Response

GET 200

Last updated