Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

GET

...

Info

Space Trash Purge Configuration

GEThttp://localhost:8090/rest/purgerecyclebin/1.0/content/list/space/key/utility/config?spaceKey={spaceKey}

Code Block
$ curl -u "user:pass" -XGET \
http://localhost:8090/rest/purgerecyclebin/1.0/contentutility \
/list/space/key/DT

DELETE

/config?spaceKey=DT

DELETEhttp://localhost:8090/rest/purgerecyclebin/1.0/utility/config?spaceKey={spaceKey}

Code Block
$ curl -u "admin:secret" -XDELETE \
http://localhost:8090/rest/purgerecyclebin/1.0/

...

utility \
/config?spaceKey=DT

Info

Run Trash Purge for Space

POST http://localhost:8090/rest/purgerecyclebin/1.0/utility/run/config?spaceKey={spaceKey}&dryRun={dryRun}

Code Block
$ curl -u "admin:secret" -XDELETE \
http://localhost:8090/rest/purgerecyclebin/1.0/contentutility \
/purge/space/key/DT/retention/days/20
/run/config?spaceKey=DT

POST http://localhost:8090/rest/purgerecyclebin/1.0/utility/run/all/config?daysKeep={daysKeep}&dryRun={dryRun}

Info

Run Trash Purge for All Spaces

Code Block
$ curl -u "admin:secret" -XDELETE \
http://localhost:8090/rest/purgerecyclebin/1.0/utility \
/run/all/config?daysKeep=180