Upload a video
POST {{baseUrl}}/videos/:videoId/source
Ingest a video from a source or file.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Range
|
null | `part <part>/<total_parts>` ; `bytes <from_byte>-<to_byte>/<total_bytes>` | |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status Created
{
"videoId": "<string>",
"createdAt": "<dateTime>",
"title": "<string>",
"description": "<string>",
"publishedAt": "<dateTime>",
"updatedAt": "<dateTime>",
"tags": [
"<string>",
"<string>"
],
"metadata": [
{
"key": "<string>",
"value": "<string>"
},
{
"key": "<string>",
"value": "<string>"
}
],
"source": {
"uri": "<string>",
"type": "<string>",
"liveStream": {
"liveStreamId": "<string>",
"links": [
{
"rel": "<string>",
"uri": "<string>"
},
{
"rel": "<string>",
"uri": "<string>"
}
]
}
},
"assets": {
"hls": "<uri>",
"iframe": "<string>",
"player": "<uri>",
"thumbnail": "<uri>",
"mp4": "<uri>"
},
"playerId": "<string>",
"public": "<boolean>",
"panoramic": "<boolean>",
"mp4Support": "<boolean>"
} |
ENDPOINTS