Manages ratings for items in Content Services.
string, ratingType: any): Observable<any>string - Target nodeany - Type of rating to remove (can be "likes" or "fiveStar")Observable<any> - Null response indicating that the operation is completestring, ratingType: any): Observable<RatingEntry|any>string - Node to get the rating fromany - Type of rating (can be "likes" or "fiveStar")Observable<RatingEntry|any> - The rating valuestring, ratingType: string, vote: any): Observable<RatingEntry|any>string - Target node for the ratingstring - Type of rating (can be "likes" or "fiveStar")any - Rating value (boolean for "likes", numeric 0..5 for "fiveStar")Observable<RatingEntry|any> - Details about the rating, including the new valueThe ratingType string currently has two possible options, "likes"
and "fiveStar". When the "likes" scheme is used, the result of
getRating and the vote parameter of postRating are boolean
values. When "fiveStar" is used, the value is an integer representing
the number of stars out of five.
See the Ratings API in the Alfresco JS API for more information about the returned data and the REST API that this service is based on.
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.