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


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

Параметры

Имя параметра Описание
id
необязательно

UUID of the task


Value:

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

Параметры

Имя параметра Описание
search
необязательно

Resume tasks matching search string


Value:

Must be String

task_ids
необязательно

Resume specific tasks by id


Value:

Must be an array of any type


GET /foreman_tasks/api/tasks
List tasks

Параметры

Имя параметра Описание
search
необязательно

Search string


Value:

Must be String

page
необязательно

Page number, starting at 1


Value:

Must be a number.

per_page
необязательно

Number of results per page to return


Value:

Must be a number.

order
необязательно

Sort field and order, eg. 'name DESC'


Value:

Must be String

sort
необязательно

Hash version of 'order' param


Value:

Must be a Hash

sort[by]
необязательно

Field to sort the results on


Value:

Must be String

sort[order]
необязательно

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


Value:

Must be String


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

Параметры

Имя параметра Описание
callback
необязательно

Value:

Must be a Hash

callback[task_id]
необязательно

UUID of the task


Value:

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]
необязательно

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


Value:

Must be String

data
необязательно

Data to be sent to the action


Value:

Must be Hash