Skip to main content
Get a folder

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

folderId
string
required

Identifier of the folder to describe, as returned when it was created or found by a search.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"97cfb9de-92dd-413a-b5e7-175eff7506d6"

Query Parameters

inTrash
boolean

Whether to look among the trashed folders instead of the live ones. A trashed folder is invisible to the ordinary lookup, so this is what it takes to open one while browsing the trash.

Response

Returns the folder, with the names of its ancestors filled into its path.

_esHighlight
string

Search highlighting for this hit - the matched fragments of the fields the search was asked to highlight.

_version
number

Storage version of the folder, used for optimistic concurrency control on writes.

Example:

3

date
string<date-time> | null

Date and time when the folder was created.

definition
string | null

Identifier of the metadata definition the record belongs to, which determines its structure and the definition-specific fields it carries. A folder record always carries folder here.

Example:

"d_default"

deletionInfo
object | null

Soft-deletion record telling whether the record currently sits in the trash, and who moved it there and when.

documentTitle
string | null

Name of the folder.

Example:

"Contract Agreement"

folder
object

Placement of this folder in the folder trees, that is which folder it is nested in.

folderId
string

Unique identifier of the folder.

Example:

"8d25c1a9-1ee2c7f56-1da2-00ac83ba54ce"

isFolder
boolean

Marks the record as a folder rather than a document.

lastModified
string<date-time> | null

Date and time when the record was last modified.

rights
object

Users and groups that may read or edit the folder.

star
boolean

Whether the caller has marked the folder as a favourite; the flag is kept per user.

tags
object

Tags attached to the folder, split into the shared ones and the caller's private ones.

type
string | null

Kind of definition behind the record and, with it, the way the record is processed - ext for a document whose uploaded main file is the document itself, edoc for one generated from a definition template, folder for a folder.

Example:

"ext"

user
object | null

The user who created the folder.