Examples

POST /api/job_invocations/80/rerun
{
  "failed_only": true,
  "job_invocation": {}
}
201
{
  "id": 81,
  "targeting_id": 87,
  "job_category": "Job name 79",
  "task_id": "3817725f-1760-48e5-a193-17d67e2f03a0",
  "task_group_id": 5,
  "triggering_id": 4,
  "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.