Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
changes.mady.by.user Christoph Meier
Saved on 2017-10-30
...
curl http://localhost:8080/magnoliaAuthor/.rest/commands/v2/website/activate \ -H "Content-Type: application/json" \ -X POST --user superuser:superuser \ --data \ '{ "repository": "website", "path": "/travel/hello", "recursive": "false" }'
curl http://localhost:8080/magnoliaAuthor/.rest/commands/v2/website/activate \ -H "Content-Type: application/xml" \ -X POST --user superuser:superuser \ --data ...\ '<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <parameters> <repository>hello</repository> <path>/travel/hello</path> <recursive>false</recursive> </parameters>'