Decide a submitted photo (organiser)
ic_hack_photo_reviewMove one photo to a state. published puts it in the gallery, rejected declines it, hidden pulls a photo that was already up, and pending returns it to the queue. EVERY TRANSITION IS REVERSIBLE AND NOTHING IS EVER DELETED — the bytes survive a hide, which is exactly why hidden and not a delete is the right answer when someone in a frame objects: it is honoured immediately and undone just as fast if it was a mistake. Call with no photo_id to READ the queue instead of deciding anything. note is shown to the submitter, so write it to them: a rejected photo with a reason is a person who knows where they stand. Args: { eid?, photo_id?, state?, note? }. Returns: { ok, pending[] } when reading, { ok, photo } when deciding. Required scope: hack:ops or hack:manage, plus an organizer / event_admin / volunteer role at the event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eid | No | ||
| note | No | Shown to the submitter. | |
| state | No | ||
| photo_id | No | Omit to read the pending queue without deciding. |