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 одговора (на страни 1 од 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.

Не можеш да нађеш филм или серију? Пријави се да додаш.

Глобално

s фокусирај траку за претрагу
p отворите мени профила
esc затворити отворени прозор
? отвори прозор пречице на тастатури

На страницама медија

b вратити се назад (или родитељу кад је то применљиво)
e иди на страницу за уређивање

На страницама ТВ сезона

(стрелица надесно) пређите на следећу сезону
(лева стрелица) иди на претходну сезону

На страницама ТВ епизода

(стрелица надесно) пређите на следећу епизоду
(лева стрелица) иди на претходну епизоду

На свим страницама са сликама

a отвори прозор за додавање слике

На свим страницама за уређивање

t отвори селектор превода
ctrl+ s пошаљи образац

На страницама за дискусију

n отвори нову дискусију
w мења статус гледања
p мења јавно/приватно
c мења отвори/затвори
a отвори активност
r одговор на дискусију
l иди на последњи одговор
ctrl+ enter пошаљи поруку
(стрелица надесно) следећа страница
(лева стрелица) претходна страница

Подешавања

Желите ли да оцените или додате ову ставку у листу?

Пријави се