A quick guide on query strings.
To set a value to a specific key in the query string,
/resource?key=value
key = request.args.get('key')
Set a list of values to a specific key in the query string. You can retrieve this using a specific.
/resource?list[]=1&list[]=2
list_ = request.args.getlist('list[]')
Set a boolean value to a specific key in the query string.
/resource?boolean
boolean = 'boolean' in request.args