Examples

POST /api/job_invocations/217/rerun
{
  "failed_only": true,
  "job_invocation": {}
}
201
{
  "id": 218,
  "targeting_id": 230,
  "job_category": "Job name 206",
  "task_id": "8b56d0d5-5b28-4eb1-b77d-db786e2dd437",
  "task_group_id": 19,
  "triggering_id": 17,
  "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.

succeeded_only
optional

Validations:

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