Details
-
Enhancement
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
-
L
Description
1. Description
AttachmentBytesResource just lets the complex obs view to default to an uncontrolled value. However generally speaking it should provide a way to specify which complex obs view is being requested.
2. Dev Notes
See here in AttachmentBytesResource how null is always used:
viewHelper.getView(obs, null)
For info/ref., here in AttachmentsConstants are the default "original" and "thumbnail" view names that are introduced through the Attachments module API layer.
3. Acceptance Criteria
As a REST API consumer I want to be able to calls such as:
/rest/v1/attachment/{uuid}/bytes?view=complexdata.view.original
Gliffy Diagrams
Attachments
Issue Links
- is depended on by
-
ATT-39 Unable to fetch complex obs posted outside of Attachments' API.
-
- Closed
-