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