Hi team,
When I get the attachment details by hitting the below API:
https://testteamplugin.atlassian.net/wiki/api/v2/attachments/att62750736
I get response like:
{ "downloadLink": "/download/attachments/61440001/abhishek.json?version=1&modificationDate=1725961885381&cacheVersion=1&api=v2", "createdAt": "2024-09-10T09:51:25.381Z", "mediaTypeDescription": null, "webuiLink": "/pages/viewpageattachments.action?pageId=61440001&preview=%2F61440001%2F62750736%2Fabhishek.json", "comment": "", "version": { "number": 1, "message": "", "minorEdit": true, "authorId": "62418aca699649006ae4ede1", "createdAt": "2024-09-10T09:51:25.381Z" }, "title": "abhishek.json", "status": "current", "fileSize": 9811, "pageId": "61440001", "mediaType": "application/json", "fileId": "8bdc6849-f408-4878-9e1a-39c7ce837785", "id": "att62750736", "_links": { "download": "/download/attachments/61440001/abhishek.json?version=1&modificationDate=1725961885381&cacheVersion=1&api=v2", "webui": "/pages/viewpageattachments.action?pageId=61440001&preview=%2F61440001%2F62750736%2Fabhishek.json", "base": "https://testteamplugin.atlassian.net/wiki" } }
I want to get the content of the attachment, I don't want to download the file I just want to read it using API how can I do that.
Any other Confluence API with which I can read the content of a particular attachment?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @bvf1kor
No Confluence only has one API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.