Skip to content

Commit

Permalink
[CST-4848] updated operation in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
corrad82-4s committed Mar 22, 2022
1 parent 0569c32 commit dfdeed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaceitem-data-custom-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If the new value is equals to one of the redirected urls, that url is removed fr

### Add redirected-url
It is possible to add an redirected custom url as follow
`curl --data '{[ { "op": "remove", "path": "/sections/<:name-of-the-form>/redirected-urls", "value": "<redirected-url>"}]' -X PATCH ${dspace7-url}/api/submission/workspaceitems/<:id>`
`curl --data '{[ { "op": "add", "path": "/sections/<:name-of-the-form>/redirected-urls", "value": "<redirected-url>"}]' -X PATCH ${dspace7-url}/api/submission/workspaceitems/<:id>`

### Remove redirected-url
It is possible to remove an old custom defined url as follow
Expand Down

0 comments on commit dfdeed6

Please sign in to comment.