naftiko: 1.0.0-alpha2 info: label: Longhorn Manager API — BackingImages description: 'Longhorn Manager API — BackingImages. 2 operations. Lead operation: Longhorn List backing images. Self-contained Naftiko capability covering one Longhorn business surface.' tags: - Longhorn - BackingImages created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LONGHORN_API_KEY: LONGHORN_API_KEY capability: consumes: - type: http namespace: manager-backingimages baseUri: http://{longhornManagerHost}:{longhornManagerPort} description: Longhorn Manager API — BackingImages business capability. Self-contained, no shared references. resources: - name: v1-backingimages path: /v1/backingimages operations: - name: listbackingimages method: GET description: Longhorn List backing images outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createbackingimage method: POST description: Longhorn Create a backing image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.LONGHORN_API_KEY}}' exposes: - type: rest namespace: manager-backingimages-rest port: 8080 description: REST adapter for Longhorn Manager API — BackingImages. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/backingimages name: v1-backingimages description: REST surface for v1-backingimages. operations: - method: GET name: listbackingimages description: Longhorn List backing images call: manager-backingimages.listbackingimages outputParameters: - type: object mapping: $. - method: POST name: createbackingimage description: Longhorn Create a backing image call: manager-backingimages.createbackingimage with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: manager-backingimages-mcp port: 9090 transport: http description: MCP adapter for Longhorn Manager API — BackingImages. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: longhorn-list-backing-images description: Longhorn List backing images hints: readOnly: true destructive: false idempotent: true call: manager-backingimages.listbackingimages outputParameters: - type: object mapping: $. - name: longhorn-create-backing-image description: Longhorn Create a backing image hints: readOnly: false destructive: false idempotent: false call: manager-backingimages.createbackingimage with: body: tools.body outputParameters: - type: object mapping: $.