REST API - post PDF to a board
- 14 years ago
Hi kwlange,
While there is a REST API method to upload an image (check out the images/upload method in the Album class), there unfortunately does not seem to be a similar method for other types of attachments. This has been suggested in the past (http://lithosphere.lithium.com/t5/Suggest-Your-Ideas/REST-API-support-for-images-or-attachments/idi-p/3355), but it doesn't seem to have gained a lot of support. If this is something you're interested in, definitely Kudo that idea and add any additional feedback you have. Perhaps this topic will raise support for it as well.
Perhaps as an alternative you could post a text and/or image version of the report?
Regarding the board id, this is the same id that was chosen when creating the board. One of the easiest ways to find the id for a particular board is to browse to the front page of the board and observe the portion of the URL after "bd-p". For example:
http://lithosphere.lithium.com/t5/Lithium-Developers/bd-p/studio
Thus, the board id for this board is "studio".
I hope this helps!