Red Hat · Arazzo Workflow

Red Hat Satellite Create Content View

Version 1.0.0

Resolve an organization, select repositories, and create a content view from them.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub CloudContainersEnterpriseHybrid CloudKubernetesLinuxOpen-SourceArazzoWorkflows

Provider

red-hat

Workflows

create-content-view
Resolve an organization, list its repositories, and create a content view.
Lists organizations, lists the repositories in the resolved organization, and creates a content view including the first repository.
3 steps inputs: contentType, description, name, token outputs: organizationId, repositoryId
1
resolveOrganization
List organizations and capture the id of the first organization to scope the content view to.
2
listRepositories
List the repositories available in the resolved organization and capture the id of the first repository to include in the content view.
3
createContentView
Create a content view in the organization that includes the selected repository.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Red Hat Satellite Create Content View
  summary: Resolve an organization, select repositories, and create a content view from them.
  description: >-
    A content curation flow for Red Hat Satellite (Katello). The workflow
    resolves the target organization, lists the repositories available in that
    organization, and creates a new content view that includes the selected
    repositories so curated content can be promoted through lifecycle
    environments. Each step inlines its bearer token, parameters, request body,
    documented success criteria, and outputs.
  version: 1.0.0
sourceDescriptions:
- name: contentViewsApi
  url: ../openapi/red-hat-content-views-api-openapi.yml
  type: openapi
- name: organizationsApi
  url: ../openapi/red-hat-organizations-api-openapi.yml
  type: openapi
- name: repositoriesApi
  url: ../openapi/red-hat-repositories-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-content-view
  summary: Resolve an organization, list its repositories, and create a content view.
  description: >-
    Lists organizations, lists the repositories in the resolved organization,
    and creates a content view including the first repository.
  inputs:
    type: object
    required:
    - token
    - name
    properties:
      token:
        type: string
        description: Bearer token for the Satellite API.
      name:
        type: string
        description: The name for the new content view.
      description:
        type: string
        description: A description of the content view.
      contentType:
        type: string
        description: Filter repositories by content type (e.g. yum, docker).
  steps:
  - stepId: resolveOrganization
    description: >-
      List organizations and capture the id of the first organization to scope
      the content view to.
    operationId: listOrganizations
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      organizationId: $response.body#/results/0/id
    onSuccess:
    - name: hasOrg
      type: goto
      stepId: listRepositories
      criteria:
      - context: $response.body
        condition: $.results.length > 0
        type: jsonpath
    - name: noOrg
      type: end
      criteria:
      - context: $response.body
        condition: $.results.length == 0
        type: jsonpath
  - stepId: listRepositories
    description: >-
      List the repositories available in the resolved organization and capture
      the id of the first repository to include in the content view.
    operationId: listRepositories
    parameters:
    - name: organization_id
      in: query
      value: $steps.resolveOrganization.outputs.organizationId
    - name: content_type
      in: query
      value: $inputs.contentType
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      repositoryId: $response.body#/results/0/id
  - stepId: createContentView
    description: >-
      Create a content view in the organization that includes the selected
      repository.
    operationId: createContentView
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        description: $inputs.description
        organization_id: $steps.resolveOrganization.outputs.organizationId
        repository_ids:
        - $steps.listRepositories.outputs.repositoryId
    successCriteria:
    - condition: $statusCode == 201
  outputs:
    organizationId: $steps.resolveOrganization.outputs.organizationId
    repositoryId: $steps.listRepositories.outputs.repositoryId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/red-hat-satellite-create-content-view-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.