Examples

POST /api/job_invocations/345/rerun
{
  "failed_only": true,
  "job_invocation": {}
}
201
{
  "id": 346,
  "targeting_id": 387,
  "job_category": "Job name 332",
  "task_id": "c77a144f-2fc0-402c-9de5-1cef0d8d96f3",
  "task_group_id": 29,
  "triggering_id": 26,
  "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.