Hi!
What are the default values returned by the API for empty fields?
As I understand the default value depends on the field type. So for integers it is '0', for strings it is 'null', and for ids it is '""' (epmty string). For example:
{
"budget" => 0,
"imdb_id" => "",
"overview" => nil
}
Is it correct? Is there any documentation for this?
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ فبراير 1, 2015 في 10:37 صباحا
Hi Kostya,
There isn't any documentation on this. There's some overviews that will be an empty string as opposed to a nil value.
I've created a new ticket for this and will look at it when I get some time.
Cheers.
رد بواسطة Kostya Dubinin
بتاريخ فبراير 10, 2015 في 6:30 مساءا
Thanks!