Skip to content

Commit

Permalink
Merge pull request DSpace#279 from 4Science/DURACOM-222
Browse files Browse the repository at this point in the history
[Contract] Expose the item submitter over the REST endpoint `/api/core/items/<:uuid>/submitter`
  • Loading branch information
kshepherd authored Sep 2, 2024
2 parents 5773d69 + 710bda9 commit 8d34f21
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions items.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,16 @@ Return codes:
* 403 Forbidden - if you are not logged in with sufficient permissions and versioning is not public
* 404 Not found - if the item doesn't exist

### Get Item Submitter
**/api/core/items/<:uuid>/submitter**

It returns the submitter of the item

Status codes:
* 200 OK - returning the submitter
* 204 No Content - if you are not authenticated or you have no read access on that submitter.
* 404 Not found - if the item doesn't exist

## Deleting an item

**DELETE /api/core/items/<:uuid>**
Expand Down

0 comments on commit 8d34f21

Please sign in to comment.