apologies it works also without /gwc/ as following:
/geoserver/rest/layers.json
Tomas
On 27 April 2017 at 17:43, Tomas Kliment <[email protected]> wrote:
> Dear all,
>
> Is there a way to list all the layers published in a geoserver instance?
>
> Something as can be done with GWC: geoserver/gwc/rest/layers
>
> In my code I need to first check if a file was published in geoserver as a
> layer. I have files divided into several data themes corresponding to
> geoserver workspaces, thus would be easier to check against the whole Layer
> list if possible.
>
> Thanks in advance for help,
> Tomas
>
> --
> ------------------------------------------------------------------
> Ing. Tomáš Kliment, PhD.
> <http://about.me/klimeto>
> https://bolegweb.geof.unizg.hr <https://bolegweb.geof.unizg.hr>
>
> Email: [email protected]
>
> Cell: 00 421 907 232 019 <+421%20907%20232%20019> (SK)
>
>
>
--
------------------------------------------------------------------
Ing. Tomáš Kliment, PhD.
<http://about.me/klimeto>
https://bolegweb.geof.unizg.hr <https://bolegweb.geof.unizg.hr>
Email1: [email protected]
Email2: [email protected]
Email3: [email protected]
Cell1: 00 421 907 232 019 (SK)
Cell2: 00 39 389 495 5954 (IT)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users