Axuda de The Movie Database

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 respostas (na páxina 1 de 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.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión