I’m attempting to get an attachment URI in order to download images from my Confluence space into another word-processing editor. I am using the GetAttachments API to get all the attachment information for a given Confluence page, but am struggling to find the URI. I noticed that the API returns a links
object that includes a download
link for each attachment. That link looks like this:
/download/attachments/1364754433/Screen%20Shot%202022-07-13%20at%208.51.48%20PM.png?version=1&modificationDate=1658429670669&cacheVersion=1&api=v2
This looks promising, so I am wondering what I need to append to this download
link in order to form the attachment URI so that I can download the image.