Postman · Capability

Postman APIs API — API Comments

Postman APIs API — API Comments. 2 operations. Lead operation: Postman Get API comments. Self-contained Naftiko capability covering one Postman business surface.

Run with Naftiko PostmanAPI Comments

What You Can Do

GET
Getapicomments — Postman Get API comments
/v1/apis/{apiid}/comments
POST
Createapicomment — Postman Create an API comment
/v1/apis/{apiid}/comments

MCP Tools

postman-get-api-comments

Postman Get API comments

read-only idempotent
postman-create-api-comment

Postman Create an API comment

Capability Spec

apis-api-comments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Postman APIs API — API Comments
  description: 'Postman APIs API — API Comments. 2 operations. Lead operation: Postman Get API comments. Self-contained Naftiko
    capability covering one Postman business surface.'
  tags:
  - Postman
  - API Comments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTMAN_API_KEY: POSTMAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: apis-api-comments
    baseUri: https://api.getpostman.com
    description: Postman APIs API — API Comments business capability. Self-contained, no shared references.
    resources:
    - name: apis-apiId-comments
      path: /apis/{apiId}/comments
      operations:
      - name: getapicomments
        method: GET
        description: Postman Get API comments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createapicomment
        method: POST
        description: Postman Create an API comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.POSTMAN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: apis-api-comments-rest
    port: 8080
    description: REST adapter for Postman APIs API — API Comments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/apis/{apiid}/comments
      name: apis-apiid-comments
      description: REST surface for apis-apiId-comments.
      operations:
      - method: GET
        name: getapicomments
        description: Postman Get API comments
        call: apis-api-comments.getapicomments
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapicomment
        description: Postman Create an API comment
        call: apis-api-comments.createapicomment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apis-api-comments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Postman APIs API — API Comments. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: postman-get-api-comments
      description: Postman Get API comments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apis-api-comments.getapicomments
      outputParameters:
      - type: object
        mapping: $.
    - name: postman-create-api-comment
      description: Postman Create an API comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apis-api-comments.createapicomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.