APIs.io Engineering Platform GitHub v3 REST API — Gists

APIs.io Engineering Platform GitHub v3 REST API — Gists. 20 operations. Lead operation: APIs.io Engineering Platform List gists for the authenticated user. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformGists

What You Can Do

GET
Gistslist — APIs.io Engineering Platform List gists for the authenticated user
/v1/gists
POST
Gistscreate — APIs.io Engineering Platform Create a gist
/v1/gists
GET
Gistslistpublic — APIs.io Engineering Platform List public gists
/v1/gists/public
GET
Gistsliststarred — APIs.io Engineering Platform List starred gists
/v1/gists/starred
GET
Gistsget — APIs.io Engineering Platform Get a gist
/v1/gists/{gist-id}
PATCH
Gistsupdate — APIs.io Engineering Platform Update a gist
/v1/gists/{gist-id}
DELETE
Gistsdelete — APIs.io Engineering Platform Delete a gist
/v1/gists/{gist-id}
GET
Gistslistcomments — APIs.io Engineering Platform List gist comments
/v1/gists/{gist-id}/comments
POST
Gistscreatecomment — APIs.io Engineering Platform Create a gist comment
/v1/gists/{gist-id}/comments
GET
Gistsgetcomment — APIs.io Engineering Platform Get a gist comment
/v1/gists/{gist-id}/comments/{comment-id}
PATCH
Gistsupdatecomment — APIs.io Engineering Platform Update a gist comment
/v1/gists/{gist-id}/comments/{comment-id}
DELETE
Gistsdeletecomment — APIs.io Engineering Platform Delete a gist comment
/v1/gists/{gist-id}/comments/{comment-id}
GET
Gistslistcommits — APIs.io Engineering Platform List gist commits
/v1/gists/{gist-id}/commits
GET
Gistslistforks — APIs.io Engineering Platform List gist forks
/v1/gists/{gist-id}/forks
POST
Gistsfork — APIs.io Engineering Platform Fork a gist
/v1/gists/{gist-id}/forks
GET
Gistscheckisstarred — APIs.io Engineering Platform Check if a gist is starred
/v1/gists/{gist-id}/star
PUT
Gistsstar — APIs.io Engineering Platform Star a gist
/v1/gists/{gist-id}/star
DELETE
Gistsunstar — APIs.io Engineering Platform Unstar a gist
/v1/gists/{gist-id}/star
GET
Gistsgetrevision — APIs.io Engineering Platform Get a gist revision
/v1/gists/{gist-id}/{sha}
GET
Gistslistforuser — APIs.io Engineering Platform List gists for a user
/v1/users/{username}/gists

MCP Tools

apis-io-engineering-platform-list-gists

APIs.io Engineering Platform List gists for the authenticated user

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

APIs.io Engineering Platform Create a gist

apis-io-engineering-platform-list-public

APIs.io Engineering Platform List public gists

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

APIs.io Engineering Platform List starred gists

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

APIs.io Engineering Platform Get a gist

read-only idempotent
apis-io-engineering-platform-update-gist

APIs.io Engineering Platform Update a gist

idempotent
apis-io-engineering-platform-delete-gist

APIs.io Engineering Platform Delete a gist

idempotent
apis-io-engineering-platform-list-gist

APIs.io Engineering Platform List gist comments

read-only idempotent
apis-io-engineering-platform-create-gist-2

APIs.io Engineering Platform Create a gist comment

apis-io-engineering-platform-get-gist-2

APIs.io Engineering Platform Get a gist comment

read-only idempotent
apis-io-engineering-platform-update-gist-2

APIs.io Engineering Platform Update a gist comment

idempotent
apis-io-engineering-platform-delete-gist-2

APIs.io Engineering Platform Delete a gist comment

idempotent
apis-io-engineering-platform-list-gist-2

APIs.io Engineering Platform List gist commits

read-only idempotent
apis-io-engineering-platform-list-gist-3

APIs.io Engineering Platform List gist forks

read-only idempotent
apis-io-engineering-platform-fork-gist

APIs.io Engineering Platform Fork a gist

apis-io-engineering-platform-check-if

APIs.io Engineering Platform Check if a gist is starred

read-only idempotent
apis-io-engineering-platform-star-gist

APIs.io Engineering Platform Star a gist

idempotent
apis-io-engineering-platform-unstar-gist

APIs.io Engineering Platform Unstar a gist

idempotent
apis-io-engineering-platform-get-gist-3

APIs.io Engineering Platform Get a gist revision

read-only idempotent
apis-io-engineering-platform-list-gists-2

APIs.io Engineering Platform List gists for a user

read-only idempotent

Capability Spec

github-gists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform GitHub v3 REST API — Gists
  description: 'APIs.io Engineering Platform GitHub v3 REST API — Gists. 20 operations. Lead operation: APIs.io Engineering
    Platform List gists for the authenticated user. Self-contained Naftiko capability covering one Engineering Platform business
    surface.'
  tags:
  - Engineering Platform
  - Gists
  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-gists
    baseUri: ''
    description: APIs.io Engineering Platform GitHub v3 REST API — Gists business capability. Self-contained, no shared references.
    resources:
    - name: gists
      path: /gists
      operations:
      - name: gistslist
        method: GET
        description: APIs.io Engineering Platform List gists for the authenticated user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gistscreate
        method: POST
        description: APIs.io Engineering Platform Create a gist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: gists-public
      path: /gists/public
      operations:
      - name: gistslistpublic
        method: GET
        description: APIs.io Engineering Platform List public gists
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-starred
      path: /gists/starred
      operations:
      - name: gistsliststarred
        method: GET
        description: APIs.io Engineering Platform List starred gists
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-gist_id
      path: /gists/{gist_id}
      operations:
      - name: gistsget
        method: GET
        description: APIs.io Engineering Platform Get a gist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gistsupdate
        method: PATCH
        description: APIs.io Engineering Platform Update a gist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: gistsdelete
        method: DELETE
        description: APIs.io Engineering Platform Delete a gist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-gist_id-comments
      path: /gists/{gist_id}/comments
      operations:
      - name: gistslistcomments
        method: GET
        description: APIs.io Engineering Platform List gist comments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gistscreatecomment
        method: POST
        description: APIs.io Engineering Platform Create a gist comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: gists-gist_id-comments-comment_id
      path: /gists/{gist_id}/comments/{comment_id}
      operations:
      - name: gistsgetcomment
        method: GET
        description: APIs.io Engineering Platform Get a gist comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gistsupdatecomment
        method: PATCH
        description: APIs.io Engineering Platform Update a gist comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: gistsdeletecomment
        method: DELETE
        description: APIs.io Engineering Platform Delete a gist comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-gist_id-commits
      path: /gists/{gist_id}/commits
      operations:
      - name: gistslistcommits
        method: GET
        description: APIs.io Engineering Platform List gist commits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-gist_id-forks
      path: /gists/{gist_id}/forks
      operations:
      - name: gistslistforks
        method: GET
        description: APIs.io Engineering Platform List gist forks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gistsfork
        method: POST
        description: APIs.io Engineering Platform Fork a gist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-gist_id-star
      path: /gists/{gist_id}/star
      operations:
      - name: gistscheckisstarred
        method: GET
        description: APIs.io Engineering Platform Check if a gist is starred
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gistsstar
        method: PUT
        description: APIs.io Engineering Platform Star a gist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gistsunstar
        method: DELETE
        description: APIs.io Engineering Platform Unstar a gist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: gists-gist_id-sha
      path: /gists/{gist_id}/{sha}
      operations:
      - name: gistsgetrevision
        method: GET
        description: APIs.io Engineering Platform Get a gist revision
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sha
          in: path
          type: string
          required: true
    - name: users-username-gists
      path: /users/{username}/gists
      operations:
      - name: gistslistforuser
        method: GET
        description: APIs.io Engineering Platform List gists for a user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: github-gists-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform GitHub v3 REST API — Gists. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/gists
      name: gists
      description: REST surface for gists.
      operations:
      - method: GET
        name: gistslist
        description: APIs.io Engineering Platform List gists for the authenticated user
        call: github-gists.gistslist
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: gistscreate
        description: APIs.io Engineering Platform Create a gist
        call: github-gists.gistscreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/public
      name: gists-public
      description: REST surface for gists-public.
      operations:
      - method: GET
        name: gistslistpublic
        description: APIs.io Engineering Platform List public gists
        call: github-gists.gistslistpublic
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/starred
      name: gists-starred
      description: REST surface for gists-starred.
      operations:
      - method: GET
        name: gistsliststarred
        description: APIs.io Engineering Platform List starred gists
        call: github-gists.gistsliststarred
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}
      name: gists-gist-id
      description: REST surface for gists-gist_id.
      operations:
      - method: GET
        name: gistsget
        description: APIs.io Engineering Platform Get a gist
        call: github-gists.gistsget
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: gistsupdate
        description: APIs.io Engineering Platform Update a gist
        call: github-gists.gistsupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: gistsdelete
        description: APIs.io Engineering Platform Delete a gist
        call: github-gists.gistsdelete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}/comments
      name: gists-gist-id-comments
      description: REST surface for gists-gist_id-comments.
      operations:
      - method: GET
        name: gistslistcomments
        description: APIs.io Engineering Platform List gist comments
        call: github-gists.gistslistcomments
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: gistscreatecomment
        description: APIs.io Engineering Platform Create a gist comment
        call: github-gists.gistscreatecomment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}/comments/{comment-id}
      name: gists-gist-id-comments-comment-id
      description: REST surface for gists-gist_id-comments-comment_id.
      operations:
      - method: GET
        name: gistsgetcomment
        description: APIs.io Engineering Platform Get a gist comment
        call: github-gists.gistsgetcomment
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: gistsupdatecomment
        description: APIs.io Engineering Platform Update a gist comment
        call: github-gists.gistsupdatecomment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: gistsdeletecomment
        description: APIs.io Engineering Platform Delete a gist comment
        call: github-gists.gistsdeletecomment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}/commits
      name: gists-gist-id-commits
      description: REST surface for gists-gist_id-commits.
      operations:
      - method: GET
        name: gistslistcommits
        description: APIs.io Engineering Platform List gist commits
        call: github-gists.gistslistcommits
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}/forks
      name: gists-gist-id-forks
      description: REST surface for gists-gist_id-forks.
      operations:
      - method: GET
        name: gistslistforks
        description: APIs.io Engineering Platform List gist forks
        call: github-gists.gistslistforks
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: gistsfork
        description: APIs.io Engineering Platform Fork a gist
        call: github-gists.gistsfork
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}/star
      name: gists-gist-id-star
      description: REST surface for gists-gist_id-star.
      operations:
      - method: GET
        name: gistscheckisstarred
        description: APIs.io Engineering Platform Check if a gist is starred
        call: github-gists.gistscheckisstarred
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: gistsstar
        description: APIs.io Engineering Platform Star a gist
        call: github-gists.gistsstar
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: gistsunstar
        description: APIs.io Engineering Platform Unstar a gist
        call: github-gists.gistsunstar
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/gists/{gist-id}/{sha}
      name: gists-gist-id-sha
      description: REST surface for gists-gist_id-sha.
      operations:
      - method: GET
        name: gistsgetrevision
        description: APIs.io Engineering Platform Get a gist revision
        call: github-gists.gistsgetrevision
        with:
          sha: rest.sha
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{username}/gists
      name: users-username-gists
      description: REST surface for users-username-gists.
      operations:
      - method: GET
        name: gistslistforuser
        description: APIs.io Engineering Platform List gists for a user
        call: github-gists.gistslistforuser
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: github-gists-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform GitHub v3 REST API — Gists. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-gists
      description: APIs.io Engineering Platform List gists for the authenticated user
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistslist
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-gist
      description: APIs.io Engineering Platform Create a gist
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-gists.gistscreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-public
      description: APIs.io Engineering Platform List public gists
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistslistpublic
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-starred
      description: APIs.io Engineering Platform List starred gists
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistsliststarred
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-gist
      description: APIs.io Engineering Platform Get a gist
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistsget
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-gist
      description: APIs.io Engineering Platform Update a gist
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-gists.gistsupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-gist
      description: APIs.io Engineering Platform Delete a gist
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-gists.gistsdelete
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-gist
      description: APIs.io Engineering Platform List gist comments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistslistcomments
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-gist-2
      description: APIs.io Engineering Platform Create a gist comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-gists.gistscreatecomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-gist-2
      description: APIs.io Engineering Platform Get a gist comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistsgetcomment
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-gist-2
      description: APIs.io Engineering Platform Update a gist comment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-gists.gistsupdatecomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-gist-2
      description: APIs.io Engineering Platform Delete a gist comment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-gists.gistsdeletecomment
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-gist-2
      description: APIs.io Engineering Platform List gist commits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistslistcommits
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-gist-3
      description: APIs.io Engineering Platform List gist forks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistslistforks
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-fork-gist
      description: APIs.io Engineering Platform Fork a gist
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-gists.gistsfork
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-check-if
      description: APIs.io Engineering Platform Check if a gist is starred
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistscheckisstarred
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-star-gist
      description: APIs.io Engineering Platform Star a gist
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-gists.gistsstar
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-unstar-gist
      description: APIs.io Engineering Platform Unstar a gist
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-gists.gistsunstar
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-gist-3
      description: APIs.io Engineering Platform Get a gist revision
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistsgetrevision
      with:
        sha: tools.sha
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-gists-2
      description: APIs.io Engineering Platform List gists for a user
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-gists.gistslistforuser
      outputParameters:
      - type: object
        mapping: $.