Open an upload link for a piece
open_channelOpens an upload link for ONE piece: a URL with which a device uploads files into the piece's material without signing in. own is the creator on another device (the link shown as a QR code); guest is a third party, who first reads and accepts an authorization text on the link's page. The link only uploads (it cannot read the account), expires, has a cap of files and bytes and can be revoked; what a guest sends is not used in the video until the piece's owner accepts it. Returns the URL once (link) and the channel (channel: state, caps, expiry). Only the piece's owner. Upload links may not be available to every account yet: then forbidden with extensions.reason=no_ofrecido. Requires write. $0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | `own`: the creator uploads from another device. `guest`: a third party uploads after consenting. | |
| purpose | No | What the creator asks for, in their words (up to 240 characters); the link's page shows it. | |
| ttl_hours | No | How long the link lives, in hours; the house bounds it (the answer states the expiry). | |
| project_id | Yes | ||
| permission_scope | No | For a guest: what the consent covers — this piece only (default) or the creator's pieces. |