Check the parameters of one GENESIS request before it is sent. undefined
and null mean "omitted" and are never sent. A parameter with its own rule
(pagelength, timeslices, language, category, the criteria, format, …)
must pass it, structureinformation/compress/transpose must be a boolean,
term free text (textProblem), contents, regionalkey and classifyingkey1..5 a comma-separated list
(listProblem); every other parameter a token (tokenProblem: not blank or
invisible, no control or format character). GENESIS takes one value per parameter,
so an array is rejected (it went out as repeated keys, of which the server read
one). Throws RegionalstatistikValidationError naming the parameter.
With allowed, a key outside that list is rejected too (P10): GENESIS ignores a
parameter it does not know and answers unfiltered. options.allowUnknownParams
lets such a key through as long as its value is a string, number or boolean;
__proto__, constructor and prototype are never accepted.
Check the parameters of one GENESIS request before it is sent.
undefinedandnullmean "omitted" and are never sent. A parameter with its own rule (pagelength,timeslices,language,category, the criteria,format, …) must pass it,structureinformation/compress/transposemust be a boolean,termfree text (textProblem),contents,regionalkeyandclassifyingkey1..5a comma-separated list (listProblem); every other parameter a token (tokenProblem: not blank or invisible, no control or format character). GENESIS takes one value per parameter, so an array is rejected (it went out as repeated keys, of which the server read one). ThrowsRegionalstatistikValidationErrornaming the parameter.With
allowed, a key outside that list is rejected too (P10): GENESIS ignores a parameter it does not know and answers unfiltered.options.allowUnknownParamslets such a key through as long as its value is a string, number or boolean;__proto__,constructorandprototypeare never accepted.