import_asset
Copy a local file or download HTTP(S) image/video/audio into assets/ and register it as a project asset ID; same-kind IDs are replaced, with kind auto-detected if empty.
Instructions
Copy a local file, or download an http(s) image/video/audio (size-capped), into assets/ and register it as
asset id (an existing id of the same kind is replaced). kind image, video, audio or evidence (a page
screenshot you have: its box is the whole picture until you set one with the update_asset edit op); empty
detects it from the file. This is also how music gets in: import a file you are allowed to use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | No | ||
| source | Yes | ||
| project | Yes |