REST API - Messages Search No Teaser Value
I want to use the API to search for messages that contain my search phrase.
i.e. searching for the word playstation
/restapi/vc/search/messages?phrase=playstation
In the search result xml, the teaser value is always null but all other fields are fine. Should I use a different API method? Or maybe lithium can update the API to show the teaser value? Otherwise, I have to make an API call to retrieve the body of each message. This way is very inefficient.
The API supports getting the following from search in a single API call
* Subject / title of post - <subject>
* Time-stamp - <post_time>
* URL to post (for hyperlink) – view_href attribute on <message>
* Author – <author>
* URL to author profile – view_href attribute on <author>
* Message Body – <body> (requires passing an additional parameter
I belive with the message body content you can then parse the XML so that you define the teaser to be however long you want it to be.