Uploaded image for project: 'Attachments Module'
  1. Attachments Module
  2. ATT-38

AttachmentBytesResource_* to take the (complex obs) view as parameter

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 2.4.0
    • 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

            Activity

              People

                reagan Reagan patrick Makoba
                mksd Dimitri R
                Dimitri R Dimitri R
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: