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:
|
ostree_branch_id optional |
Id of an ostree branch to find repositories that contain that branch Validations:
|
library optional |
show repositories in Library and the default content view Validations:
|
archived optional |
show archived repositories Validations:
|
content_type optional |
limit to only repositories of this type 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 |
only repositories having at least one of the specified content type ex: rpm , erratum Validations:
|
download_policy optional |
limit to only repositories with this download policy 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 |
---|---|
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 repo Validations:
|
url optional |
repository source url Validations:
|
os_versions optional |
Identifies whether the repository should be disabled on a client with a non-matching OS version. Pass [] to enable regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8 Validations:
|
gpg_key_id optional |
id of the gpg key that will be assigned to the new repository Validations:
|
ssl_ca_cert_id optional |
Identifier of the content credential containing the SSL CA Cert Validations:
|
ssl_client_cert_id optional |
Identifier of the content credential containing the SSL Client Cert Validations:
|
ssl_client_key_id optional |
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 of the repository, currently ‘sha1’ & ‘sha256’ are supported Validations:
|
docker_upstream_name optional |
Name of the upstream docker repository Validations:
|
docker_tags_whitelist optional |
Comma-separated list of tags to sync for Container Image repository Validations:
|
download_policy optional |
download policy for yum repos (either ‘immediate’, ‘on_demand’, or ‘background (deprecated)’) Validations:
|
download_concurrency optional |
Used to determine download concurrency of the repository in pulp3. Use value less than 20. Defaults to 10 Validations:
|
mirror_on_sync optional |
true if this repository when synced has to be mirrored from the source and stale rpms removed 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:
|
ostree_upstream_sync_policy optional |
policies for syncing upstream ostree repositories Validations:
|
ostree_upstream_sync_depth optional |
if a custom sync policy is chosen for ostree repositories then a ‘depth’ value must be provided Validations:
|
deb_releases optional |
comma-separated list of releases to be synced from deb-archive Validations:
|
deb_components optional |
comma-separated list of repo components to be synced from deb-archive Validations:
|
deb_architectures optional |
comma-separated list of architectures to be synced from deb-archive Validations:
|
ignore_global_proxy optional |
if true, will ignore the globally configured proxy when syncing Validations:
|
ignorable_content optional |
List of content units to ignore while syncing a yum repository. Must be subset of rpm,drpm,srpm,distribution,erratum Validations:
|
ansible_collection_requirements optional |
Contents of requirement yaml file to sync from URL Validations:
|
http_proxy_policy optional |
policies for HTTP proxy for content sync Validations:
|
http_proxy_id optional |
ID of a HTTP Proxy 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:
|
Param name | Description |
---|---|
id required |
repository ID Validations:
|
organization_id optional |
Organization ID Validations:
|
Param name | Description |
---|---|
id required |
repository ID Validations:
|
source_url optional |
temporarily override feed URL for sync 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 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 identifier Validations:
|
export_to_iso optional |
Export to ISO format Validations:
|
iso_mb_size optional |
maximum size of each ISO in MB Validations:
|
since optional |
Optional date of last export (ex: 2010-01-01T12:00:00Z) 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 disabled on a client with a non-matching OS version. Pass [] to enable regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8 Validations:
|
gpg_key_id optional |
id of the gpg key that will be assigned to the new repository Validations:
|
ssl_ca_cert_id optional |
Identifier of the content credential containing the SSL CA Cert Validations:
|
ssl_client_cert_id optional |
Identifier of the content credential containing the SSL Client Cert Validations:
|
ssl_client_key_id optional |
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 of the repository, currently ‘sha1’ & ‘sha256’ are supported Validations:
|
docker_upstream_name optional |
Name of the upstream docker repository Validations:
|
docker_tags_whitelist optional |
Comma-separated list of tags to sync for Container Image repository Validations:
|
download_policy optional |
download policy for yum repos (either ‘immediate’, ‘on_demand’, or ‘background (deprecated)’) Validations:
|
download_concurrency optional |
Used to determine download concurrency of the repository in pulp3. Use value less than 20. Defaults to 10 Validations:
|
mirror_on_sync optional |
true if this repository when synced has to be mirrored from the source and stale rpms removed 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:
|
ostree_upstream_sync_policy optional |
policies for syncing upstream ostree repositories Validations:
|
ostree_upstream_sync_depth optional |
if a custom sync policy is chosen for ostree repositories then a ‘depth’ value must be provided Validations:
|
deb_releases optional |
comma-separated list of releases to be synced from deb-archive Validations:
|
deb_components optional |
comma-separated list of repo components to be synced from deb-archive Validations:
|
deb_architectures optional |
comma-separated list of architectures to be synced from deb-archive Validations:
|
ignore_global_proxy optional |
if true, will ignore the globally configured proxy when syncing Validations:
|
ignorable_content optional |
List of content units to ignore while syncing a yum repository. Must be subset of rpm,drpm,srpm,distribution,erratum Validations:
|
ansible_collection_requirements optional |
Contents of requirement yaml file to sync from URL Validations:
|
http_proxy_policy optional |
policies for HTTP proxy for content sync Validations:
|
http_proxy_id optional |
ID of a HTTP Proxy Validations:
|
Param name | Description |
---|---|
id required |
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 |
content type (‘deb’, ‘docker_manifest’, ‘file’, ‘ostree’, ‘puppet_module’, ‘rpm’, ‘srpm’) 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 |
content type (‘deb’, ‘docker_manifest’, ‘file’, ‘ostree’, ‘puppet_module’, ‘rpm’, ‘srpm’) 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’, ‘puppet_module’, ‘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] optional |
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:
|