Models
VideoFile
objectidid>= 1Example
42magnetUristring<uri>magnet URI allowing to resolve the video via BitTorrent without a metainfo file
resolutionVideoResolutionConstantresolutions and their labels for the video
sizeintegerVideo file size in bytes
torrentUrlstring<url>Direct URL of the torrent file
torrentDownloadUrlstring<url>URL endpoint that transfers the torrent file as an attachment (so that the browser opens a download dialog)
fileUrlstring<url>Direct URL of the video
playlistUrlstring<url>Playlist URL of the file if it is owned by a playlist
fileDownloadUrlstring<url>URL endpoint that transfers the video file as an attachment (so that the browser opens a download dialog)
fpsnumberFrames per second of the video file
widthnumberPeerTube >= 6.1 Video stream width
heightnumberPeerTube >= 6.1 Video stream height
metadataUrlstring<url>URL dereferencing the output of ffprobe on the file
hasAudiobooleanPeerTube >= 6.2 The file container has an audio stream
hasVideobooleanPeerTube >= 6.2 The file container has a video stream
storageFileStorage01The file storage type:
0File system1Object storage