|
|
|
@ -412,19 +412,6 @@ namespace MediaBrowser.ApiInteraction.Portable
|
|
|
|
|
GetDataAsync(url, callback);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Updates a user's rating for an item, based on a numeric scale
|
|
|
|
|
/// </summary>
|
|
|
|
|
public void UpdateUserItemRatingAsync(Guid itemId, Guid userId, float value, Action<DTOUserItemData> callback)
|
|
|
|
|
{
|
|
|
|
|
string url = ApiUrl + "/UserItemRating?id=" + itemId;
|
|
|
|
|
|
|
|
|
|
url += "&userid=" + userId;
|
|
|
|
|
url += "&value=" + value;
|
|
|
|
|
|
|
|
|
|
GetDataAsync(url, callback);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Updates a user's rating for an item, based on likes or dislikes
|
|
|
|
|
/// </summary>
|
|
|
|
|