antony Nextcloud icon

antony Nextcloud

Manage files, folders, shares, versions and search in Nextcloud

Share → List

AI-generated

Summary

Lists shares from the connected Nextcloud account, optionally filtering by a file or folder path and including shares on items inside shared folders.

Inputs

  • Filter by Path (`sharePath`) — Optional Nextcloud path to filter shares, such as /Documents/report.pdf. Leave empty to list all shares. Paths containing a Nextcloud file ID are resolved to the item's current path.
  • Include Sub-file Shares (`subfiles`) — Defaults to false. When enabled, includes shares for files and folders inside a shared folder.

Output shape

A list of items, with one item per share.

Each item contains the share object returned by Nextcloud's OCS sharing API. The operation uses the required Nextcloud API credentials; if Continue On Fail is enabled, an error is returned as an item for the failed input.

Links

Discussion