Take object, not bool, as param
Take object, not bool, as param

Throughout our API we take objects. And swagger is unhappy with not
doing so.

matrix-org/matrix-doc,matrix-org/matrix-doc,matrix-org/matrix-doc,matrix-org/matrix-doc