v1

latestOpenAPI 3.0.42026-07-26263457588.1 KB
Manage Videos

Repackage Video

post/library/{libraryId}/videos/{videoId}/repackage

Path parameters

libraryIdinteger required
videoIdstring required

Query parameters

keepOriginalFilesboolean

Marks whether previous file versions should be kept in storage, allows for faster repackage later on. Default is true.

Response

The details of the requested video

videoLibraryIdinteger required

The ID of the video library that the video belongs to

guidstring required

The unique ID of the video

titlestring required

The title of the video

descriptionstring nullable

The description of the video

dateUploadedstring date-time required

The date when the video was uploaded

viewsinteger required

The number of views the video received

isPublicboolean required

Determines if the video is publically accessible

lengthinteger required

The duration of the video in seconds

frameratenumber double required

The framerate of the video

rotationinteger nullable

The rotation of the video

widthinteger required

The width of the original video file

heightinteger required

The height of the original video file

availableResolutionsstring nullable

The available resolutions of the video

outputCodecsstring required

Encoded output codecs of the video

thumbnailCountinteger required

The number of thumbnails generated for this video

encodeProgressinteger required

The current encode progress of the video

storageSizeinteger required

The amount of storage used by this video

hasMP4Fallbackboolean required

Determines if the video has MP4 fallback files generated

collectionIdstring nullable

The ID of the collection where the video belongs

thumbnailFileNamestring nullable

The file name of the thumbnail inside of the storage

thumbnailUrlstring nullable

The CDN URL of the thumbnail

thumbnailBlurhashstring nullable

Thumbnail blurhash to show while the actual thumbnail is being loaded

averageWatchTimeinteger required

The average watch time of the video in seconds

totalWatchTimeinteger required

The total video watch time in seconds

categorystring nullable

The automatically detected category of the video

jitEncodingEnabledboolean nullable
hasOriginalboolean nullable

Determines if video has the original file available in storage

originalHashstring nullable

Original uploaded file SHA256 hash

hasHighQualityPreviewboolean nullable