Skip to content

Commit

Permalink
Merged in DSC-357 (pull request DSpace#10)
Browse files Browse the repository at this point in the history
DSC-357
  • Loading branch information
alemarte authored and corrad82-4s committed Dec 30, 2021
2 parents bac31ac + 25df7fe commit ffd5743
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions items.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,3 +572,21 @@ Return codes:
* 401 Unauthorized - if you are not authenticated
* 403 Forbidden - if you are not logged in with sufficient permissions
* 404 Not found - if the item doesn't exist (or was already deleted)

## Search methods

### findAllByIds
**/api/core/items/search/findAllByIds?id=<:uuid>**

The supported parameters are:
* page, size [see pagination](README.md#Pagination)
* id: mandatory, repeatable. Represents the list of items to search for. For each of them, the UUID must be specified.

It returns the list of matching items.

Return codes:
* 200 OK - if the operation succeed. It might result in an empty list
* 400 Bad Request - if the uuid parameter is missing or invalid
* 401 Unauthorized - if you are not authenticated and the items are not visible to anonymous users
* 403 Forbidden - if you are not logged in with sufficient permissions. Please note that withdrawn items are visible to everyone without any metadata details
* 404 Not found - if the item doesn't exist

0 comments on commit ffd5743

Please sign in to comment.