Mint a share link for a non-member (member)
ic_files_grantCreate a signed, expiring share link for ONE file you uploaded (or any file, if operator) so a person WITHOUT an IC login can download it. The link embeds a grant bound to that single file id and works until it expires. Args: { file_id, subject?: string (audit label, e.g. who it's for), ttl_seconds?: number (default 7 days, max 30 days) }. Returns: { ok, file_id, filename, link, expires_at }. Required scope: files:write (ic-member+; only the uploader or an operator can share a given file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file id (f_...) to share. | |
| subject | No | Audit label for who the link is for (e.g. an email or name). | |
| ttl_seconds | No | Link lifetime in seconds. Default 7 days, max 30 days. |