naftiko: 1.0.0-alpha2 info: label: GitHub Application API — Reviews description: 'GitHub Application API — Reviews. 1 operations. Lead operation: GitHub Get the Review History Forworkflow Run. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Reviews created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: app-reviews baseUri: '' description: GitHub Application API — Reviews business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-actions-runs-run_id-approvals path: /repos/{owner}/{repo}/actions/runs/{run_id}/approvals operations: - name: getthereviewhistoryforworkflowrun method: GET description: GitHub Get the Review History Forworkflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: app-reviews-rest port: 8080 description: REST adapter for GitHub Application API — Reviews. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals name: repos-owner-repo-actions-runs-run-id-approvals description: REST surface for repos-owner-repo-actions-runs-run_id-approvals. operations: - method: GET name: getthereviewhistoryforworkflowrun description: GitHub Get the Review History Forworkflow Run call: app-reviews.getthereviewhistoryforworkflowrun outputParameters: - type: object mapping: $. - type: mcp namespace: app-reviews-mcp port: 9090 transport: http description: MCP adapter for GitHub Application API — Reviews. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-get-review-history-forworkflow description: GitHub Get the Review History Forworkflow Run hints: readOnly: true destructive: false idempotent: true call: app-reviews.getthereviewhistoryforworkflowrun outputParameters: - type: object mapping: $.