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.

パラメーター

パラメーター名 記述
location_id
任意

要求に現在のロケーションコンテキストを設定します

Validations:

  • Must be a Integer

organization_id
任意

要求に現在の組織コンテキストを設定します

Validations:

  • Must be a Integer

searches
任意

List of uuids to fetch info about

Validations:

  • 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.

Validations:

  • Must be a String

searches[type]
任意

Validations:

  • Must be one of: user, resource, task.

searches[task_id]
任意

In case :type = 'task', find the task by the uuid

Validations:

  • Must be a String

searches[user_id]
任意

In case :type = 'user', find tasks for the user

Validations:

  • Must be a String

searches[resource_type]
任意

In case :type = 'resource', what resource type we're searching the tasks for

Validations:

  • Must be a String

searches[resource_type]
任意

In case :type = 'resource', what resource id we're searching the tasks for

Validations:

  • Must be a String

searches[action_types]
任意

Return just tasks of given action type, e.g. [“Actions::Katello::Repository::Synchronize”]

Validations:

  • Must be one of: String.

searches[active_only]
任意

Validations:

  • Must be one of: true, false, 1, 0.

searches[page]
任意

Validations:

  • Must be a String

searches[per_page]
任意

Validations:

  • Must be a String