Skip to content

Commit

Permalink
Note bulk delete not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
tdonohue committed Feb 13, 2019
1 parent a71310d commit b0825b9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions items.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,16 @@ Return codes:

**PUT /api/core/items/<:uuid>/mappedCollections**

PUT is NOT SUPPORTED at this time. You may replace or update mapped collections using DELETE requests and/or POST requests.
_Unsupported._ You may replace or update mapped collections using DELETE requests and/or POST requests.

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

_Unsupported._ At this time, we do not support removing all mapped Collections in a single request. Please use `DELETE /api/core/items/<:uuid>/mappedCollections/<:collection_uuid>` to remove mapped Collections one by one.

**DELETE /api/core/items/<:uuid>/mappedCollections/<:collection_uuid>**

A DELETE request will result in removing an existing mapping between the item and collection
If the collection exists and is a mapped collection for the item, the relation should be deleted
A DELETE request will result in removing an existing mapping between the item and collection.
If the collection exists and is a mapped collection for the item, the relation should be deleted.

```
curl -i -X DELETE https://dspace7.4science.it/dspace-spring-rest/api/core/items/1911e8a4-6939-490c-b58b-a5d70f8d91fb/mappedCollections/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb"
Expand Down

0 comments on commit b0825b9

Please sign in to comment.