GET /katello/api/capsules/:id/content/lifecycle_environments
列出附加到该 capsule 的生命周期环境

参数

参数名字 描述
id
必填

capsule 的 id

Validations:

  • Integer

organization_id
选填

用来限制环境的机构 id

Validations:

  • Integer


GET /katello/api/capsules/:id/content/available_lifecycle_environments
列出未附加到该 capsule 的生命周期环境

参数

参数名字 描述
id
必填

capsule 的 id

Validations:

  • Integer

organization_id
选填

用来限制环境的机构 id

Validations:

  • Integer


POST /katello/api/capsules/:id/content/lifecycle_environments
在 capsule 中添加生命周期环境

参数

参数名字 描述
id
必填

capsule 的 id

Validations:

  • Integer

environment_id
必填

生命周期环境 id

Validations:

  • Integer


DELETE /katello/api/capsules/:id/content/lifecycle_environments/:environment_id
从 capsule 中删除生命周期环境

参数

参数名字 描述
id
必填

capsule 的 id

Validations:

  • Integer

environment_id
必填

生命周期环境 id

Validations:

  • Integer


POST /katello/api/capsules/:id/content/sync
与 capsule 同步内容

参数

参数名字 描述
id
必填

capsule 的 id

Validations:

  • Integer

environment_id
选填

限制同步的环境 id

Validations:

  • Integer

skip_metadata_check
选填

Skip metadata check on each repository on the capsule

Validations:

  • boolean


GET /katello/api/capsules/:id/content/sync
获取当前 capsule 同步状态

参数

参数名字 描述
id
必填

capsule 的 id

Validations:

  • Integer

organization_id
选填

要获取其状态的机构 id

Validations:

  • Integer


DELETE /katello/api/capsules/:id/content/sync
取消正在运行的 capsule 同步。

参数

参数名字 描述
id
必填

capsule 的 id

Validations:

  • Integer