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

minorEdit=true doesnt work for REST attachment DELETE's

    Details

    • Feedback Policy:
      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 An updated workflow for server feature suggestions.

      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:
                Rachel Lin (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Last commented:
                  2 years, 35 weeks, 3 days ago