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 |