Skip to content

Commit 8d34f21

Browse files
authored
Merge pull request DSpace#279 from 4Science/DURACOM-222
[Contract] Expose the item submitter over the REST endpoint `/api/core/items/<:uuid>/submitter`
2 parents 5773d69 + 710bda9 commit 8d34f21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

items.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,16 @@ Return codes:
564564
* 403 Forbidden - if you are not logged in with sufficient permissions and versioning is not public
565565
* 404 Not found - if the item doesn't exist
566566

567+
### Get Item Submitter
568+
**/api/core/items/<:uuid>/submitter**
569+
570+
It returns the submitter of the item
571+
572+
Status codes:
573+
* 200 OK - returning the submitter
574+
* 204 No Content - if you are not authenticated or you have no read access on that submitter.
575+
* 404 Not found - if the item doesn't exist
576+
567577
## Deleting an item
568578

569579
**DELETE /api/core/items/<:uuid>**

0 commit comments

Comments
 (0)