[Geoserver-users] Retrieving SLD file via the REST API

All:
   Got a quick question. We are developing an admin application
based on the REST API. We can upload an SLD file as required
however we can not find any way to retrieve an existing
SLD file for editing. Is there a way to do this?
--
========= mailto:dboyd@anonymised.com ============
David W. Boyd
Director, Engineering, Research and Development
Data Tactics Corporation
7901 Jones Branch, Suite 240
Mclean, VA 22102
office: +1-703-506-3735, ext 308
fax: +1-703-506-6703
cell: +1-703-402-7908
============== http://www.data-tactics.com/ ============

The information contained in this message may be privileged
and/or confidential and protected from disclosure.
If the reader of this message is not the intended recipient
or an employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited. If you have received this communication
in error, please notify the sender immediately by replying to
this message and deleting the material from any computer.

David Boyd ha scritto:

All:
   Got a quick question. We are developing an admin application
based on the REST API. We can upload an SLD file as required
however we can not find any way to retrieve an existing
SLD file for editing. Is there a way to do this?

http://<host:port>/geoserver/rest/styles/<stylename>.sld

See the REST config reference, the above link was in there:
http://docs.geoserver.org/stable/en/user/extensions/rest/rest-config-api.html#styles

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.