The Movie Database Support

Hi Travis,

I noticed that /movie/changes returns null as the movie id in some cases. I suspect this happens when a movie was deleted, but doesn't comply with the docs. Returning the id would make much more sense here as a subsequent call for the movie details would return 404 indicating that it was deleted.

I assume there will be the same behaviour for tv changes but I have not encountered it so far.

6 replies (on page 1 of 1)

Jump to last post

Yes, that's correct. It happens for objects that have been deleted.

OK. So is this a bug in the API endpoint or in the documentation? I would prefer the first as it would make much more sense to be fixed there...

It is not a bug on the API, it's by design.

I think I am missing something here to get the full picture. So please understand why I am asking these questions. Right now the API is telling a client: "A movie has been deleted, but I won't tell you which one". What is the point of this? Wouldn't it be much better to just return the id?

Hi Jendrik,

Sorry about that, I missed the fact that you were mentioning the ID field, and not the adult field. The adult field being null on deleted items is by design.

Ok, so for the ID field, that's a bug that I am aware that seems to be caused at time when the destroyed change log entry is written to the database.

OK, thanks. Let me know if you need me to test anything or provide further information in order to fix this.

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?

ಲಾಗಿನ್