create_link
Creates or returns a permanent public direct URL for a file, usable in web pages and Markdown; images can be embedded directly.
Instructions
Create (or return the existing) permanent public direct URL for one file, usable in web pages and Markdown; images can be embedded directly. Access is logged and capped per day. Requires shares:write; supports idempotency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| node_id | No | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | permanent public URL; images can be embedded directly, e.g. in Markdown | |
| name | Yes | ||
| status | Yes | ACTIVE, PAUSED, EXPIRED or UNAVAILABLE | |
| has_gps | No | the JPEG carries the shooting location; warn the user before publishing it | |
| node_id | Yes | ||
| markdown | Yes | ||
| created_at | Yes | ||
| expires_at | No | ||
| hits_total | Yes | ||
| bytes_total | Yes |