Thanks @BastianHammer that’s what I thought. I know how to do it on version 4, the problem is I built a whole system around V8 and don’t want to have separate credentials and api overhead just for one call. I found another solution but you have to be logged in to get the file, which kind of is a problem too. I know I could add my own endpoint, but don’t really want to do that either. I’m looking into how the Joomla plugin does it. Hopefully, I can find a solution that doesn’t require two separate API methods!
I’m not sure, but I think there are entry points that you can use to grab an image, if you know the filename which is an id (you can get that with normal API calls).
In the Notes module,.what does the URL look like when you click to download the image?
You would need to login first; a double curl should work (one to login and save cookies, the other to ask for the image)
Thanks @pgr I investigated logging in and then getting the image by internal URL. That seems to be possible, but if I have to go that far, it’s just as straightforward to use the standard 4_1 file download endpoint. Means I have to have 2 different API connections. I was hopping to do everything with a single V8 API, but it doesn’t seem to have file download functionality.
I ended up adding the 4_1 connection method just for this one call. Not ideal, but the best of all bad choices!