- Shipped
- November 13, 2026 at 2:59 PM UTC
- Author
- Kamo
- Commit
- 17812e9
GET **************** (<=200) -> {items:{imgId:{opens, viewers, hotViewers, hot, lastOpenedAt, people:[{memberId?, email?, name, kind MEMBER|EXTERNAL, opens, totalSeconds, maxPage, lastOpenedAt, hot}]}}, hotWindowHours:24}. Counts MEMBER viewers and verified outside addresses; team members, the sharer and anonymous opens are left out. Only links the caller shared, or whose sharer is in the caller's reporting line (same rule as GET /views). Indexed reads only: sessions by img_id (ix_dvs_img_started) + link pk, then members/users by pk (hinted; stale stats chose seq scans). Hot is read (last open < 24 h), never stored.
