Jump to content

Featured Replies

Posted

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 by Carl Zeiss GOM Metrology

Solved by Daniel F

Go to solution
  • Solution

I'm afraid, only our GraphQL API supports attachments, there's no REST Endpoint for content attachments yet.

 

Recently Browsing 0

  • No registered users viewing this page.