update; found it myself;
It's answered here: https://community.atlassian.com/t5/Confluence-questions/View-Confluence-Page-Images-via-API/qaq-p/1051944#M176360
This is extra work, I wonder why, probably due to attachments new permissions/rights?
Anyway, thanks folks 😜
------------
Hi,
We use Confluence Cloud, and I'm retrieving one of the pages via REST API and a TOKEN.
I retrieve the page with a GET
https://siennsoft.atlassian.net/wiki/rest/api/content/1653407745?expand=body.export_view
Up until recently it worked, (don't know when it stopped because I'm always logged in) but now we get the content of the body with image-urls looking like this:
https://siennsoft.atlassian.net/wiki/download/attachments/1653407745/afbeelding-20210120-090530.png?api=v2
instead of this, which we had before (a few months ago?):
https://api.media.atlassian.com/file/c9cd893a-66d4-41a7-9677-af47e0ce13d3/binary?token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI0Zjk1NGMxZi03MWJkLTQ3MmYtYTEyMC00MDA2MzVkYzUzYjAiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmM5Y2Q4OTNhLTY2ZDQtNDFhNy05Njc3LWFmNDdlMGNlMTNkMyI6WyJyZWFkIl19LCJleHAiOjE2MjMzOTU0OTYsIm5iZiI6MTYyMzMxMjUxNn0.0e_Rxyt610x9VjoXlnANtl9Vd7qDQ0UOkx-hUuf3Uoc&client=4f954c1f-71bd-472f-a120-400635dc53b0&name=afbeelding-20210120-090530.png
So when you are not logged in, you don't see the image anymore, but you do see all the text. There are a lot of images on that page, in between blocks of text, so it's really needed to see them.
What can we do to have the confluence API return the image-urls like it did before again?
Thank you for the link Erwin :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.