Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-39330

minorEdit=true doesnt work for REST attachment DELETE's

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: