参数名字 | 描述 |
---|---|
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. |
For every search it returns the list of tasks that satisfty the condition. The reason for supporting multiple searches is the UI that might be ending needing periodic updates on task status for various searches at the same time. This way, it is possible to get all the task statuses with one request.
参数名字 | 描述 |
---|---|
searches 选填 |
List of uuids to fetch info about Value: Must be an Array of nested elements |
searches[search_id] 选填 |
Arbitraty value for client to identify the the request parts with results. It's passed in the results to be able to pair the requests and responses properly. Value: Must be String |
searches[type] 选填 |
Value: Must be one of: user, resource, task. |
searches[task_id] 选填 |
In case :type = 'task', find the task by the uuid Value: Must be String |
searches[user_id] 选填 |
In case :type = 'user', find tasks for the user Value: Must be String |
searches[resource_type] 选填 |
In case :type = 'resource', what resource type we're searching the tasks for Value: Must be String |
searches[resource_type] 选填 |
In case :type = 'resource', what resource id we're searching the tasks for Value: Must be String |
searches[action_types] 选填 |
Return just tasks of given action type, e.g. [“Actions::Katello::Repository::Synchronize”] Value: Must be one of: String. |
searches[active_only] 选填 |
Value: Must be 'true' or 'false' |
searches[page] 选填 |
Value: Must be String |
searches[per_page] 选填 |
Value: Must be String |
参数名字 | 描述 |
---|---|
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 |
参数名字 | 描述 |
---|---|
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 |
参数名字 | 描述 |
---|---|
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 |