ownCloud icon

ownCloud

Interact with ownCloud API (WebDAV and OCS)

Share → Create

AI-generated

Overview

This node operation creates a share in ownCloud for a specified file or folder. It supports sharing with users, groups, or via a public link, and allows setting additional options such as expiration date, password protection, permissions, and public upload capability. This is useful for automating file sharing workflows, managing access control, and integrating ownCloud sharing features into broader automation processes.

Use Case Examples

  1. Sharing a file with a specific user with read-only permissions.
  2. Creating a public link share for a folder with an expiration date and password protection.
  3. Sharing a file with a group and allowing public uploads.

Properties

Name Meaning
Path The file or folder path to share, specified either by selecting from a list or by entering the path directly.
Share Type The type of share to create, either with a user, a group, or as a public link.
Share With The username or group name to share with, required if sharing with a user or group.
Additional Fields Optional fields to customize the share, including expiration date, password, permissions, and public upload setting.

Output

JSON

  • json - The response from ownCloud API containing details of the created share, including share ID, path, share type, permissions, and other metadata.

Dependencies

  • Requires an ownCloud API key credential for authentication to interact with the ownCloud API.

Troubleshooting

  • Ensure the 'Path' parameter is correctly specified and starts with '/'.
  • If sharing with a user or group, verify that the 'Share With' field is correctly filled with a valid username or group name.
  • Check that the ownCloud API credentials are valid and have sufficient permissions to create shares.
  • Common errors include authentication failures, invalid path errors, and permission denied errors from the ownCloud API.

Links

Discussion