I'm afraid, that is a limitation of DSS at the moment, and you cannot use the same base URL to call two different queries, by looking at the parameters. And as you also mentioned, the other approach is to use different resource paths to map to queries.
In the upcoming release of DSS, v3.1.0, the functionality you are looking for will be supported.
Cheers, Anjana.