GitBook · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitBook Site Permissions API

5 actions 5 updates phrasing extends openapi/gitbook-site-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 5

$.info
$.paths['/orgs/{organizationId}/sites/{siteId}/permissions'].post
$.paths['/orgs/{organizationId}/sites/{siteId}/permissions/teams'].get
$.paths['/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}'].delete
$.paths['/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}'].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 Site Permissions API
  version: 1.0.0
extends: openapi/gitbook-site-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: 4
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/permissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite a user or team to a site
      effect: write
      questions:
      - How do I invite a teammate to edit a site?
      - Can I give a guest role when inviting someone to a site?
      instructions:
      - text: Invite a {role} to site {siteId} in org {organizationId}.
        slots:
          role: requestBody.role
          siteId: path.siteId
          organizationId: path.organizationId
      - text: Add a teammate to site {siteId} with role {role}.
        slots:
          siteId: path.siteId
          role: requestBody.role
      method: generated
      generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/permissions/teams'].get
  update:
    x-apievangelist-phrasing:
      intent: List team permissions on a site
      effect: read
      questions:
      - Which teams have access to a site and what role do they hold?
      - Can I page through a site's team permissions?
      instructions:
      - text: List the teams and their roles on site {siteId} in org {organizationId}.
        slots:
          siteId: path.siteId
          organizationId: path.organizationId
      - text: Show page {page} of team permissions for site {siteId} in org {organizationId}.
        slots:
          page: query.page
          siteId: path.siteId
          organizationId: path.organizationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a team from a site
      effect: destructive
      questions:
      - How do I revoke a team's access to a site?
      - Can I remove a team from a site without deleting the team?
      instructions:
      - text: Remove team {teamId} from site {siteId} in org {organizationId}.
        slots:
          teamId: path.teamId
          siteId: path.siteId
          organizationId: path.organizationId
      - text: Revoke team {teamId}'s access to site {siteId}.
        slots:
          teamId: path.teamId
          siteId: path.siteId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change a team's permission on a site
      effect: write
      questions:
      - Can I change a team's role on a site?
      - How do I promote a team to admin on a site?
      instructions:
      - text: Set team {teamId} to role {role} on site {siteId} in org {organizationId}.
        slots:
          teamId: path.teamId
          role: requestBody.role
          siteId: path.siteId
          organizationId: path.organizationId
      - text: Promote team {teamId} to {role} on site {siteId}.
        slots:
          teamId: path.teamId
          role: requestBody.role
          siteId: path.siteId
      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-site-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.