Conclusão
GET /api/analytics/completion
Métricas de funil (25% / 50% / 75% / 100% visualizado, pausas, retomas).
Exige analytics.read. Vê Visão geral para os parâmetros partilhados e o âmbito de categoria.
Parâmetros
| Parâmetro | Obrigatório | Descrição |
|---|---|---|
contentType | Não | vod (predefinição) ou live |
contentId | Não | Limitar a um vídeo ou evento live |
from, to | Não | Intervalo ISO 8601 |
minimumWatchSeconds | Não | Predefinição 3 |
Pedido
curl -X GET "https://app.ignitevideo.cloud/api/analytics/completion?contentId=VIDEO_ID" \
-H "Authorization: Bearer YOUR_API_KEY"Resposta
{
"from": string,
"to": string,
"minimumWatchSeconds": number,
"totals": {
"sessions": number,
"starts": number,
"watched25": number,
"watched50": number,
"watched75": number,
"watched100": number,
"complete": number,
"pauses": number,
"resumes": number
},
"rates": {
"watched25": number,
"watched50": number,
"watched75": number,
"watched100": number,
"complete": number
}
}