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

minorEdit=true doesnt work for REST attachment DELETE's

    Details

    • Feedback Policy:
      Thanks for taking the time to raise a Suggestion for Confluence, Atlassian values your input.

      We receive feedback from a number of different sources and evaluate those when we plan our product roadmap. If you would like to know more about how the Atlassian Product Management team uses your input in our planning process, please see our post on Atlassian Answers.

      Before creating a new Suggestion, please search the existing issues to see if your suggestion already exists.

      Cheers,
      The Confluence Product Management Team
    • 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:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Last commented:
                  2 years, 17 weeks, 1 day ago