The Movie Database Support

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?

4 replies (on page 1 of 1)

Jump to last post

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-edition

https://api.themoviedb.org/3/movie/380632/changes?api_key=###

Cheers.

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.

Correct. The change template is the same but we don't track adult items for TV in any way right now.

Cheers.

@travisbell said:

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-edition

https://api.themoviedb.org/3/movie/380632/changes?api_key=###

Cheers.

Hi, I was trying to detect if a movie was deleted, I tested the api request above and it returns:

{"changes":[]}

Is this request been removed?

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login