Update a movie by ID
Update the details of an existing movie by providing a movie ID
put/movies/{id}
Path parameters
idstring required
Movie ID
Request body
Example request
{
"id": 1,
"name": "Inception",
"year": 2010,
"rating": 7.5,
"director": "Christopher Nolan"
}Response
Movie updated successfully
Example response
{
"status": 200,
"data": {
"id": 1,
"name": "Inception",
"year": 2010,
"rating": 7.5,
"director": "Christopher Nolan"
}
}Changes
Changed in 3 of the 3 revisions of this API.12
- ○
the
yearrequest property's max was increased from2025.00to2026.00request-property-max-increased
- ○
- ○
the
yearrequest property's max was increased from2024.00to2025.00request-property-max-increased
- ○
- ▲
the
yearrequest property's max was decreased to2024.00request-property-max-decreased
- ▲