Photos: Upload
upload_photosUpload photos and videos from local folders to a Synology Photos folder or album, handling duplicates and listing untried files after timeout.
Instructions
Upload photos or videos from this machine into a Synology Photos folder, optionally adding them to an existing album. Only reads files inside the allowed local folders. Starts no new file after the configured task timeout (30 s by default, at most 45 s) and lists the files not tried, to pass to another call. Photos indexes new items over the next seconds to minutes; until then their taken dates and previews may be missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album | No | An existing album to add them to (personal space; create one with photo_album). Album ID (list_photo_collections type=album) or unique name. | |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| folder | No | The existing folder's ID or path (default `/`, the space root). | / |
| local_paths | Yes | 1-50 local files inside one of the allowed local folders (/root/Downloads), or below it. | |
| on_duplicate | No | A file with that name already there: `rename` (default) keeps both, `skip` leaves the existing one and skips that file. | rename |