How can I add routes per query string?

Hi, I’ve seen “request path” section in But it’s not clear how to add a route per querystring.

For example, how can I add two routes for g1 and g2 respectively?

GET /service/resource?group=g1
GET /service/resource?group=g2

The reason for this is to assign different acls rules for g1 and g2.