- March 2, 2021Action Required
Handling boolean query parameters
MarketingWhat
We now handle boolean query parameters in a more explicit way. For query parameters that are defined as a boolean type in our documentation, the case-insensitive strings
trueand1will be handled as atruevalue, and the case-insensitive stringsfalseand0will be handled as thefalsevalue. Other values will be defaulted tofalse, if provided.Why
We didn’t have a clear statement on what the accepted values for boolean query parameters were.