GitHub · Capability

GitHub Events API — Issues

GitHub Events API — Issues. 1 operations. Lead operation: GitHub Get an Issue Event. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubIssues

What You Can Do

GET
Getanissueevent — GitHub Get an Issue Event
/v1/repos/{owner}/{repo}/issues/events/{event-id}

MCP Tools

github-get-issue-event

GitHub Get an Issue Event

read-only idempotent

Capability Spec

events-issues.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Events API — Issues
  description: 'GitHub Events API — Issues. 1 operations. Lead operation: GitHub Get an Issue Event. Self-contained Naftiko
    capability covering one Github business surface.'
  tags:
  - Github
  - Issues
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: events-issues
    baseUri: ''
    description: GitHub Events API — Issues business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-issues-events-event_id
      path: /repos/{owner}/{repo}/issues/events/{event_id}
      operations:
      - name: getanissueevent
        method: GET
        description: GitHub Get an Issue Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: integer
          required: true
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: events-issues-rest
    port: 8080
    description: REST adapter for GitHub Events API — Issues. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/issues/events/{event-id}
      name: repos-owner-repo-issues-events-event-id
      description: REST surface for repos-owner-repo-issues-events-event_id.
      operations:
      - method: GET
        name: getanissueevent
        description: GitHub Get an Issue Event
        call: events-issues.getanissueevent
        with:
          event_id: rest.event_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: events-issues-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Events API — Issues. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-get-issue-event
      description: GitHub Get an Issue Event
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: events-issues.getanissueevent
      with:
        event_id: tools.event_id
      outputParameters:
      - type: object
        mapping: $.