Skip to content

Commit

Permalink
[DURACOM-222] Expose the item submitter over the REST
Browse files Browse the repository at this point in the history
  • Loading branch information
eskander committed Aug 21, 2024
1 parent afbbc3e commit 293ee06
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions items.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,18 @@ 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 there is no submitter for the specified item
* 401 Unauthorized - if you are not authenticated and don't have permissions on the item
* 403 Forbidden - if you are not logged in with sufficient permissions
* 404 Not found - if the item doesn't exist

## Deleting an item

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

0 comments on commit 293ee06

Please sign in to comment.