Wsparcie The Movie Database

Hi. I have been playing with the API for a while and I found that, a valid movie doesn't return status_code, while an invalid movie does.

According to the docs, every response has its code including success. But the is no status code on a valid movie which it should with the code 1.

Am I missing something here? Can I just check if status_code exists or not to validate a response? Because I believe only problematic responses will have the status_code but not a valid and successfull API request.

Thanks

1 odpowiedź (strona 1 z 1)

Jump to last post

Hi @psycholyzern,

It's true, status_code is only returned on select responses. You're the first person to bring this up, which is interesting. I've created a new ticket for this here.

Thanks for the report.

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj