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

minorEdit=true doesnt work for REST attachment DELETE's

    XMLWordPrintable

Details

    • 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.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Whilst 'minorEdit=true' can be used to mute notifications for cases of file upload, when that file upload is of a repeated nature, the original must be deleted, but no DELETE method is supported through /rest/api/content/{id}/child/attachment, and so the DELETE using /rest/api/content/{id} is used, but the minorEdits=true flag doesn't appear to be usable here, and so, for every 'delete' a notification is generated - but not for the added attachment, which is better than nothing but not yet perfect!

      Example curl delete that causes an update to be generated:

      curl $DEBUG -u $USER:$PASS -X DELETE -H "X-Atlassian-Token: nocheck" https://$HOST/wiki/rest/api/content/$ATTIDSTR
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cd3cc7134331 Andy Brook
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: