Skip to main content
GET
/
video
/
{id}
cURL
curl --request GET \
  --url https://api.pnplayer.com/v1/api/video/{id} \
  --header 'Authorization: Bearer <token>'
{
  "videoId": "<string>",
  "title": "<string>",
  "dateUploaded": "2023-11-07T05:31:56Z",
  "encodeProgress": 123,
  "status": 123,
  "length": 123,
  "storageSize": "<string>",
  "hlsUrl": "<string>",
  "preview": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of video to get

Response

Videos response

videoId
string

Unique identifier of the video

title
string

Title of the video

dateUploaded
string<date-time>

Upload date of the video

encodeProgress
number

Encoding progress percentage

status
number

Current status code of the video

length
number

Length of the video (in seconds)

storageSize
string

Storage size of the video

hlsUrl
string

HLS streaming URL

preview
string

Preview thumbnail URL