Spaces
A space in GitBook is the entity of a project you work in.
GET
a specific space
GET
a specific spaceGet the details about a space.
The unique id of the space
OK
Type of Object, always equals to "space"
Unique identifier for the space
Title of the space
Unicode codepoint or character of the emoji
"🎉"
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.
Determines how a Space can be edited.
live
: Users can directly edit the spacelocked
: All edits are locked for this space.
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
GET
permissions for all users in a space
GET
permissions for all users in a spaceList permissions for all users in a space.
The unique id of the space
Listing of users who can access the space.
Total count of objects in the list
POST
a new space in an organization
POST
a new space in an organizationCreate an organization space
The unique id of the organization
Unicode codepoint or character of the emoji
"🎉"
ID of a parent collection
Space created
Type of Object, always equals to "space"
Unique identifier for the space
Title of the space
Unicode codepoint or character of the emoji
"🎉"
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.
Determines how a Space can be edited.
live
: Users can directly edit the spacelocked
: All edits are locked for this space.
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
POST
a duplicate of a space
POST
a duplicate of a spaceCreate a duplicate of the space.
The unique id of the space
Space duplicated
Type of Object, always equals to "space"
Unique identifier for the space
Title of the space
Unicode codepoint or character of the emoji
"🎉"
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.
Determines how a Space can be edited.
live
: Users can directly edit the spacelocked
: All edits are locked for this space.
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
UPDATE
a specific space
UPDATE
a specific spaceUpdate the details of a space
The unique id of the space
Determines how a Space can be edited.
live
: Users can directly edit the spacelocked
: All edits are locked for this space.
Title of the space
Default level for a piece of content
The space has been updated
Type of Object, always equals to "space"
Unique identifier for the space
Title of the space
Unicode codepoint or character of the emoji
"🎉"
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.
Determines how a Space can be edited.
live
: Users can directly edit the spacelocked
: All edits are locked for this space.
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
Last updated