GitHub · Capability

GitHub Repos API — Between

GitHub Repos API — Between. 1 operations. Lead operation: Get Diff Of The Dependencies Between Commits. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubBetween

What You Can Do

GET
Getdiffofthedependenciesbetweencommits — Get Diff Of The Dependencies Between Commits
/v1/repos/{owner}/{repo}/dependency-graph/compare/{basehead}

MCP Tools

get-diff-dependencies-between-commits

Get Diff Of The Dependencies Between Commits

read-only idempotent

Capability Spec

temp-between.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Between
  description: 'GitHub Repos API — Between. 1 operations. Lead operation: Get Diff Of The Dependencies Between Commits. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Between
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-between
    baseUri: ''
    description: GitHub Repos API — Between business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-dependency-graph-compare-basehead
      path: /repos/{owner}/{repo}/dependency-graph/compare/{basehead}
      operations:
      - name: getdiffofthedependenciesbetweencommits
        method: GET
        description: Get Diff Of The Dependencies Between Commits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: basehead
          in: path
          type: string
          description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named
            revisions will be resolved to their corresponding HEAD comm
          required: true
        - 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-between-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Between. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/dependency-graph/compare/{basehead}
      name: repos-owner-repo-dependency-graph-compare-basehead
      description: REST surface for repos-owner-repo-dependency-graph-compare-basehead.
      operations:
      - method: GET
        name: getdiffofthedependenciesbetweencommits
        description: Get Diff Of The Dependencies Between Commits
        call: temp-between.getdiffofthedependenciesbetweencommits
        with:
          basehead: rest.basehead
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-between-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Between. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-diff-dependencies-between-commits
      description: Get Diff Of The Dependencies Between Commits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-between.getdiffofthedependenciesbetweencommits
      with:
        basehead: tools.basehead
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.