Dear Geoserver Cummunity,
I would like to create, get and modify users via GeoServer Rest >From GeoServer 2.15.x User Manual >> Rest I found following endpoints. * <https://docs.geoserver.org/stable/en/user/rest/> https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/usergroup.yaml * * To create a new user: * * POST /usergroup/users/ * Works for me as : * POST /security/usergroup/users * (when adding (org.geoserver.rest.security.xml.JaxbUser) { * org.geoserver.rest.security.xml.JaxbUser:{ "userName": "test", "password": "test", "enabled": true }} * To modify a user in the documentation i found.. * (POST/DELETE) /usergroup/users/{user} Modify a user/Delete * * works for me as * POST /security/usergroup/user/{user} (Post/Delete, users without s) * * At this point I was not able to get a single user * GET /usergroup/users/{user} (Get) * tried * * /security/usergroup/users/{user}(404) * * /usergroup/users/{user} (404) * * /usergroup/user/{user} (404) * * /security/usergroup/user/{user}(405) * * * * * * I am not sure if i miss a point, if it's an documentation issue, or a real bug. If its only documentation, I could update the swagger.yaml file?! I set rest.properties for testing as /**;POST,GET,DELETE,PUT=admin Best Regards, Thomas Doejen
_______________________________________________ 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