movies

Get movie ratings

Returns ratings based on the provided movieId in a JSON object.

get/movie/{movieId}/ratings

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/movie/{movieId}/ratings
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Path parameters

movieIdnumber required
Example:337401

Response

Ratings returned

titlestring
yearnumber
urlstring
criticsScorenumber
criticsRating'Rotten' | 'Fresh' | 'Certified Fresh'
audienceScorenumber
audienceRating'Spilled' | 'Upright'

Example response

{
  "title": "Mulan",
  "year": 2020,
  "url": "http://www.rottentomatoes.com/m/mulan_2020/",
  "criticsScore": 85,
  "audienceScore": 65
}

Changes

No recorded changes to this operation across all 21 revisions of this API.