[FEATURE REQUEST] Be able to return binary data (images) from endpoints
- Dominant language
- Python
- Stars
- 59
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Feature Summary
- Endpoints should be able to return a file instead of JSON
### Justification/Rationale
- For a potential use case of generative AI, or also e.g. returning stored frames, it would be good to be able to return images.
### Proposed Implementation (if any)
- The endpoint definition could have a flag that lets you say the output should be interpreted as a file.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named in the issue. Begin at the endpoint definition and trace how responses are currently serialized; done means endpoints can return binary image data while existing JSON responses continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100