GitBook · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitBook Git API

12 actions 12 updates phrasing extends openapi/gitbook-git-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 12

$.info
$.paths['/orgs/{organizationId}/sites/{siteId}/spaces/git/installations'].get
$.paths['/git/installations'].post
$.paths['/git/installations/{installationId}'].get
$.paths['/git/installations/{installationId}'].delete
$.paths['/git/installations/{installationId}'].patch
$.paths['/git/installations/{installationId}/github/repos'].get
$.paths['/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/branches'].get
$.paths['/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/file'].get
$.paths['/git/installations/{installationId}/gitlab/projects'].get
$.paths['/git/installations/{installationId}/gitlab/projects/{projectId}/branches'].get
$.paths['/git/installations/{installationId}/gitlab/projects/{projectId}/file'].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 Git API
  version: 1.0.0
extends: openapi/gitbook-git-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: 11
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/spaces/git/installations'].get
  update:
    x-apievangelist-phrasing:
      intent: List Git Sync installations on a site
      effect: read
      questions:
      - Which Git Sync installations are set up on my site?
      - Can I see the Git installations for every space of a site?
      instructions:
      - text: List Git Sync installations for site {siteId} in org {org}.
        slots:
          siteId: path.siteId
          org: path.organizationId
      - text: Show every Git installation on site {siteId}.
        slots:
          siteId: path.siteId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations'].post
  update:
    x-apievangelist-phrasing:
      intent: Install a Git Sync provider on a target
      effect: write
      questions:
      - How do I connect a GitHub or GitLab repo to my site?
      - Can I install a Git Sync provider on a specific target?
      instructions:
      - text: Install Git Sync provider {provider} on target {target}.
        slots:
          provider: requestBody.provider
          target: requestBody.target
      - text: Connect {provider} to {target} as a Git Sync installation.
        slots:
          provider: requestBody.provider
          target: requestBody.target
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a Git Sync installation
      effect: read
      questions:
      - What are the settings of one Git Sync installation?
      - Can I look up a Git Sync installation by its ID?
      instructions:
      - text: Get Git Sync installation {installationId}.
        slots:
          installationId: path.installationId
      - text: Show the configuration of Git Sync installation {installationId}.
        slots:
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Uninstall a Git Sync installation
      effect: destructive
      questions:
      - How do I disconnect a Git Sync installation from my site?
      - Can I remove a Git Sync installation entirely?
      instructions:
      - text: Uninstall Git Sync installation {installationId}.
        slots:
          installationId: path.installationId
      - text: Remove the Git Sync installation {installationId}.
        slots:
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a Git Sync installation
      effect: write
      questions:
      - How do I change the branch a Git Sync installation pulls from?
      - Can I queue a new sync with updated Git Sync settings?
      instructions:
      - text: Update Git Sync installation {installationId} with new settings.
        slots:
          installationId: path.installationId
      - text: Change the sync settings of Git Sync installation {installationId}.
        slots:
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}/github/repos'].get
  update:
    x-apievangelist-phrasing:
      intent: List GitHub repos available to a Git Sync installation
      effect: read
      questions:
      - Which GitHub repositories can a Git Sync installation sync with?
      - What GitHub repos does my Git Sync installation have access to?
      instructions:
      - text: List GitHub repositories available to Git Sync installation {installationId}.
        slots:
          installationId: path.installationId
      - text: Show the GitHub repos Git Sync installation {installationId} can sync.
        slots:
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/branches'].get
  update:
    x-apievangelist-phrasing:
      intent: List branches of a GitHub repo for a Git Sync installation
      effect: read
      questions:
      - What branches of a GitHub repo can a Git Sync installation sync?
      - Can I see the branch names of a GitHub repo for a Git Sync installation?
      instructions:
      - text: List branches of {repo} in {account} for Git Sync installation {installationId}.
        slots:
          repo: path.repositoryName
          account: path.accountName
          installationId: path.installationId
      - text: Show the branch names of {repo} ({account}) available to Git Sync installation {installationId}.
        slots:
          repo: path.repositoryName
          account: path.accountName
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/file'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a file from a GitHub repo for a Git Sync installation
      effect: read
      questions:
      - How do I read a file from a GitHub repo through a Git Sync installation?
      - Can I fetch a specific file from a GitHub branch for a Git Sync installation?
      instructions:
      - text: Get file {path} from {repo} in {account} at ref {ref} via Git Sync installation {installationId}.
        slots:
          path: query.path
          repo: path.repositoryName
          account: path.accountName
          ref: query.ref
          installationId: path.installationId
      - text: Read {path} in {repo} ({account}) on {ref} using Git Sync installation {installationId}.
        slots:
          path: query.path
          repo: path.repositoryName
          account: path.accountName
          ref: query.ref
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}/gitlab/projects'].get
  update:
    x-apievangelist-phrasing:
      intent: List GitLab projects available to a Git Sync installation
      effect: read
      questions:
      - Which GitLab projects can a Git Sync installation sync with?
      - What GitLab projects does my Git Sync installation have access to?
      instructions:
      - text: List GitLab projects available to Git Sync installation {installationId}.
        slots:
          installationId: path.installationId
      - text: Show the GitLab projects Git Sync installation {installationId} can sync.
        slots:
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}/gitlab/projects/{projectId}/branches'].get
  update:
    x-apievangelist-phrasing:
      intent: List branches in a GitLab project for Git Sync
      effect: read
      questions:
      - Which branches can I sync from a GitLab project?
      - What GitLab branches are available to a Git Sync installation?
      instructions:
      - text: List branches of GitLab project {projectId} for Git Sync installation {installationId}.
        slots:
          projectId: path.projectId
          installationId: path.installationId
      - text: Show available GitLab branches in project {projectId} under Git Sync {installationId}.
        slots:
          projectId: path.projectId
          installationId: path.installationId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/git/installations/{installationId}/gitlab/projects/{projectId}/file'].get
  update:
    x-apievangelist-phrasing:
      intent: Read a file from a GitLab project for Git Sync
      effect: read
      questions:
      - How do I fetch the contents of a file from a GitLab project in a Git Sync setup?
      - Can I read a specific GitLab file at a branch ref for Git Sync?
      instructions:
      - text: Get file {path} from GitLab project {projectId} at {ref} for Git Sync {installationId}.
        slots:
          path: query.path
          projectId: path.projectId
          ref: query.ref
          installationId: path.installationId
      - text: Fetch the {path} file in Git Sync {installationId} from project {projectId} on ref {ref}.
        slots:
          path: query.path
          installationId: path.installationId
          projectId: path.projectId
          ref: query.ref
      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-git-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.