Forum Discussion
Hi mfeltscher
Thanks a lot for explaining your requirement.
check out https://<your domain>/restapi/vc/reviews/recent/messages , I guess that this is what you are looking for
you may read more from API docs
Hi HaidongG
This is what I tried in the first place but this API call does not work.
Acutally the call returns exactely the same data as https://<your domain>/restapi/vc/reviews/recent. No comments to ratings get returned, only ratings.
Is this a bug?
Moreno
- HaidongG12 years agoLithium Alumni (Retired)
Hi mfeltscher ,
do you mean https://<your domain>/restapi/vc/reviews/recent returns the messages with subjects only, but not message body?
you need to add some parameter to see the message body, for example
https:///restapi/vc/reviews/recent/messages?restapi.format_detail=full_list_element
Sign in to react to this post- mfeltscher12 years agoExpert
Hi HaidongG
No. I'm aware of restapi.format_detail=full_list_element. What I want to achieve is to get the most recent comments (not ratings) to all ratings across the community. https://restapi/vc/reviews/recent/messages returns the most recent ratings.
This is possible for example for blog comments (by using something like https://restapi/vc/replies/style/blog/recent, why shouldn't it be possible for rating comments?
Moreno
Sign in to react to this post- JustinF12 years agoKhoros Alumni (Retired)
Unfortunately, recent "Review-Comments" to "Product Reviews" is not displayed in any core components that I am aware of (only a recent Product Reviews component for the landing page and the User Profile page is what is surfaced as product information on community pages). Review-Comments are only being displayed in the R&R ActiveCast widget.
Roping in ShananD for visibility as currently there is not a direct way to get only the latest comments to Product Reviews.
Also notifing JeffY as perhaps it could evenutally be handled by the new V2 Rest API?
Sign in to react to this post