Refactor File interface #215
KaiVolland
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
In terms of REST I would prefer a separate subpath for getting the (image) file contents. Proposal (basically as you already suggested): Getting the entity info:
⤋
Getting the file content:
⤋
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently there is no way to access a single file entity via REST. You can only get the file itself.
The default way in all other interfaces is that we get a JSON repsonse if we send a GET request.
e.g.:
http://localhost:8080/shogun-boot/imagefiles/44
IMHO this should return:
... and if we can't distinguish between
id
anduuid
in the Requestparam, the actual file/image should be offered on a different endpoint. Like we already do with the thumbnail.Beta Was this translation helpful? Give feedback.
All reactions