object
, other programming languages call it HashMap
or Dictionary
. The keys must be unique. Depending whether the field is localizable or not the API accepts different keys.population
field is not localizable. Therefore the only allowed key is iv
, which stands for "invariant".name
field is localizable. The allowed keys are the language codes for the languages you have configured.en
sv
en
fi
sv,en
it
en
X-Languages
header. Other languages will be omitted. We do not use the Accept-Language
header because we want to avoid compatibility issues. If you define a language that is not supported, this language will be ignored. For example: If you set: X-Languages: en,sv,de
for our example above you will only retrieve English (en
) and Swedish (sv
).X-Languages
header the localizable fields will contain only one value each and therefore they can be flattened as well. If you provide an unsupported language you will just get the master language.X-NoResolveLanguages=1