This is not wanted (all), you need to know which layers are in the map otherwise the service will look for all the layers in the topic.
You'll know if can perform a request if you have some "queryable" layer in the map. You could add this info in gaLayers service, we have it in layersconfig.