capabilities.work

Satellite Create Content View

A 3-step recipe with Red Hat. We can help you get access.

Recipe · 3 steps

Satellite Create Content View

with Red Hat

Resolve an organization, list its repositories, and create a content view.

  1. List organizations and capture the id of the first organization to scope the content view to.
  2. List the repositories available in the resolved organization and capture the id of the first repository to include in the content view.
  3. Create a content view in the organization that includes the selected repository.
What you'll need to have ready
  • token: Bearer token for the Satellite API.
  • name: The name for the new content view.
  • description: A description of the content view.
  • contentType: Filter repositories by content type (e.g. yum, docker).
For your developer

Arazzo workflow red-hat:create-content-view, 3 operations: getApiV2Organizations → getKatelloApiV2Repositories → createContentView. Specs on APIs.io.