Estado actual del receptor
GET
/v1/receivers/{id}/state
Respaldo por polling cuando SSE no funciona, y latido: el receptor debe llamarlo al menos cada 45 s aunque tenga SSE abierto (los pings del SSE no lo mantienen vivo). Sin latido caduca a los 2 minutos.
Autorizaciones
receiverSecret
Solo para la app receptora
Tipo
API Key (header: X-Receiver-Secret)
Parámetros
Path Parameters
id*
Tipo
Requeridostring
Respuestas
Estado
application/json
JSON "status": "string", "code": "K7M3QX", "codeExpiresAt": 0, "codeExpiresIn": 0, "pendingCast": { "url": "http://192.168.1.20:8096/videos/peli.m3u8", "title": "string", "poster": "string", "subtitles": [ { "url": "string", "lang": "string", "label": "string" } ], "startPosition": 0, "drm": { "system": "string", "licenseUrl": "string" }, "castId": "string", "createdAt": 0, "expiresAt": 0 }, "commands": [ { "commandId": "string", "castId": "string", "at": 0, "type": "string", "position": 0, "seconds": 0, "level": 0, "muted": true, "trackId": "string" } ]
{
}
