GitBook · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitBook Space Comments API

11 actions 11 updates phrasing extends openapi/gitbook-space-comments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for GitBook's API. It is a proposal applied on top of the contract, not a document GitBook publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/spaces/{spaceId}/comments'].get
$.paths['/spaces/{spaceId}/comments'].post
$.paths['/spaces/{spaceId}/comments/{commentId}'].get
$.paths['/spaces/{spaceId}/comments/{commentId}'].put
$.paths['/spaces/{spaceId}/comments/{commentId}'].delete
$.paths['/spaces/{spaceId}/comments/{commentId}/replies'].post
$.paths['/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}'].get
$.paths['/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}'].put
$.paths['/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}'].delete
$.paths['/spaces/{spaceId}/commenters'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for GitBook Space Comments API
  version: 1.0.0
extends: openapi/gitbook-space-comments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/spaces/{spaceId}/comments'].get
  update:
    x-apievangelist-phrasing:
      intent: List top-level comments on a space
      effect: read
      questions:
      - Which top-level comments have been posted on a space?
      - Can I list only unresolved comments on a space?
      instructions:
      - text: List top-level comments on space {spaceId}.
        slots:
          spaceId: path.spaceId
      - text: Show {status} comments on space {spaceId} for page {page}.
        slots:
          status: query.status
          spaceId: path.spaceId
          page: query.page
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments'].post
  update:
    x-apievangelist-phrasing:
      intent: Comment on a space or page
      effect: write
      questions:
      - How do I leave a comment on a page in a space?
      - Can I anchor a comment to a specific table cell?
      instructions:
      - text: Comment {body} on space {spaceId}.
        slots:
          body: requestBody.body
          spaceId: path.spaceId
      - text: Comment {body} on page {page} in space {spaceId}.
        slots:
          body: requestBody.body
          page: requestBody.page
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments/{commentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a space comment
      effect: read
      questions:
      - How do I read one comment on a space?
      - Can I fetch a comment's content as plain text?
      instructions:
      - text: Get comment {commentId} on space {spaceId}.
        slots:
          commentId: path.commentId
          spaceId: path.spaceId
      - text: Show comment {commentId} in space {spaceId} as {format}.
        slots:
          commentId: path.commentId
          spaceId: path.spaceId
          format: query.format
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments/{commentId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit a space comment or mark it resolved
      effect: write
      questions:
      - How do I edit the text of a comment on a space?
      - Can I mark a comment as resolved?
      instructions:
      - text: Change comment {commentId} on space {spaceId} to {body}.
        slots:
          commentId: path.commentId
          spaceId: path.spaceId
          body: requestBody.body
      - text: 'Mark comment {commentId} in space {spaceId} resolved: {resolved}.'
        slots:
          commentId: path.commentId
          spaceId: path.spaceId
          resolved: requestBody.resolved
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments/{commentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a space comment
      effect: destructive
      questions:
      - How do I delete a comment I posted on a space?
      - Can I remove a top-level comment from a space?
      instructions:
      - text: Delete comment {commentId} from space {spaceId}.
        slots:
          commentId: path.commentId
          spaceId: path.spaceId
      - text: Remove top-level comment {commentId} in space {spaceId}.
        slots:
          commentId: path.commentId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments/{commentId}/replies'].post
  update:
    x-apievangelist-phrasing:
      intent: Reply to a thread on a Space comment
      effect: write
      questions:
      - How do I continue a discussion on a Space comment?
      - Can I add a reply to a top-level comment in a Space?
      instructions:
      - text: Reply {body} to comment {commentId} in Space {spaceId}.
        slots:
          body: requestBody.body
          commentId: path.commentId
          spaceId: path.spaceId
      - text: Continue the discussion on comment {commentId} in Space {spaceId} with {body}.
        slots:
          commentId: path.commentId
          spaceId: path.spaceId
          body: requestBody.body
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one reply to a Space comment
      effect: read
      questions:
      - How do I read a single reply on a comment?
      - Can I get a reply to a Space comment by its ID?
      instructions:
      - text: Get reply {commentReplyId} to comment {commentId} in Space {spaceId}.
        slots:
          commentReplyId: path.commentReplyId
          commentId: path.commentId
          spaceId: path.spaceId
      - text: Show comment reply {commentReplyId} under comment {commentId} in Space {spaceId}.
        slots:
          commentReplyId: path.commentReplyId
          commentId: path.commentId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit a reply to a Space comment
      effect: write
      questions:
      - How do I edit a reply I posted on a comment?
      - Can I add or remove reactions from a comment reply?
      instructions:
      - text: Update reply {commentReplyId} on comment {commentId} in Space {spaceId} to say {body}.
        slots:
          commentReplyId: path.commentReplyId
          commentId: path.commentId
          spaceId: path.spaceId
          body: requestBody.body
      - text: Add reactions {addedReactions} and remove {removedReactions} from reply {commentReplyId} to comment {commentId} in Space {spaceId}.
        slots:
          addedReactions: requestBody.addedReactions
          removedReactions: requestBody.removedReactions
          commentReplyId: path.commentReplyId
          commentId: path.commentId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a reply to a Space comment
      effect: destructive
      questions:
      - How do I delete a reply I posted on a comment?
      - Can I remove a reply to a comment in a Space?
      instructions:
      - text: Delete reply {commentReplyId} to comment {commentId} in Space {spaceId}.
        slots:
          commentReplyId: path.commentReplyId
          commentId: path.commentId
          spaceId: path.spaceId
      - text: Remove reply {commentReplyId} from comment {commentId} in Space {spaceId}.
        slots:
          commentReplyId: path.commentReplyId
          commentId: path.commentId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/commenters'].get
  update:
    x-apievangelist-phrasing:
      intent: List users who have commented in a space
      effect: read
      questions:
      - Who has posted comments in a space?
      - Can I get the commenters on a space?
      instructions:
      - text: List users who have commented in space {spaceId}.
        slots:
          spaceId: path.spaceId
      - text: Show commenters on space {spaceId}, {limit} per page.
        slots:
          spaceId: path.spaceId
          limit: query.limit
      method: generated
      generated: '2026-11-26'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/gitbook-space-comments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.