Magidoc

fileTreeNodes
Query

Retrieves a list of FileTreeNodes.

Arguments

#

after

Returns the elements in the list that come after the specified cursor.

afterIndex

Returns the elements in the list that come after the specified index.

ancestorIds

[ ID !]

List of ancestor IDs to filter the file tree nodes by.

atRoot

Flag indicating whether to fetch nodes at the root level.

before

Returns the elements in the list that come before the specified cursor.

beforeIndex

Returns the elements in the list that come before the specified index.

first

Returns the first n elements from the list.

foldersFirst

Whether to return folders before other node types.

fullText

A full-text search query.

ids

[ ID !]

List of FileTreeNode IDs.

last

Returns the last n elements from the list.

nodeTypes

Types of nodes to include in results.

orderBy

The order in which file tree nodes should be returned.

parentIds

[ ID !]

IDs of parent nodes to fetch children for.

resourceId

ID of the resource the tree is scoped to.

treeType

The folder tree type to query.

Response

#

Returns QueryFileTreeNodeConnection .

Example

#