Examples

POST /api/job_invocations/45/rerun
{
  "failed_only": true,
  "job_invocation": {}
}
201
{
  "id": 46,
  "targeting_id": 55,
  "job_category": "Job name 36",
  "task_id": "5e345c24-f6fa-4934-a80f-35b5a3669110",
  "task_group_id": 8,
  "triggering_id": 8,
  "description": null,
  "concurrency_level": null,
  "execution_timeout_interval": null,
  "password": null,
  "key_passphrase": null,
  "remote_execution_feature_id": null,
  "effective_user_password": null,
  "ssh_user": null,
  "time_to_pickup": null
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

failed_only
optional

Validations:

  • Must be one of: true, false, 1, 0.