collections
Retrieve a list of collections
Retrieve a list of collections of the workspace.
GET
/
collections
Authorizations
Authorization
string
headerrequiredDefault authentication mechanism
Path Parameters
team_slug
string
requiredThe slug of the team.
workspace_slug
string
requiredThe slug of the workspace.
Response
200 - application/json
id
string
requiredThe id of the collection/page.
name
string
requiredThe name of the collection/page.
object
any
Object describes the type of the collection. Collections will be of type 'collection' and pages will be of type 'item'.
parent
string
The parent collection id.
children
object[]
The children of the collection.
team
string
requiredThe team Id of the collection/page belongs to.
content
object
The content of the page. This will be a JSON object. if the object is a collection, this will be empty.
workspace
string
requiredThe workspace Id of the collection/page belongs to.
meta
object
requiredThe meta of the team.
createdAt
string
requiredThe date and time the collection/page was created.
updatedAt
string
requiredThe date and time the collection/page was last updated.
Was this page helpful?