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

Search Methods should return 404 or an empty page 200 as appropriate

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      Returning null in a Search Method should be automatically exposed as 404 for method that return a single Resource or 200 with an empty page for methods that return Collection (paginated).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bollini Andrea Bollini (4Science)
                Reporter:
                bollini Andrea Bollini (4Science)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: