How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitBook Change Request Comments API

This API powers the inline discussion around any new or updated documentation. Participate in comment threads and resolve them after reaching consensus.{% openapi-schemas spec="gitbook" schemas="Comment" grouped="false" %} The Comment object{% endopenapi-schemas %}

GitBook Change Request Comments API is one of 65 APIs that GitBook publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 7 JSON Schema definitions.

Tagged areas include change-request-comments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a JSON-LD context, and 7 JSON Schemas.

This API exposes 11 operations across 5 paths, and defines 122 schemas. It is described by OpenAPI 3.2.0, at version 0.0.1-beta.

Requests are made against a single base URL, {host}/v1.

11 operations 5 paths 122 schemas 2 DELETE5 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.0.1-beta
Server
{host}/v1
Authentication
HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer, OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 6

GitBook Change Request Comments API declares 6 security schemes for authenticating requests. It accepts HTTP bearer tokens (user). It accepts HTTP bearer tokens (user-internal). It accepts HTTP bearer tokens (user-staff). It accepts HTTP bearer tokens (integration). It accepts HTTP bearer tokens (integration-installation). It supports OAuth 2.0 (oauth) using the authorizationCode flow, exposing 29 scopes. By default, every request must be authenticated.

Paths & Operations 11

Across 5 paths, the API surfaces 11 operations — 2 DELETE, 5 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

change-request-comments 11

This API powers the inline discussion around any new or updated documentation. Participate in comment threads and resolve them after reaching consensus. {% openapi-schemas spec="g…

GET
/spaces/{spaceId}/change-requests/{changeRequestId}/comments
List all top-level comments in a change request
listCommentsInChangeRequest 9 params → 200
POST
/spaces/{spaceId}/change-requests/{changeRequestId}/comments
Post a new comment on a change request
postCommentInChangeRequest 2 params body → 200
GET
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
Get a single comment from a change request by its ID
getCommentInChangeRequest 4 params → 200
DELETE
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
Delete a change request comment
deleteCommentInChangeRequest 3 params → 204205
PUT
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
Update the content or status of a change request comment
updateCommentInChangeRequest 3 params body → 200
GET
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
List all replies to a change request comment
listCommentRepliesInChangeRequest 6 params → 200
POST
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
Post a reply to a change request comment
postCommentReplyInChangeRequest 4 params body → 200
GET
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
Get a single reply to a change request comment
getCommentReplyInChangeRequest 5 params → 200
PUT
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
Update the content of a change request comment reply
updateCommentReplyInChangeRequest 4 params body → 200
DELETE
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
Delete a change request comment reply
deleteCommentReplyInChangeRequest 4 params → 204205
GET
/spaces/{spaceId}/change-requests/{changeRequestId}/commenters
List all users who have commented in a change request
listCommentersInChangeRequest 4 params → 200

Schemas 122

The contract defines 122 schemas that model the data the API accepts and returns. The most detailed are OrganizationMember (11 properties), CommentReply (9 properties), DocumentTableViewCards (8 properties), DocumentInlineAnnotation (7 properties). Each schema is shown below with its type and property counts.

DocumentBlockDivider
object
5 properties 4 required
DocumentBlockIf
object
6 properties 4 required
MarkdownDocument
object
1 property 1 required
ContentRefPage
object
3 properties 2 required
DocumentBlockDrawing
object
6 properties 4 required
CardsImageObjectFit
string
Object fit for image display in card views
DocumentBlocksEssentials
DocumentTableDefinitionCheckbox
DocumentFragment
object
5 properties 2 required
DocumentInlineExpression
object
5 properties 4 required
DocumentTableDefinitionUsers
DocumentBlockStepper
object
6 properties 3 required
ContentRef
A relative reference to content in GitBook.
DocumentText
object
3 properties 2 required
DocumentMarkBold
object
2 properties 2 required
DocumentBlockHint
object
6 properties 4 required
ContentRefURL
object
2 properties 2 required
DocumentInlineIcon
object
5 properties 4 required
DocumentTableDefinitionSelect
EmojiReaction
object
An emoji reaction by one or many users
3 properties 3 required
DocumentBlockFile
object
6 properties 4 required
DocumentBlockIntegration
object
6 properties 4 required
DocumentBlock
DocumentInlineAnnotation
object
7 properties 5 required
DocumentBlocksTopLevels
DocumentBlockEmbed
object
6 properties 4 required
DocumentBlockReusableContent
object
6 properties 4 required
DocumentTableDefinitionFiles
DocumentMarkSubscript
object
2 properties 2 required
ContentRefTag
object
3 properties 2 required
OpenAPIWebhookPointer
object
Pointer to a webhook in the OpenAPI spec.
2 properties 2 required
DocumentBlockOpenAPI
object
6 properties 4 required
ContentRefCollection
object
2 properties 2 required
DocumentTableDefinitionContentRef
PostCommentSchema
object
4 properties 1 required
DocumentBlockQuote
object
6 properties 3 required
OrganizationMember
object
11 properties 10 required
DocumentBlockTable
object
6 properties 5 required
DocumentAction
object
Action to perform when an inline button is clicked.
DocumentBlockTabs
object
6 properties 3 required
DocumentBlockParagraph
object
6 properties 3 required
DocumentInlineEmoji
object
5 properties 4 required
DocumentMarkKeyboard
object
2 properties 2 required
DocumentTableSelectOption
object
3 properties 3 required
DocumentTableCellSpan
integer
Number of rows or columns covered by a table cell merge
DocumentTableCellMerge
object
Positional table cell merge range. The anchor and spans are resolved against the current sorted record order and visible column order. The current document mod…
3 properties 3 required
DocumentBlockListUnordered
object
6 properties 3 required
UserContributor
object
Contributor towards content.
3 properties 3 required
DocumentBlockHeading
object
7 properties 4 required
OpenAPIOperationPointer
object
Pointer to an operation in the OpenAPI spec.
2 properties 2 required
DocumentInlineMath
object
5 properties 4 required
MemberRoleOrGuest
The role of a member in an organization, null for guests
DocumentBlockOpenAPISchemas
object
6 properties 4 required
PlainObject
DocumentTableDefinitionRating
DocumentTextLeaf
object
3 properties 3 required
DocumentMarkStrikethrough
object
2 properties 2 required
UpdateCommentSchema
object
4 properties
DocumentBlockPrompt
object
6 properties 4 required
EmojiReactions
array
DocumentBlockExpandable
object
7 properties 5 required
Icon
string
Name of the icon
DocumentTableDefinition
ContentRefUser
object
2 properties 2 required
MemberRole
string
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review…
DocumentBlockOpenAPIWebhook
object
6 properties 4 required
DocumentInlineMention
object
5 properties 4 required
DocumentMarkSuperscript
object
2 properties 2 required
DocumentBlockUpdates
object
6 properties 4 required
ContentKitDefaultAction
DocumentBlockCode
object
6 properties 4 required
DocumentInlineImage
object
5 properties 4 required
DocumentTableDefinitionNumber
ContentRefAnchor
object
4 properties 2 required
Timestamp
string
DocumentTableDefinitionText
DocumentBlockCodeLine
object
6 properties 4 required
ContentKitAction
JSONDocument
object
4 properties 3 required
DocumentBlockUpdate
object
6 properties 4 required
DocumentBlockImages
object
6 properties 5 required
TextAlignment
string
ContentRefFile
object
3 properties 2 required
DocumentBlockListTasks
object
6 properties 3 required
OpenAPISchemasPointer
object
Pointer to schemas in the OpenAPI spec.
3 properties 1 required
List
object
2 properties
DocumentBlockColumns
object
6 properties 5 required
DocumentMarkCode
object
2 properties 2 required
VerticalAlignment
string
DocumentTableImageRecord
A table record value for image columns, supporting both direct ContentRefs and the additional format with record-level settings.
DocumentBlockStepperStep
object
6 properties 4 required
DocumentBlockImage
object
6 properties 5 required
TableCellTarget
object
Details about the table cell this comment is attached to, if any.
2 properties 2 required
DocumentTableViewCards
object
8 properties 3 required
CommentReply
object
9 properties 8 required
ContentRefOpenAPI
object
2 properties 2 required
ContentRefSpace
object
2 properties 2 required
ContentRefReusableContent
object
3 properties 2 required
DocumentTableDefinitionBase
object
2 properties 2 required
Comment
PostCommentReplySchema
object
1 property 1 required
DocumentBlockTabsItem
object
7 properties 4 required
DocumentBlockColumn
object
6 properties 4 required
DocumentTextMark
DocumentTableViewGrid
object
7 properties 3 required
Document
DocumentMarkColor
object
3 properties 3 required
DocumentTableRecord
object
2 properties 2 required
DocumentBlockOpenAPIOperation
object
6 properties 4 required
EntityId
string
A unique entity identifier
DocumentInline
DocumentBlockMath
object
5 properties 4 required
DocumentMarkItalic
object
2 properties 2 required
DocumentBlockContentRef
object
5 properties 4 required
DocumentBlockListItem
object
6 properties 3 required
DocumentTableDefinitionImage
Length
User
object
6 properties 4 required
DocumentTextColor
string
Allowed color tokens for color marks (text and background; background reuses this enum). Named colors are fixed palette keys. $ tokens are semantic: resolved f…
DocumentBlockListOrdered
object
6 properties 4 required
DocumentInlineLink
object
6 properties 4 required
DocumentInlineButton
object
5 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitbook-change-request-comments-api-openapi.yml Raw ↑

Other APIs GitBook publishes across the network.

GitBook Change Request Content API
GitBook Change Request Reviewers API
GitBook Change Requests API
GitBook Collections API
GitBook Custom Hostnames API
GitBook Imports API
GitBook Integrations API
GitBook Organization Members API
GitBook Organizations API
GitBook Site Spaces API
GitBook Space Content API
GitBook Spaces API
Where this information came from

This is an independent, third-party profile of GitBook Change Request Comments API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.