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

minorEdit=true doesnt work for REST attachment DELETE's

    Details

    • Last commented by user?:
      true

      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

              • Assignee:
                Unassigned
                Reporter:
                andy11 Andy Brook
                Participants:
                Last Touched By:
                Katherine Yabut
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Last commented:
                  1 year, 39 weeks, 5 days ago