naftiko: 1.0.0-alpha2 info: label: GitHub Repos API — All description: 'GitHub Repos API — All. 8 operations. Lead operation: Remove All Custom Labels From Self-hosted Runner For Repository. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - All created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: temp-all baseUri: '' description: GitHub Repos API — All business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-actions-runners-runner_id-labels path: /repos/{owner}/{repo}/actions/runners/{runner_id}/labels operations: - name: removeallcustomlabelsfromselfhostedrunnerforrepository method: DELETE description: Remove All Custom Labels From Self-hosted Runner For Repository 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-autolinks path: /repos/{owner}/{repo}/autolinks operations: - name: getallautolinksofrepository method: GET description: Get All Autolinks Of Repository 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-branches-branch-protection-required_status_checks-contexts path: /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts operations: - name: getallstatuscheckcontexts method: GET description: Get All Status Check Contexts 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-labels path: /repos/{owner}/{repo}/issues/{issue_number}/labels operations: - name: removealllabelsfromanissue method: DELETE description: Remove All Labels From 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: repos-owner-repo-pulls-pull_number-requested_reviewers path: /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers operations: - name: getallrequestedreviewersforpullrequest method: GET description: Get All Requested Reviewers For Pull Request 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-stats-contributors path: /repos/{owner}/{repo}/stats/contributors operations: - name: getallcontributorcommitactivity method: GET description: Get All Contributor Commit Activity 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-topics path: /repos/{owner}/{repo}/topics operations: - name: getallrepositorytopics method: GET description: Get All Repository Topics 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: replaceallrepositorytopics method: PUT description: Replace All Repository Topics 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 authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: temp-all-rest port: 8080 description: REST adapter for GitHub Repos API — All. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{owner}/{repo}/actions/runners/{runner-id}/labels name: repos-owner-repo-actions-runners-runner-id-labels description: REST surface for repos-owner-repo-actions-runners-runner_id-labels. operations: - method: DELETE name: removeallcustomlabelsfromselfhostedrunnerforrepository description: Remove All Custom Labels From Self-hosted Runner For Repository call: temp-all.removeallcustomlabelsfromselfhostedrunnerforrepository 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}/autolinks name: repos-owner-repo-autolinks description: REST surface for repos-owner-repo-autolinks. operations: - method: GET name: getallautolinksofrepository description: Get All Autolinks Of Repository call: temp-all.getallautolinksofrepository 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}/branches/{branch}/protection/required-status-checks/contexts name: repos-owner-repo-branches-branch-protection-required-status-checks-contexts description: REST surface for repos-owner-repo-branches-branch-protection-required_status_checks-contexts. operations: - method: GET name: getallstatuscheckcontexts description: Get All Status Check Contexts call: temp-all.getallstatuscheckcontexts 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}/labels name: repos-owner-repo-issues-issue-number-labels description: REST surface for repos-owner-repo-issues-issue_number-labels. operations: - method: DELETE name: removealllabelsfromanissue description: Remove All Labels From An Issue call: temp-all.removealllabelsfromanissue 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/{pull-number}/requested-reviewers name: repos-owner-repo-pulls-pull-number-requested-reviewers description: REST surface for repos-owner-repo-pulls-pull_number-requested_reviewers. operations: - method: GET name: getallrequestedreviewersforpullrequest description: Get All Requested Reviewers For Pull Request call: temp-all.getallrequestedreviewersforpullrequest 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}/stats/contributors name: repos-owner-repo-stats-contributors description: REST surface for repos-owner-repo-stats-contributors. operations: - method: GET name: getallcontributorcommitactivity description: Get All Contributor Commit Activity call: temp-all.getallcontributorcommitactivity 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}/topics name: repos-owner-repo-topics description: REST surface for repos-owner-repo-topics. operations: - method: GET name: getallrepositorytopics description: Get All Repository Topics call: temp-all.getallrepositorytopics with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PUT name: replaceallrepositorytopics description: Replace All Repository Topics call: temp-all.replaceallrepositorytopics with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: temp-all-mcp port: 9090 transport: http description: MCP adapter for GitHub Repos API — All. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: remove-all-custom-labels-self description: Remove All Custom Labels From Self-hosted Runner For Repository hints: readOnly: false destructive: true idempotent: true call: temp-all.removeallcustomlabelsfromselfhostedrunnerforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-all-autolinks-repository description: Get All Autolinks Of Repository hints: readOnly: true destructive: false idempotent: true call: temp-all.getallautolinksofrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-all-status-check-contexts description: Get All Status Check Contexts hints: readOnly: true destructive: false idempotent: true call: temp-all.getallstatuscheckcontexts with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: remove-all-labels-issue description: Remove All Labels From An Issue hints: readOnly: false destructive: true idempotent: true call: temp-all.removealllabelsfromanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-all-requested-reviewers-pull description: Get All Requested Reviewers For Pull Request hints: readOnly: true destructive: false idempotent: true call: temp-all.getallrequestedreviewersforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-all-contributor-commit-activity description: Get All Contributor Commit Activity hints: readOnly: true destructive: false idempotent: true call: temp-all.getallcontributorcommitactivity with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-all-repository-topics description: Get All Repository Topics hints: readOnly: true destructive: false idempotent: true call: temp-all.getallrepositorytopics with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: replace-all-repository-topics description: Replace All Repository Topics hints: readOnly: false destructive: false idempotent: true call: temp-all.replaceallrepositorytopics with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $.