Runner Jobs
Accept job
POST
API used by PeerTube runners
Body
application/json
runnerTokenstringrequiredParameters
Response
200OKobject
successful operation
Response fields application/json
jobRunnerJob & objectShow child attributes
uuidUUIDv4<uuid>Example
9c9de5e8-0a1e-484a-b099-e80766180a6dCopy
typeRunnerJobTypevod-web-video-transcodingvod-hls-transcodingvod-audio-merge-transcodinglive-rtmp-hls-transcodingShow child attributes
idRunnerJobState12345678The runner job state:
1Pending2Processing3Completed4Errored5Waiting for a parent job6Cancelled7Parent had an error8Parent has been cancelled
labelstringExample
ProcessingCopy
payloadobjectShow child attributes
Any of
inputobjectShow child attributes
videoFileUrlstringoutputobjectShow child attributes
resolutionnumberfpsnumberinputobjectShow child attributes
videoFileUrlstringoutputobjectShow child attributes
resolutionnumberfpsnumberinputobjectShow child attributes
audioFileUrlstringpreviewFileUrlstringoutputobjectShow child attributes
resolutionnumberfpsnumberfailuresintegerNumber of times a remote runner failed to process this job. After too many failures, the job in "error" state
errorstring | nullError message if the job is errored
progressintegerPercentage progress
priorityintegerJob priority (less has more priority)
updatedAtstring<date-time>createdAtstring<date-time>startedAtstring<date-time>finishedAtstring<date-time>parentobject | nullIf job has a parent job
Show child attributes
typeRunnerJobTypevod-web-video-transcodingvod-hls-transcodingvod-audio-merge-transcodinglive-rtmp-hls-transcodingShow child attributes
idRunnerJobState12345678The runner job state:
1Pending2Processing3Completed4Errored5Waiting for a parent job6Cancelled7Parent had an error8Parent has been cancelled
labelstringExample
ProcessingCopy
uuidUUIDv4<uuid>Example
9c9de5e8-0a1e-484a-b099-e80766180a6dCopy
runnerany | nullIf job is associated to a runner
Show child attributes
idnumbernamestringdescriptionstringjobTokenstring