Actions14
Share → Get Many
AI-generatedOverview
This node interacts with the ownCloud API to manage shares of files or folders. Specifically, the 'Get Many' operation under the 'Share' resource retrieves multiple share entries for a specified file or folder path. This is useful for scenarios where you need to list all shares associated with a particular resource in ownCloud, such as auditing shared files or managing access permissions.
Use Case Examples
- Retrieve all shares for a specific folder to review who has access.
- List shares for a file to update or revoke permissions as needed.
Properties
| Name | Meaning |
|---|---|
| Path | The file or folder path to get shares for. It supports selecting from a list or specifying the path directly. This is required to identify the resource whose shares are being retrieved. |
Output
JSON
json- ``
*id- The unique identifier of the share.
*path- The path of the shared file or folder.
*shareType- The type of share (e.g., user, group, public link).
*shareWith- The user or group the resource is shared with, if applicable.
*permissions- Permissions granted for the share.
*password- Password protection for the share, if set.
*publicUpload- Indicates if public upload is allowed for the share.
*expireDate- Expiration date of the share, if set.
- ``
Dependencies
- Requires an API key credential for ownCloud API authentication.
Troubleshooting
- Ensure the 'Path' parameter is correctly specified and starts with '/'.
- Verify that the ownCloud API credentials are valid and have sufficient permissions to list shares.
- Common errors include authentication failures, invalid path errors, or network connectivity issues. Check the error message for details and verify configuration accordingly.
Links
- ownCloud OCS Share API Documentation - Official documentation for the ownCloud sharing API used by this node.