GET /katello/api/repositories
有効にされたリポジトリーの一覧

GET /katello/api/content_views/:id/repositories
コンテンツビューのリポジトリーの一覧

GET /katello/api/organizations/:organization_id/repositories
List of repositories in an organization

GET /katello/api/organizations/:organization_id/environments/:environment_id/repositories
List repositories in the environment

GET /katello/api/products/:product_id/repositories
List of repositories for a product

GET /katello/api/environments/:environment_id/products/:product_id/repositories
List of repositories belonging to a product in an environment

パラメーター

パラメーター名 記述
organization_id
任意

リポジトリーを表示させる組織の ID

Validations:

  • number.

product_id
任意

表示するリポジトリーの対象となる製品の ID

Validations:

  • number.

environment_id
任意

リポジトリーを表示させる環境の ID

Validations:

  • number.

content_view_id
任意

リポジトリーを表示させるコンテンツビューの ID

Validations:

  • number.

content_view_version_id
任意

リポジトリーを表示させるコンテンツビューバージョンの ID

Validations:

  • number.

deb_id
任意

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

Validations:

  • String

erratum_id
任意

Id of an erratum to find repositories that contain the erratum

Validations:

  • String

rpm_id
任意

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

Validations:

  • String

ostree_branch_id
任意

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

Validations:

  • String

library
任意

ライブラリーのリポジトリーおよびデフォルトコンテンツビューの表示

Validations:

  • boolean

content_type
任意

limit to only repositories of this type

Validations:

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

name
任意

リポジトリーの名前

Validations:

  • String

available_for
任意

interpret specified object to return only Repositories that can be associated with specified object. Only 'content_view' is supported.

Validations:

  • String

search
任意

検索文字列

Validations:

  • String

page
任意

1 から始まるページ番号

Validations:

  • number.

per_page
任意

戻されるページごとの結果数

Validations:

  • number.

order
任意

フィールドと順序のソート (例: 'name DESC')

Validations:

  • String

full_result
任意

すべての結果を表示するかどうか

Validations:

  • boolean

sort
任意

ハッシュバージョンの 'order' パラメーター

Validations:

  • Hash

sort[by]
任意

結果をソートするフィールド

Validations:

  • String

sort[order]
任意

ソートされた結果を順序付ける方法 (例: ascending (昇順) の ASC)

Validations:

  • String


POST /katello/api/repositories
カスタムリポジトリーの作成

パラメーター

パラメーター名 記述
name
必須

Validations:

  • String

label
任意

Validations:

  • String

product_id
必須

リポジトリーが属する製品

Validations:

  • number.

content_type
必須

type of repo (either 'yum', 'deb', 'puppet', 'docker', or 'ostree')

Validations:

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

url
任意

リポジトリーソース URL

Validations:

  • String

gpg_key_id
任意

新規リポジトリーに割り当てられる GPG キーの ID

Validations:

  • number.

unprotected
任意

このリポジトリーが HHTP 経由で公開できる場合は true

Validations:

  • boolean

checksum_type
任意

checksum of the repository, currently 'sha1' & 'sha256' are supported.

Validations:

  • String

docker_upstream_name
任意

アップストリーム Docker リポジトリー

Validations:

  • String

download_policy
任意

download policy for yum repos (either 'immediate', 'on_demand', or 'background')

Validations:

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

mirror_on_sync
任意

true if this repository when synced has to be mirrored from the source and stale rpms removed.

Validations:

  • boolean

verify_ssl_on_sync
任意

if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA.

Validations:

  • boolean

upstream_username
任意

Username of the upstream repository user used for authentication

Validations:

  • String

upstream_password
任意

Password of the upstream repository user used for authentication

Validations:

  • String

ostree_upstream_sync_policy
任意

policies for syncing upstream ostree repositories.

Validations:

  • Must be one of: latest, all, custom.

ostree_upstream_sync_depth
任意

if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided.

Validations:

  • number.

deb_releases
任意

comma separated list of releases to be synched from deb-archive

Validations:

  • String

deb_components
任意

comma separated list of repo components to be synched from deb-archive

Validations:

  • String

deb_architectures
任意

comma separated list of architectures to be synched from deb-archive

Validations:

  • String

ignore_global_proxy
任意

if true, will ignore the globally configured proxy when syncing.

Validations:

  • boolean


GET /katello/api/repositories/repository_types
Show the available repository types

パラメーター

パラメーター名 記述
creatable
任意

When set to 'True' repository types that are creatable will be returned

Validations:

  • boolean


PUT /katello/api/repositories/:id/republish
Forces a republish of the specified repository, regenerating metadata and symlinks on the filesystem.

パラメーター

パラメーター名 記述
id
必須

Repository identifier

Validations:

  • number.


GET /katello/api/repositories/:id
Show a repository

パラメーター

パラメーター名 記述
id
必須

リポジトリー ID

Validations:

  • number.


POST /katello/api/repositories/:id/sync
リポジトリーの同期

パラメーター

パラメーター名 記述
id
必須

リポジトリー ID

Validations:

  • number.

source_url
任意

temporarily override feed URL for sync

Validations:

  • String

incremental
任意

perform an incremental import

Validations:

  • boolean

skip_metadata_check
任意

Force sync even if no upstream changes are detected. Only used with yum repositories.

Validations:

  • boolean

validate_contents
任意

Force a sync and validate the checksums of all content. Only used with yum repositories.

Validations:

  • boolean


POST /katello/api/repositories/:id/export
Export a repository

パラメーター

パラメーター名 記述
id
必須

Repository identifier

Validations:

  • number.

export_to_iso
任意

Export to ISO format

Validations:

  • boolean

iso_mb_size
任意

maximum size of each ISO in MB

Validations:

  • number.

since
任意

Optional date of last export (ex: 2010-01-01T12:00:00Z)

Validations:

  • Date


PUT /katello/api/repositories/:id
リポジトリーの更新

パラメーター

パラメーター名 記述
id
必須

リポジトリー ID

Validations:

  • number.

name
任意

Validations:

  • String

url
任意

リポジトリーソース URL

Validations:

  • String

gpg_key_id
任意

新規リポジトリーに割り当てられる GPG キーの ID

Validations:

  • number.

unprotected
任意

このリポジトリーが HHTP 経由で公開できる場合は true

Validations:

  • boolean

checksum_type
任意

checksum of the repository, currently 'sha1' & 'sha256' are supported.

Validations:

  • String

docker_upstream_name
任意

アップストリーム Docker リポジトリー

Validations:

  • String

download_policy
任意

download policy for yum repos (either 'immediate', 'on_demand', or 'background')

Validations:

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

mirror_on_sync
任意

true if this repository when synced has to be mirrored from the source and stale rpms removed.

Validations:

  • boolean

verify_ssl_on_sync
任意

if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA.

Validations:

  • boolean

upstream_username
任意

Username of the upstream repository user used for authentication

Validations:

  • String

upstream_password
任意

Password of the upstream repository user used for authentication

Validations:

  • String

ostree_upstream_sync_policy
任意

policies for syncing upstream ostree repositories.

Validations:

  • Must be one of: latest, all, custom.

ostree_upstream_sync_depth
任意

if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided.

Validations:

  • number.

deb_releases
任意

comma separated list of releases to be synched from deb-archive

Validations:

  • String

deb_components
任意

comma separated list of repo components to be synched from deb-archive

Validations:

  • String

deb_architectures
任意

comma separated list of architectures to be synched from deb-archive

Validations:

  • String

ignore_global_proxy
任意

if true, will ignore the globally configured proxy when syncing.

Validations:

  • boolean


DELETE /katello/api/repositories/:id
カスタムリポジトリーの破棄

パラメーター

パラメーター名 記述
id
必須

Validations:

  • number.


POST /katello/api/repositories/sync_complete

URL for post sync notification from pulp

パラメーター

パラメーター名 記述
token
必須

共有シークレットトークン

Validations:

  • String

payload
必須

Validations:

  • Hash

payload[repo_id]
必須

Validations:

  • String

call_report
必須

Validations:

  • Hash

call_report[task_id]
必須

Validations:

  • String


PUT /katello/api/repositories/:id/remove_packages

PUT /katello/api/repositories/:id/remove_docker_manifests

PUT /katello/api/repositories/:id/remove_puppet_modules

PUT /katello/api/repositories/:id/remove_content

Remove content from a repository

パラメーター

パラメーター名 記述
id
必須

リポジトリー ID

Validations:

  • number.

ids
必須

Array of content ids to remove

Validations:

  • Must be an array of any type

sync_capsule
任意

Whether or not to sync an external capsule after upload. Default: true

Validations:

  • boolean


POST /katello/api/repositories/:id/upload_content
コンテンツをリポジトリーにアップロード

パラメーター

パラメーター名 記述
id
必須

リポジトリー ID

Validations:

  • number.

content
必須

アップロードするコンテンツファイルです。単一ファイルまたはファイルの配列を指定できます。

Validations:

  • File


PUT /katello/api/repositories/:id/import_uploads
アップロードをリポジトリーにインポート

パラメーター

パラメーター名 記述
id
必須

リポジトリー ID

Validations:

  • number.

upload_ids
任意

インポートするアップロード ID の配列

Validations:

  • Must be an array of any type

async
任意

Do not wait for the ImportUpload action to finish. Default: false

Validations:

  • boolean

publish_repository
任意

Whether or not to regenerate the repository on disk. Default: true

Validations:

  • boolean

sync_capsule
任意

Whether or not to sync an external capsule after upload. Default: true

Validations:

  • boolean

uploads
任意

Array of uploads to import

Validations:

  • Must be an Array of nested elements

uploads[id]
必須

Validations:

  • String

uploads[size]
任意

Validations:

  • String

uploads[checksum]
任意

Validations:

  • String

uploads[name]
任意

Needs to only be set for file repositories

Validations:

  • String


GET /katello/api/repositories/:id/gpg_key_content
yum で直接使用されるリポジトリー GPG キーのコンテンツを戻す

パラメーター

パラメーター名 記述
id
必須

Validations:

  • number.