v1

latestOpenAPI 3.0.0AGPLv3.02026-07-14186117194.3 KB
Live Videos

Get live session of a replay

If the video is a replay of a live, you can find the associated live session using this endpoint

get/api/v1/videos/{id}/live-session

Path parameters

integer required
OR
string uuid required
OR
string required

translation of a uuid v4 with a bigger alphabet to have a shorter uuid

Example:42

The object id, uuid or short uuid

Response

successful operation

endDatestring date-time nullable

End date of the live session

error1 | 2 | 3 | 4 | 5 nullable

Error type if an error occurred during the live session:

  • 1: Bad socket health (transcoding is too slow)
  • 2: Max duration exceeded
  • 3: Quota exceeded
  • 4: Quota FFmpeg error
  • 5: Video has been blacklisted during the live
idinteger
startDatestring date-time

Start date of the live session

Example response

{
  "replayVideo": {
    "shortUUID": "2y84q2MQUMWPbiEcxNXMgC",
    "uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d"
  }
}