Details
-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
On the page for REST commands it would be helpful to add an example of how to call the markAsDeleted command.
Using cURL:
curl http://localhost:8080/magnoliaAuthor/.rest/commands/v2/markAsDeleted \ -H "Content-Type: application/json" \ -X POST --user superuser:superuser \ --data \ '{ "repository": "dam", "deleteNode": "google-plus.png", "uuid": "0234aab2-9a0a-456a-8f0b-fe0a6d4d83ec" }'
For it to work properly you need three parameters for the call context:
- repository
- the name of the node to be marked
- the uuid of the parent node
Checklists
Acceptance criteria