File Share Management
fileshare_manageFastio File Shares (write): create a durable share link bound to one workspace file (immutable binding), update, delete, and add/revoke per-user grants (grant-by-email creates a pending invite for an unregistered address). Destructive: delete (removes the share, not the file), grant-revoke. Reads are on fileshare. action='describe' gives the full action/param reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | create: the workspace file node ID to bind (immutable). | |
| user | No | grant-add/grant-revoke: grantee user ID. Exactly one of user/email. | |
| No | grant-add/grant-revoke: grantee email. Exactly one of user/email. An unregistered email becomes a pending invite. | ||
| title | No | Human-readable share title. create / update. | |
| action | Yes | Operation. Use 'describe' for full action reference. | |
| expires | No | create/update: relative expiry in SECONDS from now (1..3155760000). Mutually exclusive with expires_at. | |
| password | No | create/update: sets the share password ('' on update clears it). | |
| capability | No | grant-add: view | download | edit (ordered); edit allows content write-back. | |
| expires_at | No | create/update: absolute expiry 'YYYY-MM-DD HH:MM:SS UTC'. Exclusive with expires. update: '' clears it. | |
| fileshare_id | No | File Share ID. | |
| workspace_id | No | Parent workspace ID. | |
| access_option | No | Access tier (create/update). A tier never confers `edit`; that needs an explicit edit grant. | |
| comments_enabled | No | create/update: allow comments on the File Share (create default: off). Always off on anyone_with_link shares. |