Skip to content

List a project's folder hierarchy

GET
/api/v1/documents/folders
curl --request GET \
--url https://app.avera.io/api/v1/documents/folders

Returns a flat list of folders with parent references and document counts, for building the sidebar tree. Which item types act as folders is declared in the meta-model, so a project in which no type declares a folder has none.

projectId
string format: uuid

OK

Media type*/*
Array<object>
object
id
required
string format: uuid
name
required
string
parentFolderId
string | null format: uuid
sortOrder
required
integer format: int32
documentCount
required
integer format: int64