1st api :
https://api.atlassian.com/ex/confluence/{cloudId}/rest/api/content/{pageId}/child/attachment
received download endpoint in response
Tried calling it using access token and oauth2.0 sysntax and received 401
https://api.atlassian.com/ex/confluence/{cloudid}/download/attachments/{pageid}/Screen%20Shot%202019-10-11%20at%203.19.28%20PM.png?version=1&modificationDate=1570787674135&cacheVersion=1&api=v2
401 means you are not authorised, so you've either given it the wrong credentials or you're not calling the authorisation system correctly.
I am able to get response for other APIs with these steps and access token
problem is only while downloading attachments using oauth 2.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.