The reply to GET LAYERS request does not include any information about the workspaces of the layers.
Reply (layer href):
- href: "http://localhost:8080/geoserver/rest/layers/<layerName>.json"
The worskspace of the layer is not mentioned. As a result, if there are more layers with the same name, each in a different workspace, all but one are unreachable from the GET LAYERS reply - the reply contains several identical links, all pointing to one layer.
Desired behavior (layer href):
The current issue have two consequences. First, as mentioned above, some layers are hidden and must be detected (by checking the duplicity records) and found (by checking every workspace). Second, when we want the layers of some particular workspace(s) (there is no request to get layers of a particular workspace), we have to ask for every layer details to find it out - and this becomes a performance issue (n requests instead of 1).
Thanks a lot.