GET /foreman_tasks/api/tasks/summary
Show task summary


GET /foreman_tasks/api/tasks/:id
Show task details

Parámetros

Nombre del parámetro Descripción
id
opcional

UUID of the task

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /foreman_tasks/api/tasks/bulk_search
List dynflow tasks for uuids


POST /foreman_tasks/api/tasks/bulk_resume
Resume all paused error tasks

Parámetros

Nombre del parámetro Descripción
search
opcional

Resume tasks matching search string

Validations:

  • Must be String

task_ids
opcional

Resume specific tasks by ID

Validations:

  • Must be an array of any type


GET /foreman_tasks/api/tasks
List tasks

Parámetros

Nombre del parámetro Descripción
search
opcional

Search string

Validations:

  • Must be String

page
opcional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcional

Number of results per page to return

Validations:

  • Must be a number.

order
opcional

Sort field and order, e.g. 'name DESC'

Validations:

  • Must be String

sort
opcional

Hash version of 'order' param

Validations:

  • Must be a Hash

sort[by]
opcional

Field to sort the results on

Validations:

  • Must be String

sort[order]
opcional

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • Must be String


POST /foreman_tasks/api/tasks/callback
Send data to the task from external executor (such as smart_proxy_dynflow)

Parámetros

Nombre del parámetro Descripción
callback
opcional

Validations:

  • Must be a Hash

callback[task_id]
opcional

UUID of the task

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

callback[step_id]
opcional

The ID of the step inside the execution plan to send the event to

Validations:

  • Must be String

data
opcional

Data to be sent to the action

Validations:

  • Must be Hash