Param name | Description |
---|---|
organization_id
optional |
ID of an organization to show repositories in Validations:
|
product_id
optional |
ID of a product to show repositories of Validations:
|
environment_id
optional |
ID of an environment to show repositories in Validations:
|
content_view_id
optional |
ID of a content view to show repositories in Validations:
|
content_view_version_id
optional |
ID of a content view version to show repositories in Validations:
|
deb_id
optional |
Id of a deb package to find repositories that contain the deb Validations:
|
erratum_id
optional |
Id of an erratum to find repositories that contain the erratum Validations:
|
rpm_id
optional |
Id of a rpm package to find repositories that contain the rpm Validations:
|
file_id
optional |
Id of a file to find repositories that contain the file Validations:
|
ansible_collection_id
optional |
Id of an ansible collection to find repositories that contain the ansible collection Validations:
|
library
optional |
show repositories in Library and the default content view Validations:
|
archived
optional |
show archived repositories Validations:
|
content_type
optional |
Limit the repository type. Available types endpoint: /katello/api/repositories/repository_types Validations:
|
name
optional |
name of the repository Validations:
|
label
optional |
label of the repository Validations:
|
description
optional |
description of the repository Validations:
|
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:
|
with_content
optional |
Filter repositories by content unit type (erratum, docker_tag, etc.). Check the “Indexed?” types here: /katello/api/repositories/repository_types Validations:
|
download_policy
optional |
limit to only repositories with this download policy Validations:
|
username
optional |
only show the repositories readable by this user with this username Validations:
|
search
optional |
Search string Validations:
|
page
optional |
Page number, starting at 1 Validations:
|
per_page
optional |
Number of results per page to return Validations:
|
order
optional |
Sort field and order, eg. 'id DESC' Validations:
|
full_result
optional |
Whether or not to show all results Validations:
|
sort_by
optional |
Field to sort the results on Validations:
|
sort_order
optional |
How to order the sorted results (e.g. ASC for ascending) Validations:
|
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 |
Param name | Description |
---|---|
content_view_version_ids
optional |
content view versions to compare Validations:
|
repository_id
optional |
Library repository id to restrict comparisons to Validations:
|
restrict_comparison
optional |
Return same, different or all results Validations:
|
Param name | Description |
---|---|
name
required |
Name of the repository Validations:
|
description
optional |
Description of the repository Validations:
|
label
optional |
Validations:
|
product_id
required |
Product the repository belongs to Validations:
|
content_type
required |
Type of repository. Available types endpoint: /katello/api/repositories/repository_types Validations:
|
url
optional |
repository source url Validations:
|
os_versions
optional |
Identifies whether the repository should be unavailable on a client with a non-matching OS version. Pass [] to make repo available for clients regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8, rhel-9 Validations:
|
gpg_key_id
optional , nil allowed |
id of the gpg key that will be assigned to the new repository Validations:
|
ssl_ca_cert_id
optional , nil allowed |
Identifier of the content credential containing the SSL CA Cert Validations:
|
ssl_client_cert_id
optional , nil allowed |
Identifier of the content credential containing the SSL Client Cert Validations:
|
ssl_client_key_id
optional , nil allowed |
Identifier of the content credential containing the SSL Client Key Validations:
|
unprotected
optional |
true if this repository can be published via HTTP Validations:
|
checksum_type
optional |
Checksum used for published repository contents. Supported types: sha256, sha384, sha512 Validations:
|
docker_upstream_name
optional |
Name of the upstream docker repository Validations:
|
include_tags
optional |
Comma-separated list of tags to sync for a container image repository Validations:
|
exclude_tags
optional |
Comma-separated list of tags to exclude when syncing a container image repository. Default: any tag ending in “-source” Validations:
|
download_policy
optional |
download policy for yum, deb, and docker repos (either 'immediate' or 'on_demand') Validations:
|
download_concurrency
optional |
Used to determine download concurrency of the repository in pulp3. Use value less than 20. Defaults to 10 Validations:
|
mirroring_policy
optional |
Policy to set for mirroring content. Must be one of additive. Validations:
|
verify_ssl_on_sync
optional |
if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA Validations:
|
upstream_username
optional |
Username of the upstream repository user used for authentication Validations:
|
upstream_password
optional |
Password of the upstream repository user used for authentication Validations:
|
upstream_authentication_token
optional |
Upstream authentication token string for yum repositories. Validations:
|
deb_releases
optional |
whitespace-separated list of releases to be synced from deb-archive Validations:
|
deb_components
optional |
whitespace-separated list of repo components to be synced from deb-archive Validations:
|
deb_architectures
optional |
whitespace-separated list of architectures to be synced from deb-archive Validations:
|
ignorable_content
optional |
List of content units to ignore while syncing a yum repository. Must be subset of srpm,treeinfo Validations:
|
ansible_collection_requirements
optional |
Contents of requirement yaml file to sync from URL Validations:
|
ansible_collection_auth_url
optional |
The URL to receive a session token from, e.g. used with Automation Hub. Validations:
|
ansible_collection_auth_token
optional |
The token key to use for authentication. Validations:
|
http_proxy_policy
optional |
policies for HTTP proxy for content sync Validations:
|
http_proxy_id
optional |
ID of a HTTP Proxy Validations:
|
arch
optional |
Architecture of content in the repository Validations:
|
retain_package_versions_count
optional |
The maximum number of versions of each package to keep. Validations:
|
metadata_expire
optional |
Time to expire yum metadata in seconds. Only relevant for custom yum repositories. Validations:
|
depth
optional |
An option to specify how many ostree commits to traverse. Validations:
|
exclude_refs
optional |
A comma-separated list of tags to exclude during an ostree sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. Validations:
|
include_refs
optional |
A comma-separated list of refs to include during an ostree sync. The wildcards *, ? are recognized. Validations:
|
excludes
optional |
Python packages to exclude from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. Validations:
|
includes
optional |
Python packages to include from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. Leave empty to include every package. Validations:
|
package_types
optional |
Package types to sync for Python content, separated by comma. Leave empty to get every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg, bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist. Validations:
|
Param name | Description |
---|---|
creatable
optional |
When set to 'True' repository types that are creatable will be returned Validations:
|
Param name | Description |
---|---|
id
required |
Repository identifier Validations:
|
force
optional |
Force metadata regeneration to proceed. Dangerous when repositories use the 'Complete Mirroring' mirroring policy Validations:
|
Param name | Description |
---|---|
id
required |
repository ID Validations:
|
organization_id
optional |
Organization ID Validations:
|
Param name | Description |
---|---|
id
required |
repository ID Validations:
|
incremental
optional |
perform an incremental import Validations:
|
skip_metadata_check
optional |
Force sync even if no upstream changes are detected. Only used with yum or deb repositories. Validations:
|
validate_contents
optional |
Force a sync and validate the checksums of all content. Only used with yum repositories. Validations:
|
Param name | Description |
---|---|
id
required |
repository ID Validations:
|
Param name | Description |
---|---|
id
required |
repository ID Validations:
|
Param name | Description |
---|---|
id
required |
repository ID Validations:
|
name
optional |
Validations:
|
description
optional |
description of the repository Validations:
|
url
optional |
repository source url Validations:
|
os_versions
optional |
Identifies whether the repository should be unavailable on a client with a non-matching OS version. Pass [] to make repo available for clients regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8, rhel-9 Validations:
|
gpg_key_id
optional , nil allowed |
id of the gpg key that will be assigned to the new repository Validations:
|
ssl_ca_cert_id
optional , nil allowed |
Identifier of the content credential containing the SSL CA Cert Validations:
|
ssl_client_cert_id
optional , nil allowed |
Identifier of the content credential containing the SSL Client Cert Validations:
|
ssl_client_key_id
optional , nil allowed |
Identifier of the content credential containing the SSL Client Key Validations:
|
unprotected
optional |
true if this repository can be published via HTTP Validations:
|
checksum_type
optional |
Checksum used for published repository contents. Supported types: sha256, sha384, sha512 Validations:
|
docker_upstream_name
optional |
Name of the upstream docker repository Validations:
|
include_tags
optional |
Comma-separated list of tags to sync for a container image repository Validations:
|
exclude_tags
optional |
Comma-separated list of tags to exclude when syncing a container image repository. Default: any tag ending in “-source” Validations:
|
download_policy
optional |
download policy for yum, deb, and docker repos (either 'immediate' or 'on_demand') Validations:
|
download_concurrency
optional |
Used to determine download concurrency of the repository in pulp3. Use value less than 20. Defaults to 10 Validations:
|
mirroring_policy
optional |
Policy to set for mirroring content. Must be one of additive. Validations:
|
verify_ssl_on_sync
optional |
if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA Validations:
|
upstream_username
optional |
Username of the upstream repository user used for authentication Validations:
|
upstream_password
optional |
Password of the upstream repository user used for authentication Validations:
|
upstream_authentication_token
optional |
Upstream authentication token string for yum repositories. Validations:
|
deb_releases
optional |
whitespace-separated list of releases to be synced from deb-archive Validations:
|
deb_components
optional |
whitespace-separated list of repo components to be synced from deb-archive Validations:
|
deb_architectures
optional |
whitespace-separated list of architectures to be synced from deb-archive Validations:
|
ignorable_content
optional |
List of content units to ignore while syncing a yum repository. Must be subset of srpm,treeinfo Validations:
|
ansible_collection_requirements
optional |
Contents of requirement yaml file to sync from URL Validations:
|
ansible_collection_auth_url
optional |
The URL to receive a session token from, e.g. used with Automation Hub. Validations:
|
ansible_collection_auth_token
optional |
The token key to use for authentication. Validations:
|
http_proxy_policy
optional |
policies for HTTP proxy for content sync Validations:
|
http_proxy_id
optional |
ID of a HTTP Proxy Validations:
|
arch
optional |
Architecture of content in the repository Validations:
|
retain_package_versions_count
optional |
The maximum number of versions of each package to keep. Validations:
|
metadata_expire
optional |
Time to expire yum metadata in seconds. Only relevant for custom yum repositories. Validations:
|
depth
optional |
An option to specify how many ostree commits to traverse. Validations:
|
exclude_refs
optional |
A comma-separated list of tags to exclude during an ostree sync. The wildcards *, ? are recognized. 'exclude_refs' is evaluated after 'include_refs'. Validations:
|
include_refs
optional |
A comma-separated list of refs to include during an ostree sync. The wildcards *, ? are recognized. Validations:
|
excludes
optional |
Python packages to exclude from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. Validations:
|
includes
optional |
Python packages to include from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. Leave empty to include every package. Validations:
|
package_types
optional |
Package types to sync for Python content, separated by comma. Leave empty to get every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg, bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist. Validations:
|
Param name | Description |
---|---|
id
required |
Validations:
|
remove_from_content_view_versions
optional |
Force delete the repository by removing it from all content view versions Validations:
|
delete_empty_repo_filters
optional |
Delete content view filters that have this repository as the last associated repository. Defaults to true. If false, such filters will now apply to all repositories in the content view. Validations:
|
Remove content from a repository
Param name | Description |
---|---|
id
required |
repository ID Validations:
|
ids
required |
Array of content ids to remove Validations:
|
content_type
optional |
The type of content to remove (srpm, docker_manifest, etc.). Check removable types here: /katello/api/repositories/repository_types Validations:
|
sync_capsule
optional |
Whether or not to sync an external capsule after upload. Default: true Validations:
|
Param name | Description |
---|---|
id
required |
repository ID Validations:
|
content
required |
Content files to upload. Can be a single file or array of files. Validations:
|
content_type
optional |
The type of content to upload (srpm, file, etc.). Check uploadable types here: /katello/api/repositories/repository_types Validations:
|
Param name | Description |
---|---|
id
required |
Repository id Validations:
|
async
optional |
Do not wait for the ImportUpload action to finish. Default: false Validations:
|
publish_repository
optional |
Whether or not to regenerate the repository on disk. Default: true Validations:
|
sync_capsule
optional |
Whether or not to sync an external capsule after upload. Default: true Validations:
|
content_type
optional |
content type ('deb', 'docker_manifest', 'file', 'ostree_ref', 'rpm', 'srpm') Validations:
|
uploads
optional |
Array of uploads to import Validations:
|
uploads[id]
required |
Validations:
|
uploads[content_unit_id]
optional |
Validations:
|
uploads[size]
optional |
Validations:
|
uploads[checksum]
optional |
Validations:
|
uploads[name]
required |
Needs to only be set for file repositories or docker tags Validations:
|
uploads[digest]
optional |
Needs to only be set for docker tags Validations:
|
Param name | Description |
---|---|
id
required |
Validations:
|