Jobs
Replay a job
Re-run a job with the same configuration
Authorization
api_key X-API-Key<token>
In: header
Path Parameters
job_id*string
Response Body
application/json
curl -X POST "https://example.com/api/v1/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay"{
"job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
"status": "pending",
"repository": {
"url": "https://github.com/user/repo.git",
"ref": "main",
"commit_sha": "string",
"auth": {
"type": "bearer",
"token": "string",
"private_key": "string"
}
},
"trigger": {
"event": "push",
"branch": "string",
"pr_number": 0
},
"steps": [
{
"step_name": "string",
"status": "success",
"exit_code": 0,
"duration_ms": 0
}
],
"artifacts": [
{
"name": "string",
"size": 0,
"content_type": "string",
"created_at": "2019-08-24T14:15:22Z"
}
],
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}Empty