参数名字 | 描述 |
---|---|
organization_id 选填 |
显示所包含的库的机构 ID Validations:
|
product_id 选填 |
显示所包含库的产品 ID Validations:
|
environment_id 选填 |
显示所包含库的环境 ID Validations:
|
content_view_id 选填 |
显示库所在内容视图的 ID Validations:
|
content_view_version_id 选填 |
显示所包含库的内容视图版本 ID Validations:
|
deb_id 选填 |
Id of a deb package to find repositories that contain the deb Validations:
|
erratum_id 选填 |
Id of an erratum to find repositories that contain the erratum Validations:
|
rpm_id 选填 |
Id of a rpm package to find repositories that contain the rpm Validations:
|
ostree_branch_id 选填 |
Id of an ostree branch to find repositories that contain that branch Validations:
|
library 选填 |
在 Library 及默认内容视图中显示库 Validations:
|
content_type 选填 |
limit to only repositories of this type Validations:
|
name 选填 |
库名称 Validations:
|
available_for 选填 |
interpret specified object to return only Repositories that can be associated with specified object. Only 'content_view' is supported. Validations:
|
search 选填 |
搜索字符串 Validations:
|
page 选填 |
页号,从 1 开始 Validations:
|
per_page 选填 |
每页中显示的返回结果数 Validations:
|
order 选填 |
排序字段及顺序,例如:'name DESC' Validations:
|
full_result 选填 |
无论如何显示所有结果 Validations:
|
sort 选填 |
'order' 参数的哈希版本 Validations:
|
sort[by] 选填 |
结果排序字段 Validations:
|
sort[order] 选填 |
如何对分类结果进行排序(例如:ASC 代表升序) Validations:
|
参数名字 | 描述 |
---|---|
name 必填 |
Validations:
|
label 选填 |
Validations:
|
product_id 必填 |
所生成库属于 Validations:
|
content_type 必填 |
type of repo (either 'yum', 'deb', 'puppet', 'docker', or 'ostree') Validations:
|
url 选填 |
库源 url Validations:
|
gpg_key_id 选填 |
要为新库分配的 gpg 密钥 id Validations:
|
unprotected 选填 |
如果可通过 HTTP 发布则为 true Validations:
|
checksum_type 选填 |
checksum of the repository, currently 'sha1' & 'sha256' are supported. Validations:
|
docker_upstream_name 选填 |
upstream docker 库名称 Validations:
|
download_policy 选填 |
download policy for yum repos (either 'immediate', 'on_demand', or 'background') Validations:
|
mirror_on_sync 选填 |
true if this repository when synced has to be mirrored from the source and stale rpms removed. Validations:
|
verify_ssl_on_sync 选填 |
if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA. Validations:
|
upstream_username 选填 |
Username of the upstream repository user used for authentication Validations:
|
upstream_password 选填 |
Password of the upstream repository user used for authentication Validations:
|
ostree_upstream_sync_policy 选填 |
policies for syncing upstream ostree repositories. Validations:
|
ostree_upstream_sync_depth 选填 |
if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided. Validations:
|
deb_releases 选填 |
comma separated list of releases to be synched from deb-archive Validations:
|
deb_components 选填 |
comma separated list of repo components to be synched from deb-archive Validations:
|
deb_architectures 选填 |
comma separated list of architectures to be synched from deb-archive Validations:
|
ignore_global_proxy 选填 |
if true, will ignore the globally configured proxy when syncing. Validations:
|
参数名字 | 描述 |
---|---|
creatable 选填 |
When set to 'True' repository types that are creatable will be returned Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
Repository identifier Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
库 ID Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
库 ID Validations:
|
source_url 选填 |
temporarily override feed URL for sync Validations:
|
incremental 选填 |
perform an incremental import Validations:
|
skip_metadata_check 选填 |
Force sync even if no upstream changes are detected. Only used with yum repositories. Validations:
|
validate_contents 选填 |
Force a sync and validate the checksums of all content. Only used with yum repositories. Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
Repository identifier Validations:
|
export_to_iso 选填 |
Export to ISO format Validations:
|
iso_mb_size 选填 |
maximum size of each ISO in MB Validations:
|
since 选填 |
Optional date of last export (ex: 2010-01-01T12:00:00Z) Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
库 ID Validations:
|
name 选填 |
Validations:
|
url 选填 |
库源 url Validations:
|
gpg_key_id 选填 |
要为新库分配的 gpg 密钥 id Validations:
|
unprotected 选填 |
如果可通过 HTTP 发布则为 true Validations:
|
checksum_type 选填 |
checksum of the repository, currently 'sha1' & 'sha256' are supported. Validations:
|
docker_upstream_name 选填 |
upstream docker 库名称 Validations:
|
download_policy 选填 |
download policy for yum repos (either 'immediate', 'on_demand', or 'background') Validations:
|
mirror_on_sync 选填 |
true if this repository when synced has to be mirrored from the source and stale rpms removed. Validations:
|
verify_ssl_on_sync 选填 |
if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA. Validations:
|
upstream_username 选填 |
Username of the upstream repository user used for authentication Validations:
|
upstream_password 选填 |
Password of the upstream repository user used for authentication Validations:
|
ostree_upstream_sync_policy 选填 |
policies for syncing upstream ostree repositories. Validations:
|
ostree_upstream_sync_depth 选填 |
if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided. Validations:
|
deb_releases 选填 |
comma separated list of releases to be synched from deb-archive Validations:
|
deb_components 选填 |
comma separated list of repo components to be synched from deb-archive Validations:
|
deb_architectures 选填 |
comma separated list of architectures to be synched from deb-archive Validations:
|
ignore_global_proxy 选填 |
if true, will ignore the globally configured proxy when syncing. Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
Validations:
|
URL for post sync notification from pulp
参数名字 | 描述 |
---|---|
token 必填 |
共享的秘密 token Validations:
|
payload 必填 |
Validations:
|
payload[repo_id] 必填 |
Validations:
|
call_report 必填 |
Validations:
|
call_report[task_id] 必填 |
Validations:
|
Remove content from a repository
参数名字 | 描述 |
---|---|
id 必填 |
库 ID Validations:
|
ids 必填 |
Array of content ids to remove Validations:
|
sync_capsule 选填 |
Whether or not to sync an external capsule after upload. Default: true Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
库 ID Validations:
|
content 必填 |
要上传的内容文件。可以是单一文件,也可以是文件数组。 Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
库 id Validations:
|
upload_ids 选填 |
要导入的上传 id 阵列 Validations:
|
async 选填 |
Do not wait for the ImportUpload action to finish. Default: false Validations:
|
publish_repository 选填 |
Whether or not to regenerate the repository on disk. Default: true Validations:
|
sync_capsule 选填 |
Whether or not to sync an external capsule after upload. Default: true Validations:
|
uploads 选填 |
Array of uploads to import Validations:
|
uploads[id] 必填 |
Validations:
|
uploads[size] 选填 |
Validations:
|
uploads[checksum] 选填 |
Validations:
|
uploads[name] 选填 |
Needs to only be set for file repositories Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
Validations:
|