參數

參數名字 描述
organization_id
選填

組織識別子

Validations:

  • Must be a number.

content_view_version_id
選填

Content View Version identifier

Validations:

  • Must be a number.

content_view_filter_id
選填

Content View Filter identifier

Validations:

  • Must be a number.

repository_id
選填

Repository identifier

Validations:

  • Must be a number.

environment_id
選填

Environment identifier

Validations:

  • Must be a number.

ids
選填

Package identifiers to filter content by

Validations:

  • Must be an array of any type

host_id
選填

Host id to list applicable packages for

Validations:

  • Must be a number.

packages_restrict_applicable
選填

Return packages that are applicable to one or more hosts (defaults to true if host_id is specified)

Validations:

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

packages_restrict_upgradable
選填

Return packages that are upgradable on one or more hosts

Validations:

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

packages_restrict_latest
選填

Return only the latest version of each package

Validations:

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

available_for
選填

Return packages that can be added to the specified object. Only the value 'content_view_version' is supported.

Validations:

  • String

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