Class ContentVersionResource


  • public class ContentVersionResource
    extends Object
    • Constructor Detail

    • Method Detail

      • deleteContentHistory

        @PublicApi
        public javax.ws.rs.core.Response deleteContentHistory​(ContentId contentId,
                                                              int versionNumber)
        Delete a historical version of a page or a blogpost. Current user must have edit permission on content, or it will throw a permission exception.
        Parameters:
        contentId - id for the historical content to be deleted.
        versionNumber - version number starts from 1 up to current version.
        Returns:
        No Content