Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Carl Zeiss GOM Metrology Posted September 10 Posted September 10 (edited) Hi, I try to POST a post to invision community with an attachment with REST API. So storing the post itself with content is no problem, but how to add the attachment? I had a look for an existing post with attachment and GET it via REST and the attachment looks like: <a href="https://my.url/uploads/monthly_2024_09/myfilename.jpg" class="ipsAttachLink ipsAttachLink_image" data-fileid="35" data-fullurl="https://my.url/uploads/monthly_2024_09/myfilename.jpg" data-ipslightbox="" data-ipslightbox-group="g30231"><img data-fileid="35" src="https://my.url/uploads/monthly_2024_09/myfilename.jpg" data-src="https://my.url/uploads/monthly_2024_09/myfilename.jpg" data-ratio="112.36" width="534" class="ipsImage ipsImage_thumbnailed" alt="myfilename.jpg" style="height: auto;" data-loaded="true"></a> I found a /api/downloads/files documentation and all search results here in forum also guides to this path, but I do not have the "downloads"-component and I just get: "errorMessage": "INVALID_APP" when I try to access HTTP GET https://my.url/api/downloads/files Is there anything I miss? Edited September 10 by Carl Zeiss GOM Metrology
Solution Daniel F Posted September 10 Solution Posted September 10 I'm afraid, only our GraphQL API supports attachments, there's no REST Endpoint for content attachments yet.
Recommended Posts