5.2 ImageController.GetImage

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
zyberzeroandClaude Opus 4.7 committed 2026-06-07 14:47:41 +02:00
1 parent abe896a7ab
commit 521c95c10b
2 files changed
+41 -1

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ Each type lives in `src/FrameProcessor/Domain/`. Tests in `tests/FrameProcessor.
- Call `ImagePipeline.Process`, then `ImageStore.WriteAsync`.
- Return `200 { frame, mac, url, processedAt, mqttPublished: false }` (MQTT stubbed).
### [ ] 5.2 `ImageController.GetImage`
### [x] 5.2 `ImageController.GetImage`
- Route: `GET /i/{mac}.png`.
- Normalize `{mac}` via `MacAddress.TryParse` → 404 on bad form.
- Look up frame by MAC → 404 if unknown or file absent.