naftiko: 1.0.0-alpha2 info: label: Harbor API — Rewards description: 'Harbor API — Rewards. 1 operations. Lead operation: Harbor List rewards. Self-contained Naftiko capability covering one Harbor business surface.' tags: - Harbor - Rewards created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HARBOR_API_KEY: HARBOR_API_KEY capability: consumes: - type: http namespace: harbor-rewards baseUri: https://api.harbor.gg/v1 description: Harbor API — Rewards business capability. Self-contained, no shared references. resources: - name: communities-communityId-rewards path: /communities/{communityId}/rewards operations: - name: listrewards method: GET description: Harbor List rewards outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by reward availability status. authentication: type: bearer token: '{{env.HARBOR_API_KEY}}' exposes: - type: rest namespace: harbor-rewards-rest port: 8080 description: REST adapter for Harbor API — Rewards. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/communities/{communityid}/rewards name: communities-communityid-rewards description: REST surface for communities-communityId-rewards. operations: - method: GET name: listrewards description: Harbor List rewards call: harbor-rewards.listrewards with: status: rest.status outputParameters: - type: object mapping: $. - type: mcp namespace: harbor-rewards-mcp port: 9090 transport: http description: MCP adapter for Harbor API — Rewards. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: harbor-list-rewards description: Harbor List rewards hints: readOnly: true destructive: false idempotent: true call: harbor-rewards.listrewards with: status: tools.status outputParameters: - type: object mapping: $.