Permissions? failing that turn logging up and see what shows up

curl -u admin:geoserver -v http://localhost:4080/geoserver/rest/styles.json
and
curl -u admin:geoserver -v http://localhost:4080/geoserver/rest/styles
both work fine for me on a vanilla 2.8.1 install as do the layergroups ones
too.

Ian



On 11 February 2016 at 15:35, Jonathan Moules <[email protected]>
wrote:

>
> Hi List,
>     On a 2.7.1 install, the REST API is giving what appear to be anomalous
> results.
>     A GET request to ../rest/layers correctly lists all of the layers on
> the instance.
>
>     But
>     /rest/layergroups and /rest/styles both return empty lists despite
> there being lots of both of them.
>
>     Further confusion:
>     /styles(.html) = no results (and an empty html page source)
>     /styles.json|xml = 10 results (both giving the same 10) - there are
> over 100 styles on the server.
>
>     /layergroups returns empty across all three formats.
>
>     Any thoughts on what's going on? Is there a reason they wouldn't be
> listed? The docs don't suggest any.
>     Cheers,
>     Jonathan
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Ian Turton
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to