Skip to main content

GET Live Video Details

Overview


The table below provides key details about the GET method for receiving Live Video Details.

GET Live Video Details
MethodGET
URL or Endpoint/api/v1/projectId/live-videos/id
HeadersAuthorization
Parametersid, projectId
BodyNot Applicable

The description of the URL parameter is as follows:

projectId URL Parameter
URL Parameter NameId
MandatoryYes
Typestring
DescriptionUnique Id of the live video.
projectId URL Parameter
URL Parameter NameprojectId
MandatoryYes
Typestring
DescriptionUnique Id of the project.

Request body

The request does not contain the request body

Response

{
"success": true,
"errors": [],
"messages": [],
"result": {
"publicId": "{videoId}",
"name": null,
"title": "{title}",
"description": "{description}",
"thumbnail": "https://cdn.vpplayer.tech/{projectId}/images/{thumbnail}/live-thumbnail.jpg",
"playbackUrl": "https://cdn.vpplayer.tech/{projectId}/hub/{thumbnail}/index.m3u8",
"channelPublicId": "{channelId}",
"channelName": "{channelName}",
"channelTitle": "{channelTitle}",
"channelLogo": null,
"type": "Standard",
"latencyType": "Normal",
"liveStatus": "Offline",
"canGoLive": false,
"isLiveStreaming": true,
"canStopAndCut": true,
"startDateUTC": "2024-05-23T20:09:29.8106349",
"endDateUTC": null,
"publishDate": null,
"publishEndDate": null,
"geoBlockingRuleId": 194,
"author": "{author}",
"activeChannelId": "{channelId}",
"tags": [],
"hasGeoRestriction": true,
"geoRestrictionLink": "https://livestream.vp.gjirafa.tech/api/v1/{projectId}/live-videos/{videoId}/secure-link"
},
"resultInfo": null,
"statusCode": 200
}

Information about the fields that appear when you receive the response are displayed in the table below.

Field NameTypeDescription
successboolIf the response is successful, it will return true. Otherwise, it will return false.
errorsarray[]Indicates if there was an error.
messagesarray[]Returns the response message from the back-end.
resultarray[Object]Returns the response object.
publicIdstringReturns the public identifier of the live video.
namestringReturns a guid that is randomly generated.
titlestringReturns the title of the live video.
descriptionstringReturns the description of the live video.
thumbnailstringReturns the URL for the live video's thumbnail.
playbackUrlstringReturns a file URL where the livestream can be accessed for playback.
channelPublicIdstringReturns the public identifier of the channel.
channelNamestringReturns the name of the channel.
channelTitlestringReturns the title of the channel.
channelLogostringReturns the URL of the channel's logo.
typestringReturns ingestion type of RTMP (Real Time Messaging Protocol).
latencyTypestringReturns the type of latency chosen during the creation of the channel.
liveStatusstringIndicates the live status of the live video.
canGoLiveboolIndicates if the video is ready to go live.
isLiveStreamingboolIndicates if the video is currently live streaming.
canStopAndCutboolReturns a value indicating if the video can be stopped and cut.
startDateUTCstring($date-time)Indicates the start date and time when the video was created.
endDateUTCstring($date-time)Indicates the end date and time when the video will no longer be accessible.
publishDatestring($date-time)Returns the date and time when the video will become accessible.
publishEndDatestring($date-time)Indicates the end date and time when the video will no longer be accessible.
authorstringReturns the author of the live video.
activeChannelIdstringReturns the unique identifier of the active channel.
tagsarray[]Returns an array of tags.
geoBlockingRuleIdinteger($int32)Returns the identifier for the geo-blocking rule.
hasGeoRestrictionbooleanIndicates whether geo-restriction is applied to the video.
geoRestrictionLinkstringReturns the link for geo-restricted access to the video.
resultInfostringReturns extra information about the result.
statusCodeinteger($int32)Returns the HTTP Status Code.

If the action is successful, the service sends back an HTTP 200 or 201 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed