Skip to content

Commit

Permalink
Merge pull request DSpace#260 from atmire/fixed-collection-put-conten…
Browse files Browse the repository at this point in the history
…t-body

Added missing required collection body parameters to PUT request
  • Loading branch information
tdonohue authored May 9, 2024
2 parents e7c4d22 + ed84b34 commit 00b1c1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
5 changes: 3 additions & 2 deletions collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ Provide updated metadata information about a specific collection, when the updat
```json
{
"uuid": "20263916-6a3d-4fdc-a44a-4616312f030c",
"name": "test collection",
"handle": "10673/2",
"metadata": {
"dc.title": [
{
Expand All @@ -700,7 +700,8 @@ Provide updated metadata information about a specific collection, when the updat
"confidence": -1
}
]
}
},
"type": "collection"
}
```

Expand Down
2 changes: 0 additions & 2 deletions communities.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,7 @@ Provide updated metadata information about a specific community, when the update

```json
{
"id": "b8872eba-1a79-4b8b-a8f6-55fa8f73197b",
"uuid": "b8872eba-1a79-4b8b-a8f6-55fa8f73197b",
"name": "test new title",
"handle": "123456789/60631",
"metadata": {
"dc.title": [
Expand Down
7 changes: 1 addition & 6 deletions items.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,7 @@ Provide updated metadata information for an item, when the update is completed t

```json
{
"id": "a8ba963f-d9c9-4198-b5a4-3f74e2ab6fb9",
"uuid": "a8ba963f-d9c9-4198-b5a4-3f74e2ab6fb9",
"name": "Test new title",
"handle": "123456789/60636",
"metadata": {
"dc.contributor.author": [
Expand All @@ -208,9 +206,6 @@ Provide updated metadata information for an item, when the update is completed t
}
]
},
"inArchive": true,
"discoverable": true,
"withdrawn": false,
"type": "item"
}
```
Expand Down Expand Up @@ -585,4 +580,4 @@ Return codes:
* 204 No content - if the operation succeed
* 401 Unauthorized - if you are not authenticated
* 403 Forbidden - if you are not logged in with sufficient permissions
* 404 Not found - if the item doesn't exist (or was already deleted)
* 404 Not found - if the item doesn't exist (or was already deleted)

0 comments on commit 00b1c1f

Please sign in to comment.