Skip to content

Update a job

PUT
/api/v4/jobs/{id}
id
required
integer

Job’s ID

Media type application/json
object
token
required

Job’s authentication token

string
nullable
state

Job’s status: running, success, failed

string
nullable
checksum

Job’s trace CRC32 checksum

string
nullable
failure_reason

Job’s failure_reason

string
nullable
output

Build log state

object
checksum

Job’s trace CRC32 checksum

string
nullable
bytesize

Job’s trace size in bytes

integer
nullable
exit_code

Job’s exit code

integer
nullable
Example generated
{
"token": "example",
"state": "example",
"checksum": "example",
"failure_reason": "example",
"output": {
"checksum": "example",
"bytesize": 1
},
"exit_code": 1
}

Job was updated

Update accepted

Unknown parameters

Forbidden

Not Found

Conflict

Too Many Requests