Params

Param name Description
organization_id
optional

ID of an organization to show repositories in

Validations:

  • Must be a number.

product_id
optional

ID of a product to show repositories of

Validations:

  • Must be a number.

environment_id
optional

ID of an environment to show repositories in

Validations:

  • Must be a number.

content_view_id
optional

ID of a content view to show repositories in

Validations:

  • Must be a number.

content_view_version_id
optional

ID of a content view version to show repositories in

Validations:

  • Must be a number.

deb_id
optional

Id of a deb package to find repositories that contain the deb

Validations:

  • String

erratum_id
optional

Id of an erratum to find repositories that contain the erratum

Validations:

  • String

rpm_id
optional

Id of a rpm package to find repositories that contain the rpm

Validations:

  • String

file_id
optional

Id of a file to find repositories that contain the file

Validations:

  • String

ansible_collection_id
optional

Id of an ansible collection to find repositories that contain the ansible collection

Validations:

  • String

ostree_branch_id
optional

Id of an ostree branch to find repositories that contain that branch

Validations:

  • String

library
optional

show repositories in Library and the default content view

Validations:

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

archived
optional

show archived repositories

Validations:

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

content_type
optional

limit to only repositories of this type

Validations:

  • Must be one of: deb, docker, file, ostree, puppet, yum.

name
optional

name of the repository

Validations:

  • String

label
optional

label of the repository

Validations:

  • String

description
optional

description of the repository

Validations:

  • String

available_for
optional

interpret specified object to return only Repositories that can be associated with specified object. Only ‘content_view’ & ‘content_view_version’ are supported.

Validations:

  • String

with_content
optional

only repositories having at least one of the specified content type ex: rpm , erratum

Validations:

  • Must be one of: deb, docker_manifest, docker_manifest_list, docker_tag, docker_blob, file, ostree, puppet_module, rpm, modulemd, erratum, distribution, package_category, package_group, yum_repo_metadata_file, srpm.

download_policy
optional

limit to only repositories with this download policy

Validations:

  • Must be one of: immediate, on_demand, background.

search
optional

Search string

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return

Validations:

  • Must be a number.

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • String

full_result
optional

Whether or not to show all results

Validations:

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

sort_by
optional

Field to sort the results on

Validations:

  • String

sort_order
optional

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • String

Search fields

Field name Type Possible values
container_repository_name string
content_label string
content_type string
content_view_id integer
description text
distribution_arch string
distribution_bootable boolean
distribution_family string
distribution_variant string
distribution_version string
download_policy string
label string
name string
product string
product_id integer
product_name string
redhat true, false