Class VersionsObject

java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.restapi.server.jaxrs.management.VersionsObject
All Implemented Interfaces:
Resource, Adaptable

public class VersionsObject extends AbstractResource<ResourceTypeImpl>
Endpoint to manage the versions.
Since:
2023
  • Field Details

  • Constructor Details

    • VersionsObject

      public VersionsObject()
  • Method Details

    • garbageCollectVersions

      public BulkStatus garbageCollectVersions()
      Garbage collect the orphaned versions.

      A version stays referenced, and therefore is not removed, if any proxy points to a version in the version history of any live document, or in the case of tree snapshot if there is a snapshot containing a version in the version history of any live document.