參數

參數名字 描述
search
選填

搜尋字串

Validations:

  • String

page
選填

頁數,從 1 開始

Validations:

  • Must be a number.

per_page
選填

每頁要傳回的結果數量

Validations:

  • Must be a number.

order
選填

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
選填

是否顯示所有結果

Validations:

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

sort
選填

「order」參數的雜湊版本

Validations:

  • Hash

sort[by]
選填

用來排序結果的欄位

Validations:

  • String

sort[order]
選填

如何排序結果的順序(比方說 ASC 從下到上)

Validations:

  • String

organization_id
必填

組織 ID

Validations:

  • Must be a number.

host_id
選填

id of a host

Validations:

  • String

activation_key_id
選填

啟動金鑰 ID

Validations:

  • String

available_for
選填

Object to show subscriptions available for, either 'host' or 'activation_key'

Validations:

  • String

match_host
選填

Ignore subscriptions that are unavailable to the specified host

Validations:

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

match_installed
選填

Return subscriptions that match installed products of the specified host

Validations:

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

no_overlap
選填

Return subscriptions which do not overlap with a currently-attached subscription

Validations:

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