Skip to content

Commit 0e60c5e

Browse files
authored
Merge pull request #318 from 4Science/task/main/DURACOM-412
[DSpace-CRIS] Creation of a custom URL for Items (REST Contract)
2 parents b168c4f + a5e77e3 commit 0e60c5e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

items.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,3 +605,14 @@ Return codes:
605605
* 401 Unauthorized - if you are not authenticated
606606
* 403 Forbidden - if you are not logged in with sufficient permissions
607607
* 404 Not found - if the item doesn't exist (or was already deleted)
608+
609+
### findByCustomURL
610+
611+
**GET /api/core/items/search/findByCustomURL?q=<:custom-url>**
612+
613+
Search an item by the provided custom url. If the provided url is an UUID, a find by item's uuid is performed. The response has the same format of the find by uuid.
614+
615+
Return codes:
616+
* 200 OK - if the operation succeed
617+
* 404 Not found - if no item was found with the given custom URL
618+
* 500 Internal server error - if multiple item was found related to the given url

0 commit comments

Comments
 (0)