Netflix API Forums

Netflix API Feature Requests

RSS Feed

Possible to clear a title rating?

    • kitlaan
    • Topic created 3 years ago

    Is it possible to clear a title rating?
    (Currently, you can only set 1-5 or not_interested)

    Message edited by kitlaan 3 years ago

    Tags

  1. kitlaan3 years ago

    Also, if you GET to 'users/userID/ratings/title/actual/ratingID' with a ratingID that hasn't been rated yet by the user, it returns a "random" list of ratings. Is this correct?

  2. kitlaan3 years ago

    answered my own question on "clear a rating" (should probably add to the REST API doc)
    ==> use 'no_opinion' as a rating value.

    Still wonder about the "ratings/title/actual/ratingID". I always get a list of ratings.

  3. Michael Hart3 years ago

    You're basically seeing the response for ratings/title/actual when you hit ratings/title/actual/{bad ID}. That's a bug- we should return 404 in that case.

  4. priya3 years ago

    Yes, ratings/title/actual/{bad ratingID} should error out, this is a bug, we will address this, thanks for the note. I would also like to point out that if you are trying to get a rating, you should use the title_refs parameter. So, it would be something like ratings/title/actual?title_refs=http://api.netflix.com/catalog/titles/movies/70074095.

    For setting the rating you would use ratings/title/actual/{ratingID}.

    If you ask for users/userID/ratings/title/actual (without any title_refs parameter), it will return your most recent ratings.

  5. Brent3 years ago

    Ok, but what IS a "ratingId"? It seems pretty frustrating to me that there are two paths to rating a movie. I'd like to always be able to use a single call to rate a movie, whether or not a user rating already exists.

    But, since it hasn't been done that way, what is a ratingId? (i.e. which field(s), where is it found)

  6. Armando Padilla3 years ago

    Hi Brent, the ratingId can be found in the "id" xml tag in the xml presented here

    http://developer.netflix.com/docs/REST_API_Reference#0_80766

[ Page 1 of 1 ]