naftiko: 1.0.0-alpha2 info: label: Harbor API — Redemptions description: 'Harbor API — Redemptions. 2 operations. Lead operation: Harbor List redemptions. Self-contained Naftiko capability covering one Harbor business surface.' tags: - Harbor - Redemptions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HARBOR_API_KEY: HARBOR_API_KEY capability: consumes: - type: http namespace: harbor-redemptions baseUri: https://api.harbor.gg/v1 description: Harbor API — Redemptions business capability. Self-contained, no shared references. resources: - name: communities-communityId-redemptions path: /communities/{communityId}/redemptions operations: - name: listredemptions method: GET description: Harbor List redemptions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by redemption status. - name: createredemption method: POST description: Harbor Create a redemption request 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.HARBOR_API_KEY}}' exposes: - type: rest namespace: harbor-redemptions-rest port: 8080 description: REST adapter for Harbor API — Redemptions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/communities/{communityid}/redemptions name: communities-communityid-redemptions description: REST surface for communities-communityId-redemptions. operations: - method: GET name: listredemptions description: Harbor List redemptions call: harbor-redemptions.listredemptions with: status: rest.status outputParameters: - type: object mapping: $. - method: POST name: createredemption description: Harbor Create a redemption request call: harbor-redemptions.createredemption with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: harbor-redemptions-mcp port: 9090 transport: http description: MCP adapter for Harbor API — Redemptions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: harbor-list-redemptions description: Harbor List redemptions hints: readOnly: true destructive: false idempotent: true call: harbor-redemptions.listredemptions with: status: tools.status outputParameters: - type: object mapping: $. - name: harbor-create-redemption-request description: Harbor Create a redemption request hints: readOnly: false destructive: false idempotent: false call: harbor-redemptions.createredemption with: body: tools.body outputParameters: - type: object mapping: $.