Is it possible to select a service (WMS / WFS) through the Geoserver REST-API?
I know how to add a workspace through the REST-API, like this
curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d "<workspace><name>workspacename</name></workspace>" %resturl%/workspaces
But I would like to add a service (WMS or WFS or both) through the REST-API. If this is possible I don't have to go the the webadmin-page the select the service manually. Does someone know if this is possible?