Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-56488

REST API needs ability to remove specific versions of a page

XMLWordPrintable

    • 3
    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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.

              Unassigned Unassigned
              azolkefli Athirah Zolkefli
              Votes:
              12 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: