REST API needs ability to remove specific versions of a page

XMLWordPrintable

    • 3
    • 8

      Problem statement

      The REST API methods in our documentation doesn't have a method for deleting a specific version of a piece of content.

      If we run this command to remove an older version of a page, it returns 404 although the page exists and I have permission to delete it.

      curl -v -S -u admin:admin -X DELETE http://localhost:8090/rest/api/content/983042 | python -mjson.tool

      If we change the ID to the latest version of the page, then the content is removed.

      Suggestion

      Provide a new method for removing specific versions of a content or modify the existing one so that it doesn't return a 404 for a valid content ID.

            Assignee:
            Unassigned
            Reporter:
            Athirah Zolkefli (Inactive)
            Votes:
            12 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: