Skip to content

Commit

Permalink
COAR qualityassuranceevents add endpoint findByCurrentUser
Browse files Browse the repository at this point in the history
  • Loading branch information
frabacche committed Jan 17, 2024
1 parent 60f194b commit 9082831
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions qualityassuranceevents.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,19 @@ Return codes:

### To replace a related item
Replacing a related item will require deleting the related association and creating a new association hereafter

### Get qualityassuranceevents created by the current user
**GET /api/integration/qualityassuranceevents/search/findByCurrentUser?target=<:item-uuid>[&size=10&page=0]**

It returns the list of qa events created from the current user

The supported parameters are:
* target: mandatory. The uuid of the item target of the returned quality assurance events
* page, size [see pagination](README.md#Pagination)

Return codes:
* 200 OK - if the operation succeed
* 400 Bad Request - if the target parameter is missing or is not a UUID
* 422 Unprocessable Entity - it the target parameter doesn't resolve to a valid item

Provide paginated list of the qa events for the specified target item created by the current user. An empty page is returned for unauthenticated users

0 comments on commit 9082831

Please sign in to comment.