7.2 FramesController.UploadImageUrl
This commit is contained in:
@@ -182,7 +182,7 @@ Each type lives in `src/FrameProcessor/Domain/`. Tests in `tests/FrameProcessor.
|
||||
- `Task<Stream> FetchAsync(Uri, CancellationToken)` — streams response, aborts if content exceeds `MaxBytes`.
|
||||
- Throws a typed exception (`ImageFetchException`) for timeout / non-2xx / too-large / redirect-loop.
|
||||
|
||||
### [ ] 7.2 `FramesController.UploadImageUrl`
|
||||
### [x] 7.2 `FramesController.UploadImageUrl`
|
||||
- Route: `POST /api/frames/{name}/image-url`, body `{ "url": "..." }`.
|
||||
- Fetch → pipeline → store → publish. Same response shape as 5.1.
|
||||
- Map `ImageFetchException` to `502 Bad Gateway`.
|
||||
|
||||
Reference in New Issue
Block a user