The API call /movie/changes lists all movies which were changed in a specified period.
I currently don't know how to get movies which were deleted via the API.
The IDs of deleted movies are also returned by /movie/changes ? Or is there another call to get this information?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on February 10, 2016 at 1:42 PM
Hi ThisIsNotHollywood,
The IDs of deleted movies will indeed be returns in the /movie/changes list. They're easy to pick out because the
adult
field is null. You can still query deleted movie ID changes, but only the /changes method will work. i.e., a recently deleted movie here: https://www.themoviedb.org/movie/380632-the-lord-of-the-rings-the-two-towers-extended-editionCheers.
Reply by ThisIsNotHollywood
on February 10, 2016 at 5:14 PM
Thank you. I got it: {"id":380632,"adult":null}
The adult field is also null for deleted TV Shows, right? It's a bit strange because TV Shows have no adult field when I request the information.
Reply by Travis Bell
on February 10, 2016 at 5:20 PM
Correct. The change template is the same but we don't track adult items for TV in any way right now.
Cheers.
Reply by wonderfullife
on August 21, 2020 at 2:34 AM
Hi, I was trying to detect if a movie was deleted, I tested the api request above and it returns:
Is this request been removed?