REST API: Retrieve user latest messages only for selected category or board
Hello folks,
My question is:
How to I can retrieve user latest messages only for selected category or board using Lithium REST API?
I found the following REST API method: users/id/%John_Doe%/topics/latest,
but it seems that it cannot restrict a search scope by specified category or board.
But I want to find topics that specified user posted in the specified category or board.
Any advice?
My suggestion would be to do a message search via the REST API. If you're not familiar with using our message search REST API, a great way to get started is by using the message search in the UI. From that, you can figure out the parameters you'd like to work with. For example, here's how to get a list of messages that you've posted in the Developer board here on the Lithosphere:
http://lithosphere.lithium.com/restapi/vc/search/messages?location=Board%3Astudio&author_id=12780
I determined these parameters and sample values by going to the search page and modifying the filters on the left side until I got what I was looking for. For example:
I hope this helps!