GitHub · Capability

GitHub Application API — Reset

GitHub Application API — Reset. 1 operations. Lead operation: GitHub Reset Token. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubReset

What You Can Do

PATCH
Resettoken — GitHub Reset Token
/v1/applications/{client-id}/token

MCP Tools

github-reset-token

GitHub Reset Token

idempotent

Capability Spec

app-reset.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Application API — Reset
  description: 'GitHub Application API — Reset. 1 operations. Lead operation: GitHub Reset Token. Self-contained Naftiko capability
    covering one Github business surface.'
  tags:
  - Github
  - Reset
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: app-reset
    baseUri: ''
    description: GitHub Application API — Reset business capability. Self-contained, no shared references.
    resources:
    - name: applications-client_id-token
      path: /applications/{client_id}/token
      operations:
      - name: resettoken
        method: PATCH
        description: GitHub Reset Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: app-reset-rest
    port: 8080
    description: REST adapter for GitHub Application API — Reset. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/applications/{client-id}/token
      name: applications-client-id-token
      description: REST surface for applications-client_id-token.
      operations:
      - method: PATCH
        name: resettoken
        description: GitHub Reset Token
        call: app-reset.resettoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: app-reset-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Application API — Reset. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-reset-token
      description: GitHub Reset Token
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: app-reset.resettoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.