Hello,
I recently created the topic about related problem here: Downloading attachments content using OAuth2 from the Confluence - #5 by PrzemysawKanach but this place seems to be fine to address it.
So the breaking changes described here made that downloading attachments’ content is no longer possible using download_link
because it doesn’t work with the OAuth token.
Are there any plans to fix the issue or you have any advice how to download attachments content using OAuth token?
The code which doesn’t work any more:
curl --location --request GET '<MY_INSTANCE>/rest/api/download/attachments/<ATTACHMENT_ID>/sample.pdf?version=1&modificationDate=1615204617358&cacheVersion=1&api=v2' \
--header 'Authorization: Bearer TOKEN'
Thank you in advance,
Cheers