Spaces
Create, maintain, and remove content spaces.
Spaces are containers for your documentation or knowledge base content. Use this API to create new spaces, manage existing ones, and delete or archive spaces you no longer need.
Type of Object, always equals to "space"
space
Unique identifier for the space
Title of the space
An emoji for this space. It'll match the emoji shown in the GitBook app.
🎉
public
: Anyone can access the content, and the content is indexed by search engines.unlisted
: Anyone can access the content, and the content is not indexed by search enginesshare-link
: Anyone with a secret token in the url can access the content.visitor-auth
: Anyone authenticated through a JWT token can access the content.in-collection
: Anyone who can access the parent collection can access the content. Only available for spaces in a collection.private
: Authorized members can access the content.
public
, unlisted
, share-link
, visitor-auth
, in-collection
, private
Determines how a Space can be edited.
live
: Users can directly edit the spacelocked
: All edits are locked for this space.
live
, locked
URLs associated with the object
ID of the organization owning this space
ID of the parent collection.
ID of the active revision in the space.
Default level for a piece of content
"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.
Count of opened comments on the space.
Total count of change requests on the space.
Count of open change requests on the space.
Count of draft change requests on the space.
The set of permissions for the space
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.
Transfer a space to another organization, collection or both.
The unique id of the space
The unique id of the target organization
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.
ok
, broken
, in-app
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
Was this helpful?