Red Hat Satellite · Capability

Red Hat Satellite REST API — Content Views

Red Hat Satellite REST API — Content Views. 7 operations. Lead operation: Promote a Content View Version. Self-contained Naftiko capability covering one Red Hat Satellite business surface.

Run with Naftiko Red Hat SatelliteContent Views

What You Can Do

POST
Promotecontentviewversion — Promote a Content View Version
/v1/katello/api/v2/content-view-versions/{id}/promote
GET
Listcontentviews — List Content Views
/v1/katello/api/v2/content-views
POST
Createcontentview — Create a Content View
/v1/katello/api/v2/content-views
GET
Showcontentview — Show a Content View
/v1/katello/api/v2/content-views/{id}
PUT
Updatecontentview — Update a Content View
/v1/katello/api/v2/content-views/{id}
DELETE
Deletecontentview — Delete a Content View
/v1/katello/api/v2/content-views/{id}
POST
Publishcontentview — Publish a Content View
/v1/katello/api/v2/content-views/{id}/publish

MCP Tools

promote-content-view-version

Promote a Content View Version

list-content-views

List Content Views

read-only idempotent
create-content-view

Create a Content View

show-content-view

Show a Content View

read-only idempotent
update-content-view

Update a Content View

idempotent
delete-content-view

Delete a Content View

idempotent
publish-content-view

Publish a Content View

Capability Spec

red-hat-satellite-content-views.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Red Hat Satellite REST API — Content Views
  description: 'Red Hat Satellite REST API — Content Views. 7 operations. Lead operation: Promote a Content View Version.
    Self-contained Naftiko capability covering one Red Hat Satellite business surface.'
  tags:
  - Red Hat Satellite
  - Content Views
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RED_HAT_SATELLITE_API_KEY: RED_HAT_SATELLITE_API_KEY
capability:
  consumes:
  - type: http
    namespace: red-hat-satellite-content-views
    baseUri: https://satellite.example.com
    description: Red Hat Satellite REST API — Content Views business capability. Self-contained, no shared references.
    resources:
    - name: katello-api-v2-content_view_versions-id-promote
      path: /katello/api/v2/content_view_versions/{id}/promote
      operations:
      - name: promotecontentviewversion
        method: POST
        description: Promote a Content View Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Content view version identifier.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: katello-api-v2-content_views
      path: /katello/api/v2/content_views
      operations:
      - name: listcontentviews
        method: GET
        description: List Content Views
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environment_id
          in: query
          type: integer
          description: Filter by lifecycle environment identifier.
        - name: nondefault
          in: query
          type: boolean
          description: Filter out default content views.
        - name: noncomposite
          in: query
          type: boolean
          description: Filter out composite content views.
        - name: composite
          in: query
          type: boolean
          description: Filter only composite content views.
        - name: name
          in: query
          type: string
          description: Filter by content view name.
        - name: label
          in: query
          type: string
          description: Filter by content view label.
        - name: include_generated
          in: query
          type: boolean
          description: Include import/export generated content views.
      - name: createcontentview
        method: POST
        description: Create a Content View
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: katello-api-v2-content_views-id
      path: /katello/api/v2/content_views/{id}
      operations:
      - name: showcontentview
        method: GET
        description: Show a Content View
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecontentview
        method: PUT
        description: Update a Content View
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecontentview
        method: DELETE
        description: Delete a Content View
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: katello-api-v2-content_views-id-publish
      path: /katello/api/v2/content_views/{id}/publish
      operations:
      - name: publishcontentview
        method: POST
        description: Publish a Content View
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.RED_HAT_SATELLITE_API_KEY}}'
  exposes:
  - type: rest
    namespace: red-hat-satellite-content-views-rest
    port: 8080
    description: REST adapter for Red Hat Satellite REST API — Content Views. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/katello/api/v2/content-view-versions/{id}/promote
      name: katello-api-v2-content-view-versions-id-promote
      description: REST surface for katello-api-v2-content_view_versions-id-promote.
      operations:
      - method: POST
        name: promotecontentviewversion
        description: Promote a Content View Version
        call: red-hat-satellite-content-views.promotecontentviewversion
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/katello/api/v2/content-views
      name: katello-api-v2-content-views
      description: REST surface for katello-api-v2-content_views.
      operations:
      - method: GET
        name: listcontentviews
        description: List Content Views
        call: red-hat-satellite-content-views.listcontentviews
        with:
          environment_id: rest.environment_id
          nondefault: rest.nondefault
          noncomposite: rest.noncomposite
          composite: rest.composite
          name: rest.name
          label: rest.label
          include_generated: rest.include_generated
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontentview
        description: Create a Content View
        call: red-hat-satellite-content-views.createcontentview
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/katello/api/v2/content-views/{id}
      name: katello-api-v2-content-views-id
      description: REST surface for katello-api-v2-content_views-id.
      operations:
      - method: GET
        name: showcontentview
        description: Show a Content View
        call: red-hat-satellite-content-views.showcontentview
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecontentview
        description: Update a Content View
        call: red-hat-satellite-content-views.updatecontentview
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecontentview
        description: Delete a Content View
        call: red-hat-satellite-content-views.deletecontentview
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/katello/api/v2/content-views/{id}/publish
      name: katello-api-v2-content-views-id-publish
      description: REST surface for katello-api-v2-content_views-id-publish.
      operations:
      - method: POST
        name: publishcontentview
        description: Publish a Content View
        call: red-hat-satellite-content-views.publishcontentview
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: red-hat-satellite-content-views-mcp
    port: 9090
    transport: http
    description: MCP adapter for Red Hat Satellite REST API — Content Views. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: promote-content-view-version
      description: Promote a Content View Version
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: red-hat-satellite-content-views.promotecontentviewversion
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-content-views
      description: List Content Views
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: red-hat-satellite-content-views.listcontentviews
      with:
        environment_id: tools.environment_id
        nondefault: tools.nondefault
        noncomposite: tools.noncomposite
        composite: tools.composite
        name: tools.name
        label: tools.label
        include_generated: tools.include_generated
      outputParameters:
      - type: object
        mapping: $.
    - name: create-content-view
      description: Create a Content View
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: red-hat-satellite-content-views.createcontentview
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: show-content-view
      description: Show a Content View
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: red-hat-satellite-content-views.showcontentview
      outputParameters:
      - type: object
        mapping: $.
    - name: update-content-view
      description: Update a Content View
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: red-hat-satellite-content-views.updatecontentview
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-content-view
      description: Delete a Content View
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: red-hat-satellite-content-views.deletecontentview
      outputParameters:
      - type: object
        mapping: $.
    - name: publish-content-view
      description: Publish a Content View
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: red-hat-satellite-content-views.publishcontentview
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.