I am using a route like this
match \"/v1/:method\" => \"v1#index\"
My intention here is capture the name of the api method and then send the
#query_parameters does exactly what you want:
request.query_parameters
It's also the most efficient solution since it doesn't construct a new hash, like the other ones do.