On Tue, Aug 6, 2013 at 6:39 PM, Michael Moore <[email protected]
> wrote:

> I have three workspaces, and each has a layer named Land_Cover_Vector. I'm
> trying to use the REST API to get a list of all layers, but when I request:
> http://localhost/geoserver/rest/layers.xml
>
> The HTML or XML links to
> http://localhost/geoserver/rest/layers/Land_Cover_Vector.xml three times,
> not to each individual layer.
>

The layer links to the resource, and the url of the resource contains the
workspace.
If you just want to follow links get to the resource, then its store, and
then you have the link to the workspace.

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to