hey Geoserver, whats up?

I spotted a little mistable in the api doc.
On this page:
https://docs.geoserver.org/stable/en/api/#1.0.0/styles.yaml
In the "/rest/layers/{layer}/styles Add a new style" row

if you extend it and if you choose "application/json", the given example is:

{
  "name": "roads_style",
  "filename": "roads.sld"
}

and it shouldbe:

{"style":
    {
      "name": "roads_style",
      "filename": "roads.sld"
    }
}

it worked like this for me!

bye,kiss,love <3
charles




_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to