we would like to publish cards via the REST API. The content of those cards should be a mix of text and images. As I'm new to the API and not too experienced with these topics, here my very basic question:
How to upload images via the REST API to be used on a card?
The documentation shows that it is possible to attach objects, but properties such as “id” or “link” suggest that the attachment has to be already uploaded. Are these optional parameters just for the case one wants to use an already uploaded file?
Are the images expected to be embedded in a multipart post-request? If yes, how to reference them in the html sources?
As an example, when using the WordPress REST API, one can upload each image individually and receive an ID and URL for each image. This can then get incorporated in the source when eventually publishing the post. How is this realized with the Guru API?
Many thanks in advance!
Best answer by Joe DuffyView original