Collections
A collection in GitBook is the entity of a group that a space can belong to.
GET
a specific collection
GET
a specific collectionGet the details about a collection using its ID
The unique id of the collection
OK
Type of Object, always equals to "collection"
Unique identifier for the collection
Title of the collection
Description of the collection
Path in the published URL
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.
ID of the organization owning this collection
ID of the parent collection, if any
Default level for a piece of content
URLs associated with the object
GET
spaces in a collection
GET
spaces in a collectionList all the spaces in a collection by its ID.
The unique id of the collection
OK
Total count of objects in the list
Get the details about a collection using its ID
The unique id of the collection
OK
Type of Object, always equals to "collection"
Unique identifier for the collection
Title of the collection
Description of the collection
Path in the published URL
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.
ID of the organization owning this collection
ID of the parent collection, if any
Default level for a piece of content
URLs associated with the object
GET
permissions for all users in a collection
GET
permissions for all users in a collectionList permissions for all users in a collection.
The unique id of the collection
Listing of users who can access the collections.
Total count of objects in the list
Last updated