Get a private video
GET/api/video/:id/private/:expirationSeconds
This end point retrieves a signed url for a private video that can only be accessed for a set amount of time (expirationSeconds)
Request
Path Parameters
The id of the video
Possible values: non-empty
and <= 31536000 characters
The number of seconds the url will be valid for
Header Parameters
Hyperserve api key
Responses
- 200
Private video found
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [pending
, ready
, fail
]
variants
object
required
144p
object
Possible values: [pending
, ready
, fail
]
240p
object
Possible values: [pending
, ready
, fail
]
360p
object
Possible values: [pending
, ready
, fail
]
480p
object
Possible values: [pending
, ready
, fail
]
720p
object
Possible values: [pending
, ready
, fail
]
1080p
object
Possible values: [pending
, ready
, fail
]
1440p
object
Possible values: [pending
, ready
, fail
]
4k
object
Possible values: [pending
, ready
, fail
]
8k
object
Possible values: [pending
, ready
, fail
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"isPublic": true,
"variants": {
"144p": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"240p": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"360p": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"480p": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"720p": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"1080p": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"1440p": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"4k": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
},
"8k": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"video_url": "string",
"thumbnail_image_urls": [
"string"
]
}
}
}