Runner Jobs

Download the max-quality preview for a job video

POST
https://peertube2.cpy.re/api/v1/runners/jobs/{jobUUID}/files/videos/{videoIdOrUUID}/previews/max-quality

API used by PeerTube runners.

Body

application/json
runnerTokenstringrequired
jobTokenstringrequired

Parameters

jobUUIDUUIDv4<uuid>requiredpath
videoIdOrUUIDid | UUIDv4 | shortUUIDrequiredpath

Video id or UUID

Response

200OKstring<binary>

successful operation

Response fields application/octet-stream
string<binary>
403Forbidden

the job is not associated with this video