edit_photo
Modify Synology Photos items by updating rating, description, taken time, rotation, or favorite status for specified IDs; pass only the fields you want to change.
Instructions
Edit Synology Photos items: rating, description, taken time (set or shift), rotation and favorite (Photos 1.9.1+). Pass only the fields to change; they apply to every id given. Photos writes these into the original files, so file dates and sizes change. Location can't be edited; for tags use tag_photos.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Item IDs from list_photos, at most 1,000 per call. | |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| rating | No | 0-5; `0` clears the rating. | |
| rotate | No | `left` or `right`; a repeat rotates again. | |
| favorite | No | `true` marks favorite, `false` unmarks (Photos 1.9.1+). | |
| taken_time | No | Local date-time such as `2024-07-04T19:30:00`; an offset is dropped, not converted. Not with `shift_hours`. | |
| description | No | New description; `""` clears it, and one of only spaces shows as `—`, like none. | |
| shift_hours | No | Shifts the taken time by hours (`-6`, `1.5`); a repeat shifts again. |