GET
/
streaming
/
statistics
/
cdn
/
uniqs
curl --request GET \
  --url https://api.gcore.com/streaming/statistics/cdn/uniqs \
  --header 'APIKey: <api-key>'
{
  "data": [
    {
      "uniqs": 100,
      "type": "vod"
    },
    {
      "uniqs": 300,
      "type": "live"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

date_from
string
required

Start of time frame. Format is date time in ISO 8601.

date_to
string
required

End of time frame. Format is date time in ISO 8601.

type
enum<string>

Filter by entity's type

Available options:
live,
vod,
playlist
id
string

Filter by entity's id. Put ID of a Live stream, VOD or a playlist to be calculated. If the value is omitted, then the calculation is done for all videos/streams of the specified type. When using this "id" parameter, be sure to specify the "type" parameter too. If you do not specify a type, the "id" will be ignored.

Response

200
application/json

OK

The response is of type object.