Publishing data
Once you have configured your data on GeoServer, it is time to publish it. The REST interface gives you resources for managing layers, styles, and layer groups.
Working with styles
You learned a lot about styles and SLD in Chapter 6, Styling Your Layers. Configuring proper visualization requires you to create and publish proper styles.
REST offers you two resources for managing styles. They are as follows:
/styles
/workspaces/<ws>/styles
The former points to styles that are not associated to a workspace, while the latter contains the workspaces with associated styles.