Get a live video
URL
GET https://api.complycube.com/v1/liveVideos/:id
Retrieves an existing live video.
Headers
Path parameters
Example request
curl -X GET https://api.complycube.com/v1/liveVideos/{:liveVideoId} \
-H 'Authorization: <YOUR_API_KEY>'
const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
const liveVideo = await complycube.liveVideo.get("LIVE_VIDEO_ID");
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
livevideo = ccapi.livevideos.get(videoid)
use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$liveVideo = $ccapi->livevideos()->get('LIVE_VIDEO_ID');
using ComplyCube.Net;
using ComplyCube.Net.Resources.Clients;
var liveVideoApi = new LiveVideoApi(new ComplyCubeClient("<YOUR_API_KEY>"));
var liveVideo = liveVideoApi.GetAsync("LIVE_VIDEO_ID").Result;
Example responses
{
"id": "5eb1b5f231778a0008d1c3f6",
"clientId": "5eb1276d96be4a0008713af5",
"language": "en-GB",
"challenges": [
{
"type": "voice",
"value": [
"7",
"9",
"1",
"7"
]
},
{
"type": "actions",
"value": [
"turnHeadLeft"
]
}
],
"createdAt": "2020-01-01T14:06:44.756Z",
"updatedAt": "2020-01-01T14:06:44.756Z"
}
{
"type": "resource_not_found",
"message": "Invalid live video id '5eb1b5f231778a0008d1c3f5'"
}
Last updated