APIs.io Engineering Platform GitHub v3 REST API — Git

APIs.io Engineering Platform GitHub v3 REST API — Git. 13 operations. Lead operation: APIs.io Engineering Platform Create a blob. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformGit

What You Can Do

POST
Gitcreateblob — APIs.io Engineering Platform Create a blob
/v1/repos/{owner}/{repo}/git/blobs
GET
Gitgetblob — APIs.io Engineering Platform Get a blob
/v1/repos/{owner}/{repo}/git/blobs/{file-sha}
POST
Gitcreatecommit — APIs.io Engineering Platform Create a commit
/v1/repos/{owner}/{repo}/git/commits
GET
Gitgetcommit — APIs.io Engineering Platform Get a commit object
/v1/repos/{owner}/{repo}/git/commits/{commit-sha}
GET
Gitlistmatchingrefs — APIs.io Engineering Platform List matching references
/v1/repos/{owner}/{repo}/git/matching-refs/{ref}
GET
Gitgetref — APIs.io Engineering Platform Get a reference
/v1/repos/{owner}/{repo}/git/ref/{ref}
POST
Gitcreateref — APIs.io Engineering Platform Create a reference
/v1/repos/{owner}/{repo}/git/refs
PATCH
Gitupdateref — APIs.io Engineering Platform Update a reference
/v1/repos/{owner}/{repo}/git/refs/{ref}
DELETE
Gitdeleteref — APIs.io Engineering Platform Delete a reference
/v1/repos/{owner}/{repo}/git/refs/{ref}
POST
Gitcreatetag — APIs.io Engineering Platform Create a tag object
/v1/repos/{owner}/{repo}/git/tags
GET
Gitgettag — APIs.io Engineering Platform Get a tag
/v1/repos/{owner}/{repo}/git/tags/{tag-sha}
POST
Gitcreatetree — APIs.io Engineering Platform Create a tree
/v1/repos/{owner}/{repo}/git/trees
GET
Gitgettree — APIs.io Engineering Platform Get a tree
/v1/repos/{owner}/{repo}/git/trees/{tree-sha}

MCP Tools

apis-io-engineering-platform-create-blob

APIs.io Engineering Platform Create a blob

apis-io-engineering-platform-get-blob

APIs.io Engineering Platform Get a blob

read-only idempotent
apis-io-engineering-platform-create-commit

APIs.io Engineering Platform Create a commit

apis-io-engineering-platform-get-commit

APIs.io Engineering Platform Get a commit object

read-only idempotent
apis-io-engineering-platform-list-matching

APIs.io Engineering Platform List matching references

read-only idempotent
apis-io-engineering-platform-get-reference

APIs.io Engineering Platform Get a reference

read-only idempotent
apis-io-engineering-platform-create-reference

APIs.io Engineering Platform Create a reference

apis-io-engineering-platform-update-reference

APIs.io Engineering Platform Update a reference

idempotent
apis-io-engineering-platform-delete-reference

APIs.io Engineering Platform Delete a reference

idempotent
apis-io-engineering-platform-create-tag

APIs.io Engineering Platform Create a tag object

apis-io-engineering-platform-get-tag

APIs.io Engineering Platform Get a tag

read-only idempotent
apis-io-engineering-platform-create-tree

APIs.io Engineering Platform Create a tree

apis-io-engineering-platform-get-tree

APIs.io Engineering Platform Get a tree

read-only idempotent

Capability Spec

github-git.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform GitHub v3 REST API — Git
  description: 'APIs.io Engineering Platform GitHub v3 REST API — Git. 13 operations. Lead operation: APIs.io Engineering
    Platform Create a blob. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Git
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: github-git
    baseUri: ''
    description: APIs.io Engineering Platform GitHub v3 REST API — Git business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-git-blobs
      path: /repos/{owner}/{repo}/git/blobs
      operations:
      - name: gitcreateblob
        method: POST
        description: APIs.io Engineering Platform Create a blob
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-blobs-file_sha
      path: /repos/{owner}/{repo}/git/blobs/{file_sha}
      operations:
      - name: gitgetblob
        method: GET
        description: APIs.io Engineering Platform Get a blob
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: file_sha
          in: path
          type: string
          required: true
    - name: repos-owner-repo-git-commits
      path: /repos/{owner}/{repo}/git/commits
      operations:
      - name: gitcreatecommit
        method: POST
        description: APIs.io Engineering Platform Create a commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-commits-commit_sha
      path: /repos/{owner}/{repo}/git/commits/{commit_sha}
      operations:
      - name: gitgetcommit
        method: GET
        description: APIs.io Engineering Platform Get a commit object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-git-matching-refs-ref
      path: /repos/{owner}/{repo}/git/matching-refs/{ref}
      operations:
      - name: gitlistmatchingrefs
        method: GET
        description: APIs.io Engineering Platform List matching references
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-git-ref-ref
      path: /repos/{owner}/{repo}/git/ref/{ref}
      operations:
      - name: gitgetref
        method: GET
        description: APIs.io Engineering Platform Get a reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-git-refs
      path: /repos/{owner}/{repo}/git/refs
      operations:
      - name: gitcreateref
        method: POST
        description: APIs.io Engineering Platform Create a reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-refs-ref
      path: /repos/{owner}/{repo}/git/refs/{ref}
      operations:
      - name: gitupdateref
        method: PATCH
        description: APIs.io Engineering Platform Update a reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: gitdeleteref
        method: DELETE
        description: APIs.io Engineering Platform Delete a reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-git-tags
      path: /repos/{owner}/{repo}/git/tags
      operations:
      - name: gitcreatetag
        method: POST
        description: APIs.io Engineering Platform Create a tag object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-tags-tag_sha
      path: /repos/{owner}/{repo}/git/tags/{tag_sha}
      operations:
      - name: gitgettag
        method: GET
        description: APIs.io Engineering Platform Get a tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag_sha
          in: path
          type: string
          required: true
    - name: repos-owner-repo-git-trees
      path: /repos/{owner}/{repo}/git/trees
      operations:
      - name: gitcreatetree
        method: POST
        description: APIs.io Engineering Platform Create a tree
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-trees-tree_sha
      path: /repos/{owner}/{repo}/git/trees/{tree_sha}
      operations:
      - name: gitgettree
        method: GET
        description: APIs.io Engineering Platform Get a tree
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tree_sha
          in: path
          type: string
          description: The SHA1 value or ref (branch or tag) name of the tree.
          required: true
        - name: recursive
          in: query
          type: string
          description: 'Setting this parameter to any value returns the objects or subtrees referenced by the tree specified
            in `:tree_sha`. For example, setting `recursive` to any of '
  exposes:
  - type: rest
    namespace: github-git-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform GitHub v3 REST API — Git. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/git/blobs
      name: repos-owner-repo-git-blobs
      description: REST surface for repos-owner-repo-git-blobs.
      operations:
      - method: POST
        name: gitcreateblob
        description: APIs.io Engineering Platform Create a blob
        call: github-git.gitcreateblob
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/blobs/{file-sha}
      name: repos-owner-repo-git-blobs-file-sha
      description: REST surface for repos-owner-repo-git-blobs-file_sha.
      operations:
      - method: GET
        name: gitgetblob
        description: APIs.io Engineering Platform Get a blob
        call: github-git.gitgetblob
        with:
          file_sha: rest.file_sha
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/commits
      name: repos-owner-repo-git-commits
      description: REST surface for repos-owner-repo-git-commits.
      operations:
      - method: POST
        name: gitcreatecommit
        description: APIs.io Engineering Platform Create a commit
        call: github-git.gitcreatecommit
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/commits/{commit-sha}
      name: repos-owner-repo-git-commits-commit-sha
      description: REST surface for repos-owner-repo-git-commits-commit_sha.
      operations:
      - method: GET
        name: gitgetcommit
        description: APIs.io Engineering Platform Get a commit object
        call: github-git.gitgetcommit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/matching-refs/{ref}
      name: repos-owner-repo-git-matching-refs-ref
      description: REST surface for repos-owner-repo-git-matching-refs-ref.
      operations:
      - method: GET
        name: gitlistmatchingrefs
        description: APIs.io Engineering Platform List matching references
        call: github-git.gitlistmatchingrefs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/ref/{ref}
      name: repos-owner-repo-git-ref-ref
      description: REST surface for repos-owner-repo-git-ref-ref.
      operations:
      - method: GET
        name: gitgetref
        description: APIs.io Engineering Platform Get a reference
        call: github-git.gitgetref
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/refs
      name: repos-owner-repo-git-refs
      description: REST surface for repos-owner-repo-git-refs.
      operations:
      - method: POST
        name: gitcreateref
        description: APIs.io Engineering Platform Create a reference
        call: github-git.gitcreateref
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/refs/{ref}
      name: repos-owner-repo-git-refs-ref
      description: REST surface for repos-owner-repo-git-refs-ref.
      operations:
      - method: PATCH
        name: gitupdateref
        description: APIs.io Engineering Platform Update a reference
        call: github-git.gitupdateref
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: gitdeleteref
        description: APIs.io Engineering Platform Delete a reference
        call: github-git.gitdeleteref
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/tags
      name: repos-owner-repo-git-tags
      description: REST surface for repos-owner-repo-git-tags.
      operations:
      - method: POST
        name: gitcreatetag
        description: APIs.io Engineering Platform Create a tag object
        call: github-git.gitcreatetag
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/tags/{tag-sha}
      name: repos-owner-repo-git-tags-tag-sha
      description: REST surface for repos-owner-repo-git-tags-tag_sha.
      operations:
      - method: GET
        name: gitgettag
        description: APIs.io Engineering Platform Get a tag
        call: github-git.gitgettag
        with:
          tag_sha: rest.tag_sha
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/trees
      name: repos-owner-repo-git-trees
      description: REST surface for repos-owner-repo-git-trees.
      operations:
      - method: POST
        name: gitcreatetree
        description: APIs.io Engineering Platform Create a tree
        call: github-git.gitcreatetree
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/trees/{tree-sha}
      name: repos-owner-repo-git-trees-tree-sha
      description: REST surface for repos-owner-repo-git-trees-tree_sha.
      operations:
      - method: GET
        name: gitgettree
        description: APIs.io Engineering Platform Get a tree
        call: github-git.gitgettree
        with:
          tree_sha: rest.tree_sha
          recursive: rest.recursive
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: github-git-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform GitHub v3 REST API — Git. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-create-blob
      description: APIs.io Engineering Platform Create a blob
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-git.gitcreateblob
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-blob
      description: APIs.io Engineering Platform Get a blob
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-git.gitgetblob
      with:
        file_sha: tools.file_sha
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-commit
      description: APIs.io Engineering Platform Create a commit
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-git.gitcreatecommit
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-commit
      description: APIs.io Engineering Platform Get a commit object
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-git.gitgetcommit
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-matching
      description: APIs.io Engineering Platform List matching references
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-git.gitlistmatchingrefs
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-reference
      description: APIs.io Engineering Platform Get a reference
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-git.gitgetref
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-reference
      description: APIs.io Engineering Platform Create a reference
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-git.gitcreateref
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-reference
      description: APIs.io Engineering Platform Update a reference
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-git.gitupdateref
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-reference
      description: APIs.io Engineering Platform Delete a reference
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-git.gitdeleteref
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-tag
      description: APIs.io Engineering Platform Create a tag object
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-git.gitcreatetag
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-tag
      description: APIs.io Engineering Platform Get a tag
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-git.gitgettag
      with:
        tag_sha: tools.tag_sha
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-tree
      description: APIs.io Engineering Platform Create a tree
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-git.gitcreatetree
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-tree
      description: APIs.io Engineering Platform Get a tree
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-git.gitgettree
      with:
        tree_sha: tools.tree_sha
        recursive: tools.recursive
      outputParameters:
      - type: object
        mapping: $.