curl --request POST \
--url https://api.themoviedb.org/3/movie/%7B{movie_id}%7D/rating \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"value": 8.5
}'
{
"status_code": 12,
"status_message": "The item/record was updated successfully.",
"success": true
}
This endpoint allows you to rate a movie and save it to your rated list.
curl --request POST \
--url https://api.themoviedb.org/3/movie/%7B{movie_id}%7D/rating \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"value": 8.5
}'
{
"status_code": 12,
"status_message": "The item/record was updated successfully.",
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
"string"
"\"e121864bf4969caf6203ec37c8c86979041c7fcc\""
Add rating
The response is of type object
.