naftiko: 1.0.0-alpha2 info: label: Red Hat Satellite REST API — Lifecycle Environments description: 'Red Hat Satellite REST API — Lifecycle Environments. 3 operations. Lead operation: List Lifecycle Environments. Self-contained Naftiko capability covering one Red Hat Satellite business surface.' tags: - Red Hat Satellite - Lifecycle Environments 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-lifecycle-environments baseUri: https://satellite.example.com description: Red Hat Satellite REST API — Lifecycle Environments business capability. Self-contained, no shared references. resources: - name: katello-api-v2-organizations-organization_id-environments path: /katello/api/v2/organizations/{organization_id}/environments operations: - name: listlifecycleenvironments method: GET description: List Lifecycle Environments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organization_id in: path type: integer description: Organization identifier. required: true - name: library in: query type: boolean description: Include the Library lifecycle environment. - name: name in: query type: string description: Filter by lifecycle environment name. - name: label in: query type: string description: Filter by lifecycle environment label. - name: createlifecycleenvironment method: POST description: Create a Lifecycle Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organization_id in: path type: integer description: Organization identifier. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: katello-api-v2-organizations-organization_id-environments-paths path: /katello/api/v2/organizations/{organization_id}/environments/paths operations: - name: listlifecycleenvironmentpaths method: GET description: List Lifecycle Environment Paths outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organization_id in: path type: integer description: Organization identifier. required: true authentication: type: bearer token: '{{env.RED_HAT_SATELLITE_API_KEY}}' exposes: - type: rest namespace: red-hat-satellite-lifecycle-environments-rest port: 8080 description: REST adapter for Red Hat Satellite REST API — Lifecycle Environments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/katello/api/v2/organizations/{organization-id}/environments name: katello-api-v2-organizations-organization-id-environments description: REST surface for katello-api-v2-organizations-organization_id-environments. operations: - method: GET name: listlifecycleenvironments description: List Lifecycle Environments call: red-hat-satellite-lifecycle-environments.listlifecycleenvironments with: organization_id: rest.organization_id library: rest.library name: rest.name label: rest.label outputParameters: - type: object mapping: $. - method: POST name: createlifecycleenvironment description: Create a Lifecycle Environment call: red-hat-satellite-lifecycle-environments.createlifecycleenvironment with: organization_id: rest.organization_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/katello/api/v2/organizations/{organization-id}/environments/paths name: katello-api-v2-organizations-organization-id-environments-paths description: REST surface for katello-api-v2-organizations-organization_id-environments-paths. operations: - method: GET name: listlifecycleenvironmentpaths description: List Lifecycle Environment Paths call: red-hat-satellite-lifecycle-environments.listlifecycleenvironmentpaths with: organization_id: rest.organization_id outputParameters: - type: object mapping: $. - type: mcp namespace: red-hat-satellite-lifecycle-environments-mcp port: 9090 transport: http description: MCP adapter for Red Hat Satellite REST API — Lifecycle Environments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-lifecycle-environments description: List Lifecycle Environments hints: readOnly: true destructive: false idempotent: true call: red-hat-satellite-lifecycle-environments.listlifecycleenvironments with: organization_id: tools.organization_id library: tools.library name: tools.name label: tools.label outputParameters: - type: object mapping: $. - name: create-lifecycle-environment description: Create a Lifecycle Environment hints: readOnly: false destructive: false idempotent: false call: red-hat-satellite-lifecycle-environments.createlifecycleenvironment with: organization_id: tools.organization_id body: tools.body outputParameters: - type: object mapping: $. - name: list-lifecycle-environment-paths description: List Lifecycle Environment Paths hints: readOnly: true destructive: false idempotent: true call: red-hat-satellite-lifecycle-environments.listlifecycleenvironmentpaths with: organization_id: tools.organization_id outputParameters: - type: object mapping: $.