GitBook · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitBook Collection Permissions API

8 actions 8 updates phrasing extends openapi/gitbook-collection-permissions-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 8

$.info
$.paths['/collections/{collectionId}/permissions'].post
$.paths['/collections/{collectionId}/permissions/teams'].get
$.paths['/collections/{collectionId}/permissions/teams/{teamId}'].delete
$.paths['/collections/{collectionId}/permissions/teams/{teamId}'].patch
$.paths['/collections/{collectionId}/permissions/users'].get
$.paths['/collections/{collectionId}/permissions/users/{userId}'].delete
$.paths['/collections/{collectionId}/permissions/users/{userId}'].patch

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 Collection Permissions API
  version: 1.0.0
extends: openapi/gitbook-collection-permissions-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: 7
- target: $.paths['/collections/{collectionId}/permissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite a user to a collection
      effect: write
      questions:
      - How do I add a teammate to a GitBook collection?
      - Can I invite a guest to a collection?
      instructions:
      - text: Invite a user to collection {collectionId} with role {role}.
        slots:
          collectionId: path.collectionId
          role: requestBody.role
      - text: Add a guest to collection {collectionId}.
        slots:
          collectionId: path.collectionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/permissions/teams'].get
  update:
    x-apievangelist-phrasing:
      intent: List an org team's permission in a collection
      effect: read
      questions:
      - What role does each team have in a collection?
      - Can I see which org teams have access to a collection?
      instructions:
      - text: List the team permissions in collection {collectionId}.
        slots:
          collectionId: path.collectionId
      - text: Show which teams have access to collection {collectionId}.
        slots:
          collectionId: path.collectionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/permissions/teams/{teamId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an org team from a collection
      effect: destructive
      questions:
      - How do I revoke a team's access to a collection?
      - Can I remove a whole org team from a collection?
      instructions:
      - text: Remove team {teamId} from collection {collectionId}.
        slots:
          teamId: path.teamId
          collectionId: path.collectionId
      - text: Revoke team {teamId}'s access to collection {collectionId}.
        slots:
          teamId: path.teamId
          collectionId: path.collectionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/permissions/teams/{teamId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change an org team's permission in a collection
      effect: write
      questions:
      - Can I change a team's role in a collection?
      - How do I promote a team's access to a collection?
      instructions:
      - text: Set team {teamId} to role {role} in collection {collectionId}.
        slots:
          teamId: path.teamId
          role: requestBody.role
          collectionId: path.collectionId
      - text: Change team {teamId}'s permission in collection {collectionId}.
        slots:
          teamId: path.teamId
          collectionId: path.collectionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/permissions/users'].get
  update:
    x-apievangelist-phrasing:
      intent: List individual user permissions in a collection
      effect: read
      questions:
      - Which individual users have access to a collection?
      - Can I see a user's role in a collection?
      instructions:
      - text: List the user permissions in collection {collectionId}.
        slots:
          collectionId: path.collectionId
      - text: Show who has access to collection {collectionId}.
        slots:
          collectionId: path.collectionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/permissions/users/{userId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a user from a collection
      effect: destructive
      questions:
      - How do I remove a single user from a collection?
      - Can I take away one teammate's access to a collection?
      instructions:
      - text: Remove user {userId} from collection {collectionId}.
        slots:
          userId: path.userId
          collectionId: path.collectionId
      - text: Revoke user {userId}'s access to collection {collectionId}.
        slots:
          userId: path.userId
          collectionId: path.collectionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/permissions/users/{userId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change a user's permission in a collection
      effect: write
      questions:
      - Can I change one user's role in a collection?
      - How do I demote a teammate in a collection?
      instructions:
      - text: Set user {userId} to role {role} in collection {collectionId}.
        slots:
          userId: path.userId
          role: requestBody.role
          collectionId: path.collectionId
      - text: Change user {userId}'s permission in collection {collectionId}.
        slots:
          userId: path.userId
          collectionId: path.collectionId
      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-collection-permissions-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.