Actions31
- Table Actions
- View Actions
- Column Actions
- Share Actions
- Import Actions
- Row Actions
Overview
The node "Nextcloud Tables" allows managing Nextcloud Tables resources such as tables, views, columns, shares, imports, and rows. Specifically, the Update Share operation under the Share resource enables updating permissions for an existing share on a Nextcloud Table. This is useful when you want to modify access rights for users or groups who have shared access to a table.
Common scenarios include:
- Adjusting read/write permissions after sharing a table.
- Granting or revoking the ability to create, update, or delete rows in a shared table.
- Managing full access rights including structural changes and share management.
Example: You have shared a table with a colleague and want to upgrade their permission from read-only to allow them to add new rows and edit existing data.
Properties
| Name | Meaning |
|---|---|
| Share ID | The unique identifier of the share to update (a number). |
| Permissions | Set of permissions to assign to the share. Options include: |
| - Read: Permission to read table data (boolean). | |
| - Create: Permission to create new rows (boolean). | |
| - Update: Permission to edit existing rows (boolean). | |
| - Delete: Permission to delete rows (boolean). | |
| - Manage: Full access including modifying structure and managing shares (boolean). |
Output
The node outputs JSON data representing the updated share object returned by the Nextcloud Tables API. This typically includes details about the share such as its ID, the updated permissions, and possibly metadata about the share.
If the node supports binary data output (not indicated here), it would represent file attachments or similar content related to the share, but this operation primarily deals with JSON data.
Dependencies
- Requires an API key credential for authenticating with the Nextcloud Tables API.
- The node depends on internal handlers that communicate with the Nextcloud Tables backend.
- Proper configuration of the API endpoint and authentication credentials in n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing Share ID: Ensure the Share ID provided exists and is correct.
- Insufficient permissions: The API key used must have rights to modify shares.
- Network or authentication errors: Verify API credentials and network connectivity.
Error messages:
"Unknown resource": Occurs if the resource parameter is incorrect; ensure "share" is selected.- API errors related to permissions or invalid IDs will be passed through; check the error message for specifics.
Resolution tips:
- Double-check input parameters, especially Share ID and permissions.
- Confirm API credentials are valid and have sufficient privileges.
- Use the node's "Continue On Fail" option to handle errors gracefully during batch operations.
Links and References
- Nextcloud Tables official documentation
- Nextcloud API reference
- n8n documentation on creating custom nodes