GitBook

GitBook is a modern documentation platform that helps teams create, collaborate on, and publish product and engineering knowledge. It combines an intuitive editor with docs-as-code workflows, letting you write in rich text or Markdown, review changes, and version content like code. GitBook can host public docs and private knowledge bases with granular access control, SSO, custom domains, and analytics.

OpenAPI Specification

gitbook-gitbook-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: GitBook API
  description: >-
    The GitBook REST API enables you to programmatically manage your GitBook
    content, organizations, spaces, collections, and integrations. It supports
    creating, updating, and deleting organizations, spaces, collections, and
    published docs sites; managing users, teams, and access permissions;
    importing and exporting content; creating, listing, reviewing, merging,
    and updating change requests; managing comments; configuring custom
    hostnames and URLs; and managing integrations and OpenAPI documentation.
  version: 1.0.0
  contact:
    name: GitBook
    url: https://www.gitbook.com
  license:
    name: Proprietary
    url: https://www.gitbook.com/terms
servers:
  - url: https://api.gitbook.com/v1
    description: GitBook API v1
security:
  - bearerAuth: []
tags:
  - name: Change Request Content
    description: Manage content within a change request.
  - name: Change Request Reviewers
    description: Manage reviewers for change requests.
  - name: Change Requests
    description: >-
      Create, list, review, merge, and update change requests for
      collaborative editing.
  - name: Collections
    description: Organize and manage grouped sets of spaces.
  - name: Custom Hostnames
    description: Configure custom hostnames for docs sites.
  - name: Docs Sites
    description: Manage published documentation sites.
  - name: Imports
    description: Import content into spaces.
  - name: Integrations
    description: Install and manage third-party integrations.
  - name: OpenAPI Specs
    description: Upload and manage OpenAPI specifications.
  - name: Organization Members
    description: Manage members and their roles within an organization.
  - name: Organization Teams
    description: Manage teams within an organization.
  - name: Organizations
    description: >-
      Create and configure organizations to group users, spaces, and
      collections.
  - name: Search
    description: Search content across an organization.
  - name: Site Spaces
    description: Manage spaces within a docs site.
  - name: Space Content
    description: Manage pages and content within a space.
  - name: Space Users
    description: Manage user permissions within a space.
  - name: Spaces
    description: >-
      Manage spaces which are containers for documentation or knowledge base
      content.
  - name: URLs
    description: Resolve and manage content URLs.
  - name: Users
    description: Manage user accounts and profiles.
paths:
  /user:
    get:
      operationId: getCurrentUser
      summary: GitBook Get the authenticated user
      description: Returns the currently authenticated user.
      tags:
        - Users
      responses:
        '200':
          description: The authenticated user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /users/{userId}:
    get:
      operationId: getUserById
      summary: GitBook Get a user by ID
      description: Returns a user by their unique identifier.
      tags:
        - Users
      parameters:
        - $ref: '#/components/parameters/userId'
      responses:
        '200':
          description: The requested user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /orgs:
    get:
      operationId: listOrganizations
      summary: GitBook List organizations
      description: >-
        Returns the list of organizations for the currently authenticated
        user.
      tags:
        - Organizations
      responses:
        '200':
          description: A list of organizations.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Organization'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /orgs/{organizationId}:
    get:
      operationId: getOrganization
      summary: GitBook Get an organization
      description: Returns an organization by its ID.
      tags:
        - Organizations
      parameters:
        - $ref: '#/components/parameters/organizationId'
      responses:
        '200':
          description: The requested organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      operationId: updateOrganization
      summary: GitBook Update an organization
      description: Updates an organization's settings.
      tags:
        - Organizations
      parameters:
        - $ref: '#/components/parameters/organizationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  description: The display name of the organization.
      responses:
        '200':
          description: The updated organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /orgs/{organizationId}/members:
    get:
      operationId: listOrganizationMembers
      summary: GitBook List organization members
      description: Returns the list of members in an organization.
      tags:
        - Organization Members
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/limitParam'
      responses:
        '200':
          description: A list of organization members.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/OrganizationMember'
                  next:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /orgs/{organizationId}/members/{userId}:
    get:
      operationId: getOrganizationMember
      summary: GitBook Get an organization member
      description: Returns details about a specific organization member.
      tags:
        - Organization Members
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/userId'
      responses:
        '200':
          description: The organization member.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationMember'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      operationId: updateOrganizationMember
      summary: GitBook Update an organization member
      description: Updates the role of an organization member.
      tags:
        - Organization Members
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/userId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                role:
                  $ref: '#/components/schemas/MemberRole'
      responses:
        '200':
          description: The updated organization member.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationMember'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: removeOrganizationMember
      summary: GitBook Remove an organization member
      description: Removes a member from an organization.
      tags:
        - Organization Members
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/userId'
      responses:
        '204':
          description: Member removed successfully.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /orgs/{organizationId}/teams:
    get:
      operationId: listOrganizationTeams
      summary: GitBook List organization teams
      description: Returns the list of teams in an organization.
      tags:
        - Organization Teams
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/limitParam'
      responses:
        '200':
          description: A list of teams.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Team'
                  next:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /orgs/{organizationId}/teams/{teamId}:
    get:
      operationId: getOrganizationTeam
      summary: GitBook Get a team
      description: Returns a team by its ID.
      tags:
        - Organization Teams
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/teamId'
      responses:
        '200':
          description: The requested team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Team'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /orgs/{organizationId}/spaces:
    get:
      operationId: listSpacesInOrganization
      summary: GitBook List spaces in an organization
      description: Returns the list of spaces in an organization.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/limitParam'
      responses:
        '200':
          description: A list of spaces.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Space'
                  next:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    post:
      operationId: createSpaceInOrganization
      summary: GitBook Create a space in an organization
      description: Creates a new space in an organization.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/organizationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - title
              properties:
                title:
                  type: string
                  description: The title of the space.
                emoji:
                  type: string
                  description: An emoji icon for the space.
                parent:
                  type: string
                  description: The ID of the parent collection.
      responses:
        '201':
          description: The newly created space.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Space'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}:
    get:
      operationId: getSpace
      summary: GitBook Get a space
      description: Returns a space by its ID.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/spaceId'
      responses:
        '200':
          description: The requested space.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Space'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      operationId: updateSpace
      summary: GitBook Update a space
      description: Updates a space's settings.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/spaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  description: The title of the space.
                emoji:
                  type: string
                  description: An emoji icon for the space.
                visibility:
                  type: string
                  enum:
                    - public
                    - unlisted
                    - share-link
                    - in-collection
                    - private
                  description: The visibility of the space.
      responses:
        '200':
          description: The updated space.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Space'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: deleteSpace
      summary: GitBook Delete a space
      description: Deletes a space.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/spaceId'
      responses:
        '204':
          description: Space deleted successfully.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/duplicate:
    post:
      operationId: duplicateSpace
      summary: GitBook Duplicate a space
      description: Creates a duplicate of the specified space.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/spaceId'
      responses:
        '201':
          description: The duplicated space.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Space'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/move:
    post:
      operationId: moveSpace
      summary: GitBook Move a space
      description: Moves a space to a different parent collection or organization.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/spaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                parent:
                  type: string
                  description: >-
                    The ID of the target parent collection or organization.
      responses:
        '200':
          description: The moved space.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Space'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/transfer:
    post:
      operationId: transferSpace
      summary: GitBook Transfer a space
      description: Transfers a space to another organization.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/spaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - organization
              properties:
                organization:
                  type: string
                  description: The ID of the target organization.
      responses:
        '200':
          description: The transferred space.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Space'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/restore:
    post:
      operationId: restoreSpace
      summary: GitBook Restore a deleted space
      description: Restores a previously deleted space.
      tags:
        - Spaces
      parameters:
        - $ref: '#/components/parameters/spaceId'
      responses:
        '200':
          description: The restored space.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Space'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/permissions/users:
    get:
      operationId: listSpaceUsers
      summary: GitBook List space user permissions
      description: Returns the list of users with permissions on a space.
      tags:
        - Space Users
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/limitParam'
      responses:
        '200':
          description: A list of space users.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/SpaceUser'
                  next:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/permissions/users/{userId}:
    patch:
      operationId: updateSpaceUser
      summary: GitBook Update space user permissions
      description: Updates a user's permission role on a space.
      tags:
        - Space Users
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/userId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - role
              properties:
                role:
                  $ref: '#/components/schemas/SpaceRole'
      responses:
        '200':
          description: The updated space user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceUser'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: removeSpaceUser
      summary: GitBook Remove a space user
      description: Removes a user's permissions from a space.
      tags:
        - Space Users
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/userId'
      responses:
        '204':
          description: User removed from space successfully.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/content:
    get:
      operationId: getSpaceContent
      summary: GitBook Get space content
      description: Returns the content tree of a space including all pages.
      tags:
        - Space Content
      parameters:
        - $ref: '#/components/parameters/spaceId'
      responses:
        '200':
          description: The content tree of the space.
          content:
            application/json:
              schema:
                type: object
                properties:
                  pages:
                    type: array
                    items:
                      $ref: '#/components/schemas/Page'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/content/page/{pageId}:
    get:
      operationId: getPageInSpace
      summary: GitBook Get a page in a space
      description: Returns a specific page within a space.
      tags:
        - Space Content
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/pageId'
      responses:
        '200':
          description: The requested page.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    put:
      operationId: updatePageInSpace
      summary: GitBook Update a page in a space
      description: Updates the content or metadata of a page within a space.
      tags:
        - Space Content
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/pageId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  description: The title of the page.
                description:
                  type: string
                  description: The description of the page.
                document:
                  type: object
                  description: The document content of the page.
      responses:
        '200':
          description: The updated page.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/content/files:
    get:
      operationId: listFilesInSpace
      summary: GitBook List files in a space
      description: Returns the list of files uploaded to a space.
      tags:
        - Space Content
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/limitParam'
      responses:
        '200':
          description: A list of files.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/File'
                  next:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /orgs/{organizationId}/collections:
    get:
      operationId: listCollectionsInOrganization
      summary: GitBook List collections
      description: Returns the list of collections in an organization.
      tags:
        - Collections
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/limitParam'
      responses:
        '200':
          description: A list of collections.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Collection'
                  next:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    post:
      operationId: createCollection
      summary: GitBook Create a collection
      description: Creates a new collection in an organization.
      tags:
        - Collections
      parameters:
        - $ref: '#/components/parameters/organizationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - title
              properties:
                title:
                  type: string
                  description: The title of the collection.
      responses:
        '201':
          description: The newly created collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /collections/{collectionId}:
    get:
      operationId: getCollection
      summary: GitBook Get a collection
      description: Returns a collection by its ID.
      tags:
        - Collections
      parameters:
        - $ref: '#/components/parameters/collectionId'
      responses:
        '200':
          description: The requested collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Collection'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: deleteCollection
      summary: GitBook Delete a collection
      description: Deletes a collection.
      tags:
        - Collections
      parameters:
        - $ref: '#/components/parameters/collectionId'
      responses:
        '204':
          description: Collection deleted successfully.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/change-requests:
    get:
      operationId: listChangeRequests
      summary: GitBook List change requests
      description: Returns the list of change requests for a space.
      tags:
        - Change Requests
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/limitParam'
        - name: status
          in: query
          description: Filter by change request status.
          schema:
            type: string
            enum:
              - open
              - merged
              - closed
      responses:
        '200':
          description: A list of change requests.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/ChangeRequest'
                  next:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    post:
      operationId: createChangeRequest
      summary: GitBook Create a change request
      description: Creates a new change request for a space.
      tags:
        - Change Requests
      parameters:
        - $ref: '#/components/parameters/spaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - subject
              properties:
                subject:
                  type: string
                  description: The title/subject of the change request.
                description:
                  type: string
                  description: A description of the change request.
      responses:
        '201':
          description: The newly created change request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/change-requests/{changeRequestId}:
    get:
      operationId: getChangeRequest
      summary: GitBook Get a change request
      description: Returns a change request by its ID.
      tags:
        - Change Requests
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/changeRequestId'
      responses:
        '200':
          description: The requested change request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      operationId: updateChangeRequest
      summary: GitBook Update a change request
      description: Updates a change request's subject or description.
      tags:
        - Change Requests
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/changeRequestId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                subject:
                  type: string
                  description: The title/subject of the change request.
                description:
                  type: string
                  description: A description of the change request.
      responses:
        '200':
          description: The updated change request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/change-requests/{changeRequestId}/merge:
    post:
      operationId: mergeChangeRequest
      summary: GitBook Merge a change request
      description: Merges a change request into the main content of the space.
      tags:
        - Change Requests
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/changeRequestId'
      responses:
        '200':
          description: The merged change request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /spaces/{spaceId}/change-requests/{changeRequestId}/content:
    get:
      operationId: getChangeRequestContent
      summary: GitBook Get change request content
      description: >-
        Returns the content tree of a change request including all pages
        and files.
      tags:
        - Change Request Content
      parameters:
        - $ref: '#/components/parameters/spaceId'
        - $ref: '#/components/parameters/changeRequestId'
      responses:
        '200':
          description: The content of the change request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  pages:
                    type: array
                    item

# --- truncated at 32 KB (69 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/gitbook/refs/heads/main/openapi/gitbook-gitbook-api-openapi.yml