Forum Discussion
Inactive User
Check out Lithium's REST documentation for attachments. I haven't used them before via REST but hope this helps. http://lithosphere.lithium.com/t5/rest-api/bd-p/developers-rest-api?branch=Attachment
sbhambad
11 years agoHelper
We are unable to find any solution in the above link
- DougS11 years agoKhoros Oracle
There is a bug in the docs -- you can't have a space at the end of the URL -- try this instead:
http://lithosphere.lithium.com/t5/rest-api/bd-p/developers-rest-api?branch=Attachment
Thanks,
-Doug
- unixguru2k11 years agoContributorHi Doug,
We are trying to upload an attachment, the link above seems to list the attachments.
Is there an API call to upload an attachment for an existing or a new message.
Thanks
Harshal- DougS11 years agoKhoros Oracle
Hi Harshal,
You can add 1 or more attachments to any normal REST API post/edit/reply call by making the request using "multipart/form-data" for the content type and including 1 or more files as POST parameters. Here are links to the standard post, reply, and edit calls for a board:
Related Content
- 12 years ago
- 13 years ago
- 8 years ago