Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3193

retrieveLink for bitstreams in REST API does not include /rest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: REST API
    • Environment:
    • Attachments:
      0
    • Comments:
      4

      Description

      This may not be an issue, and "fixing" it might break someone else's stuff, but I am noticing that the retrieveLink for bitstreams does not include "/rest".

      Here's an example. There's a bitstream represented here:
      https://demo.dspace.org/rest/bitstreams/8a999a8e-a74e-49cf-9051-6c262b8b9084

      "Link" is /rest/bitstreams/8a999a8e-a74e-49cf-9051-6c262b8b9084, with "/rest" included.

      "RetrieveLink" is /bitstreams/8a999a8e-a74e-49cf-9051-6c262b8b9084/retrieve, without "/rest" included.

      I expected to see kitties at https://demo.dspace.org/bitstreams/8a999a8e-a74e-49cf-9051-6c262b8b9084/retrieve, but instead I must go to https://demo.dspace.org/rest/bitstreams/8a999a8e-a74e-49cf-9051-6c262b8b9084/retrieve to see them.

      Reporter: keith gilbertson
      E-mail: keith.gilbertson@vt.edu

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            keith.gilbertson Keith Gilbertson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: