Spaces
Manage your project spaces.
The unique id of the space
For sites published via share-links, the share key is useful to resolve published URLs.
The unique id of the space
The unique id of the parent collection
Where to move the space. By default, it will be moved at the end.
The unique id of the space
The unique id of the target organization
The unique id of the space
URL of the Git repository to import. It can contain basic auth credentials.
Git ref to import in the format "refs/heads/main"
Unique identifier to use to cache the Git repository across multiple operations.
URL to use as a prefix for external file references.
URL to use as a prefix for the commit URL.
Path to a root directory for the project in the repository.
The timestamp of the event that triggered this import. It ensures that Git sync import and export operations are executed in the same order on GitBook and on the remote repository.
If true, the import will generate a revision without updating the space primary content.
Optional metadata to store on the space about the Git provider
No body
The unique id of the space
URL of the Git repository to export to. It can contain basic auth credentials.
Git ref to push the commit to in the format "refs/heads/main"
Message for the commit generated by the export
Unique identifier to use to cache the Git repository across multiple operations.
URL to use as a prefix for external file references.
URL to use as a prefix for the commit URL.
Path to a root directory for the project in the repository.
The timestamp of the event that triggered this export. It ensures that Git sync import and export operations are executed in the same order on GitBook and on the remote repository.
Optional metadata to store on the space about the Git provider
No body
The unique id of the space
Role to set.
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
No body
The unique id of the space
The unique ID of the Team
The role of a member in an organization, null for guests
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
No body
The unique id of the space
The unique ID of the User
The role of a member in an organization, null for guests
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
No body
The unique id of the space
If false
is passed, "git" mutable metadata will not returned. Passing false
can optimize performances of the lookup.
If false
is passed, content will not be computed
The unique id of the space
If false
is passed, "git" mutable metadata will not returned. Passing false
can optimize performances of the lookup.
If false
is passed, content will not be computed
The unique id of the space
Identifier of the page results to fetch.
The number of results per page
If false
is passed, "git" mutable metadata will not returned. Passing false
can optimize performances of the lookup.
If false
is passed, content will not be computed
The unique id of the space
The unique id of the file
If false
is passed, "git" mutable metadata will not returned. Passing false
can optimize performances of the lookup.
If false
is passed, content will not be computed
The unique id of the space
The unique id of the file
Identifier of the page results to fetch.
The number of results per page
The unique id of the space
The unique id of the page
Output format for the content.
If false
is passed, "git" mutable metadata will not returned. Passing false
can optimize performances of the lookup.
If false
is passed, content will not be computed
The unique id of the space
The unique id of the page
Identifier of the page results to fetch.
The number of results per page
Text to display to represent the reference. Possible values include:
ok
- No problems detected for this content reference.broken
- The target does not exist in the revision.in-app
- The target is a URL link pointing to an internal location in the app.
The unique id of the space
The unique id of the page
Identifier of the page results to fetch.
The number of results per page
The unique id of the space
The unique id of the page
URL of the content to import.
The unique id of the space
The path of the page in the revision.
Output format for the content.
If false
is passed, "git" mutable metadata will not returned. Passing false
can optimize performances of the lookup.
If false
is passed, content will not be computed
The unique id of the space
The unique id of the reusable content
If false
is passed, "git" mutable metadata will not returned. Passing false
can optimize performances of the lookup.
If false
is passed, content will not be computed
The unique id of the space
ID of the document in the space
Version of the schema used for the document.
The unique id of the space
Identifier of the page results to fetch.
The number of results per page
If defined, only change requests matching this status will be returned.
If defined, only change requests with contributions from this user will be returned.
The unique id of the space
The unique ID of the change request or its number identifier in the space
Identifier of the page results to fetch.
The number of results per page
Request reviewers on a change request. Note that requesting a review from teams is not yet supported.
The unique id of the space
The unique ID of the change request or its number identifier in the space
An array of user ids that will be requested.
Optionally, update the subject of the change request when requesting reviewers.
The unique id of the space
The unique id of the comment
Output format for the content.
The unique id of the space
The unique id of the comment
Whether the comment is resolved or not.
Content of the comment.
Reactions to add to the comment.
Reactions to remove from the comment.
The unique id of the space
Generate a PDF only for the provided page.
ID of a specific page to generate a PDF for.
The unique id of the space
Identifier of the page results to fetch.
The number of results per page
Text to display to represent the reference. Possible values include:
ok
- No problems detected for this content reference.broken
- The target does not exist in the revision.in-app
- The target is a URL link pointing to an internal location in the app.
Lists spaces for the specified organization.
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
The unique id of the organization
Unicode codepoint or character of the emoji
🎉
Private spaces are no longer supported by GitBook.
ID of a parent collection
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
A search string to filter integrations by name
Filter the integrations by category
Filter the integrations by block's domains
^[a-zA-Z0-9-_.]+$
If true, returns only integrations with blocks. If false, returns only integrations without blocks.
If true, returns only integrations with contentSources. If false, returns only integrations without contentSources.
If defined, only list integrations owned by the given organization.
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
A search string to filter integrations by name
Was this helpful?