naftiko: 1.0.0-alpha2 info: label: GitHub Repos API — Reactions description: 'GitHub Repos API — Reactions. 14 operations. Lead operation: List Reactions For Commit Comment. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Reactions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: temp-reactions baseUri: '' description: GitHub Repos API — Reactions business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-comments-comment_id-reactions path: /repos/{owner}/{repo}/comments/{comment_id}/reactions operations: - name: listreactionsforcommitcomment method: GET description: List Reactions For Commit Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-comments-comment_id-reactions-reaction_id path: /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id} operations: - name: deletecommitcommentreaction method: DELETE description: Delete Commit Comment Reaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-comments-comment_id-reactions path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions operations: - name: listreactionsforanissuecomment method: GET description: List Reactions For An Issue Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreactionforanissuecomment method: POST description: Create Reaction For An Issue Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-issues-comments-comment_id-reactions-reaction_id path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id} operations: - name: deleteanissuecommentreaction method: DELETE description: Delete An Issue Comment Reaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-reactions path: /repos/{owner}/{repo}/issues/{issue_number}/reactions operations: - name: listreactionsforanissue method: GET description: List Reactions For An Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreactionforanissue method: POST description: Create Reaction For An Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-issues-issue_number-reactions-reaction_id path: /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id} operations: - name: deleteanissuereaction method: DELETE description: Delete An Issue Reaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-pulls-comments-comment_id-reactions path: /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions operations: - name: listreactionsforpullrequestreviewcomment method: GET description: List Reactions For Pull Request Review Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreactionforpullrequestreviewcomment method: POST description: Create Reaction For Pull Request Review Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-pulls-comments-comment_id-reactions-reaction_id path: /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id} operations: - name: deletepullrequestcommentreaction method: DELETE description: Delete Pull Request Comment Reaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-releases-release_id-reactions path: /repos/{owner}/{repo}/releases/{release_id}/reactions operations: - name: listreactionsforrelease method: GET description: List Reactions For Release outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreactionforrelease method: POST description: Create Reaction For Release outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-releases-release_id-reactions-reaction_id path: /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id} operations: - name: deletereleasereaction method: DELETE description: Delete Release Reaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: temp-reactions-rest port: 8080 description: REST adapter for GitHub Repos API — Reactions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{owner}/{repo}/comments/{comment-id}/reactions name: repos-owner-repo-comments-comment-id-reactions description: REST surface for repos-owner-repo-comments-comment_id-reactions. operations: - method: GET name: listreactionsforcommitcomment description: List Reactions For Commit Comment call: temp-reactions.listreactionsforcommitcomment with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/comments/{comment-id}/reactions/{reaction-id} name: repos-owner-repo-comments-comment-id-reactions-reaction-id description: REST surface for repos-owner-repo-comments-comment_id-reactions-reaction_id. operations: - method: DELETE name: deletecommitcommentreaction description: Delete Commit Comment Reaction call: temp-reactions.deletecommitcommentreaction with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions name: repos-owner-repo-issues-comments-comment-id-reactions description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions. operations: - method: GET name: listreactionsforanissuecomment description: List Reactions For An Issue Comment call: temp-reactions.listreactionsforanissuecomment with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreactionforanissuecomment description: Create Reaction For An Issue Comment call: temp-reactions.createreactionforanissuecomment with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions/{reaction-id} name: repos-owner-repo-issues-comments-comment-id-reactions-reaction-id description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions-reaction_id. operations: - method: DELETE name: deleteanissuecommentreaction description: Delete An Issue Comment Reaction call: temp-reactions.deleteanissuecommentreaction with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions name: repos-owner-repo-issues-issue-number-reactions description: REST surface for repos-owner-repo-issues-issue_number-reactions. operations: - method: GET name: listreactionsforanissue description: List Reactions For An Issue call: temp-reactions.listreactionsforanissue with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreactionforanissue description: Create Reaction For An Issue call: temp-reactions.createreactionforanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions/{reaction-id} name: repos-owner-repo-issues-issue-number-reactions-reaction-id description: REST surface for repos-owner-repo-issues-issue_number-reactions-reaction_id. operations: - method: DELETE name: deleteanissuereaction description: Delete An Issue Reaction call: temp-reactions.deleteanissuereaction with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions name: repos-owner-repo-pulls-comments-comment-id-reactions description: REST surface for repos-owner-repo-pulls-comments-comment_id-reactions. operations: - method: GET name: listreactionsforpullrequestreviewcomment description: List Reactions For Pull Request Review Comment call: temp-reactions.listreactionsforpullrequestreviewcomment with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreactionforpullrequestreviewcomment description: Create Reaction For Pull Request Review Comment call: temp-reactions.createreactionforpullrequestreviewcomment with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions/{reaction-id} name: repos-owner-repo-pulls-comments-comment-id-reactions-reaction-id description: REST surface for repos-owner-repo-pulls-comments-comment_id-reactions-reaction_id. operations: - method: DELETE name: deletepullrequestcommentreaction description: Delete Pull Request Comment Reaction call: temp-reactions.deletepullrequestcommentreaction with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases/{release-id}/reactions name: repos-owner-repo-releases-release-id-reactions description: REST surface for repos-owner-repo-releases-release_id-reactions. operations: - method: GET name: listreactionsforrelease description: List Reactions For Release call: temp-reactions.listreactionsforrelease with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreactionforrelease description: Create Reaction For Release call: temp-reactions.createreactionforrelease with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases/{release-id}/reactions/{reaction-id} name: repos-owner-repo-releases-release-id-reactions-reaction-id description: REST surface for repos-owner-repo-releases-release_id-reactions-reaction_id. operations: - method: DELETE name: deletereleasereaction description: Delete Release Reaction call: temp-reactions.deletereleasereaction with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - type: mcp namespace: temp-reactions-mcp port: 9090 transport: http description: MCP adapter for GitHub Repos API — Reactions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-reactions-commit-comment description: List Reactions For Commit Comment hints: readOnly: true destructive: false idempotent: true call: temp-reactions.listreactionsforcommitcomment with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: delete-commit-comment-reaction description: Delete Commit Comment Reaction hints: readOnly: false destructive: true idempotent: true call: temp-reactions.deletecommitcommentreaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-reactions-issue-comment description: List Reactions For An Issue Comment hints: readOnly: true destructive: false idempotent: true call: temp-reactions.listreactionsforanissuecomment with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-reaction-issue-comment description: Create Reaction For An Issue Comment hints: readOnly: false destructive: false idempotent: false call: temp-reactions.createreactionforanissuecomment with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: delete-issue-comment-reaction description: Delete An Issue Comment Reaction hints: readOnly: false destructive: true idempotent: true call: temp-reactions.deleteanissuecommentreaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-reactions-issue description: List Reactions For An Issue hints: readOnly: true destructive: false idempotent: true call: temp-reactions.listreactionsforanissue with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-reaction-issue description: Create Reaction For An Issue hints: readOnly: false destructive: false idempotent: false call: temp-reactions.createreactionforanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: delete-issue-reaction description: Delete An Issue Reaction hints: readOnly: false destructive: true idempotent: true call: temp-reactions.deleteanissuereaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-reactions-pull-request-review description: List Reactions For Pull Request Review Comment hints: readOnly: true destructive: false idempotent: true call: temp-reactions.listreactionsforpullrequestreviewcomment with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-reaction-pull-request-review description: Create Reaction For Pull Request Review Comment hints: readOnly: false destructive: false idempotent: false call: temp-reactions.createreactionforpullrequestreviewcomment with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: delete-pull-request-comment-reaction description: Delete Pull Request Comment Reaction hints: readOnly: false destructive: true idempotent: true call: temp-reactions.deletepullrequestcommentreaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-reactions-release description: List Reactions For Release hints: readOnly: true destructive: false idempotent: true call: temp-reactions.listreactionsforrelease with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-reaction-release description: Create Reaction For Release hints: readOnly: false destructive: false idempotent: false call: temp-reactions.createreactionforrelease with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: delete-release-reaction description: Delete Release Reaction hints: readOnly: false destructive: true idempotent: true call: temp-reactions.deletereleasereaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $.