Returns the engagement hotspots for a playback ID. Hotspots are the most or least engaging moments of the content, each described by a start and end time (in milliseconds) and a score between 0 and 1. Set order_direction to asc to return the least engaging moments (cold spots). This only covers views for this specific playback ID; to analyze the entire asset across all of its playback IDs, use the asset ID or video ID endpoint instead.
A Playback ID for the asset.
Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=).
Accepted formats are...
timeframe[]=1498867200&timeframe[]=1498953600timeframe[]=24:hours or timeframe[]=7:daysMaximum number of hotspots to return. If omitted, all hotspots are returned.
Sort order.
{
"total_row_count": 2,
"timeframe": [
1610025789,
1610112189
],
"data": {
"total_views": 1024,
"hotspots": [
{
"start_ms": 30000,
"end_ms": 45000,
"score": 0.842
},
{
"start_ms": 120000,
"end_ms": 138000,
"score": 0.713
}
]
}
}