Runner Jobs

Request a new job

POST
https://peertube2.cpy.re/api/v1/runners/jobs/request

API used by PeerTube runners

Body

application/json
runnerTokenstringrequired
jobTypesArray<string>

Filter jobs depending on their types

Response

200OKobject

successful operation

Response fields application/json
availableJobsArray<object>
Show child attributes
Example
9c9de5e8-0a1e-484a-b099-e80766180a6d
typeRunnerJobTypevod-web-video-transcodingvod-hls-transcodingvod-audio-merge-transcodinglive-rtmp-hls-transcoding
payloadobject
Show child attributes
Any of
inputobject
Show child attributes
videoFileUrlstring
outputobject
Show child attributes
resolutionnumber
fpsnumber
inputobject
Show child attributes
videoFileUrlstring
outputobject
Show child attributes
resolutionnumber
fpsnumber
inputobject
Show child attributes
audioFileUrlstring
previewFileUrlstring
outputobject
Show child attributes
resolutionnumber
fpsnumber