Forum Discussion
iahiqosolutions
13 years agoAdvisor
Hi Laurent,
In this particular case parameter "is_root:true" as the value of the "q" parameter is used for returning "root" messages(not replies).
But in general parameter "q" is used for specifying search phrase. For more info you can check the following article:
http://lithosphere.lithium.com/t5/Developers-Knowledge-Base/Working-with-Rest-API-search/ta-p/39942
In this particular case parameter "is_root:true" as the value of the "q" parameter is used for returning "root" messages(not replies).
But in general parameter "q" is used for specifying search phrase. For more info you can check the following article:
http://lithosphere.lithium.com/t5/Developers-Knowledge-Base/Working-with-Rest-API-search/ta-p/39942
DougS
13 years agoKhoros Oracle
Another good REST query parameter to note is the restapi.response_style parameter. If you add ?restapi.response_style=view to your REST call, you will get an additional attribute on your message and board nodes named view_href. This will contain the URL to the message or board in the community:
http://lidemo.lithium.com/restapi/vc/search/messages?q=phone&restapi.response_style=view