NextCloud Folder icon

NextCloud Folder

Manage files, folders and shares on Nextcloud (WebDAV)

Actions12

Folder → List

AI-generated

Summary

List the contents of a specified folder within Nextcloud, returning details about each item inside that folder.

Inputs

  • Folder Path — The path of the folder to list, relative to your Nextcloud root. Defaults to root folder '/'.

Output shape

a list of items, each representing a file or folder contained within the specified Nextcloud folder

Each item includes JSON fields: name, path (relative), isDirectory (boolean), size (in bytes), contentType, lastModified (timestamp), and fileId. The list excludes the folder itself. The operation does not paginate and returns all entries at one depth level.

Examples

Example 1: Listing contents of '/Documents' folder

Set 'Folder Path' to '/Documents' to retrieve all files and subfolders directly inside that folder.

Links

Discussion