hurebelo
10 years agoContributor
Rest APIs: retrieve information in a single call
Using the Lithium rest api, is there a way to retrieve in a single “search/messages” call all of the following information?
- Total number of messages/discussions fitting the search criteria (without needing to do a “search/messages/count” call).
- Board title (without needing to do a “boards/id/board_id” call)
- Excerpt/blurb of the body where the search term was found
Or do I really need to do a call to find out the number of results, other to get the actual results and another one for each of the messages to find out the board name through its board_id?