Confluence Cloud attachment APIs return deprecated/non-functional downloadLink URLs

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      The Confluence Cloud attachment APIs (both v1 and v2) continue returning downloadLink URLs that no longer work and instead return HTTP Status 401 – Unauthorized.

      Affected APIs:

      • v1: /wiki/rest/api/content/<page-id>/child/attachment
      • v2: /wiki/api/v2/pages/<page-id>/attachments

      The returned download links are in the following format:

      https://<site>.atlassian.net/wiki/download/attachments/<page-id>/<attachment-name>?api=v2

      This behavior appears related to the deprecation/change announced in CHANGE-3007, however the APIs still return these non-functional links in the response payload, which is causing confusion for customers and breaking integrations.

      Steps to Reproduce

      1. Step 1: Call either the v1 or v2 attachment API.
      2. Step 2: Copy the downloadLink returned in the response.
      3. Step 3: Open the link using authenticated access.

      Expected Results

      The API should return a valid downloadable URL or stop returning deprecated/non-functional links.

      Actual Results

      The returned download URL fails with:

      HTTP Status 401 – Unauthorized 

      Workaround

      The following endpoint should be used as mentioned in CHANGE-3007:

      GET /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/download

      Documentation here.

              Assignee:
              Unassigned
              Reporter:
              Jagriti - (Atlassian)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: