Commit 9b53db2
feat: add proxyImageById endpoint for detail page images
GET /api/v1/heritage-image/image/{imageId} fetches a single image by
its own PK, allowing the detail page to proxy each image in the
images[] array independently.
- /heritage-image/{siteId} → primary image (list page)
- /heritage-image/image/{imageId} → individual image by PK (detail page)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 457bb39 commit 9b53db2
2 files changed
Lines changed: 21 additions & 0 deletions
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
36 | 56 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
0 commit comments