Runner Jobs

Download a video studio task file for a job video

POST
https://peertube2.cpy.re/api/v1/runners/jobs/{jobUUID}/files/videos/{videoIdOrUUID}/studio/task-files/{filename}

API used by PeerTube runners.

Body

application/json
runnerTokenstringrequired
jobTokenstringrequired

Parameters

jobUUIDUUIDv4<uuid>requiredpath
videoIdOrUUIDid | UUIDv4 | shortUUIDrequiredpath

Video id or UUID

filenamestringrequiredpath

Name of the task file to download

Response

200OKstring<binary>

successful operation

Response fields application/octet-stream
string<binary>
400Bad Request

the file is not associated with this edition task

403Forbidden

the job is not associated with this video