Implemented Add markup to REST API

Karelke

Well-known member
The REST API allows us to easily attach threads and postings to our CMS. However, we are missing the parsed markup. Right now we have to develop a custom bbcode parser, but it is impossible to make it 100% compatible with XenForo. So it would be nice if the API could return the parsed markup of each post.
 
Upvote 2
This suggestion has been implemented. Votes are no longer accepted.
This would be immensely useful to have as a return option. For now I have been taking cues from XF/BbCode/Renderer/Html.php (source) to develop a simple parser.
 
Last edited:
Many API endpoints now return parsed markup in their response.

This, and other API endpoint improvements, has been talked about in our last HYS for 2.2:

 
Top Bottom