Thanks Charles: For any documentation changes, it is very quick to make a correction directly using the github edit button:
- https://docs.geoserver.org/latest/en/docguide/quickfix.html The page in question is here: - https://github.com/geoserver/geoserver/blob/master/doc/en/api/1.0.0/styles.yaml I had a look for the example you describe but I do not see it, all of application/json examples match your working example already. -- Jody Garnett On Thu, 15 Oct 2020 at 01:44, Charles Chevreuil <[email protected]> wrote: > > > 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 > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
