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

Missing REST API endpoint to add attachments in Confluence API V2

    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

      Issue Summary

      This is reproducible on Data Center: (yes) / (no)

      Currently, there is no V2 REST API endpoint to add attachments.  It would be nice to have this endpoint added for parity even if the V1 endpoint to add attachments is not marked as deprecated (since they use different granular scopes).

      Steps to Reproduce

      1. Check https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment/#api-group-attachment

      Expected Results

      Together with the one to GET attachments, there should also be a POST endpoint to add them.

      Actual Results

      The "add attachment" endpoint is missing

      Workaround

      Use the V1 endpoint -> /wiki/rest/api/content/{id}/child/attachment 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              71f1dad54ffe Wagner M.
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: