gicait / geoserver-rest

Python library for management of geospatial data in GeoServer.
https://geoserver-rest.readthedocs.io
MIT License
196 stars 77 forks source link

geoserver-rest not covering all the REST API #57

Closed theoway closed 2 years ago

theoway commented 2 years ago

Hi, as you can see, a lot of API has yet to be added to geoserver-rest. I'm working on some for my personal project. I'd like to contribute by adding more APIs (example: To manage security, usergroups, roles, layer security etc.) Could anyone let me know if I should add code grouped by functionality(i.e. code for user groups in one PR, code for roles in other PR etc.)?

iamtekson commented 2 years ago

Hi @theoway, First of all, thank you for your interest in contributing.

As you said, the best way is to PR code grouped by functionality.

theoway commented 2 years ago

Since user info is returned in XML format, I'm thinking of using this XML to python dict module, so that a python dict with user info can be returned. What do you say?? @iamtekson

iamtekson commented 2 years ago

I also checked the geoserver-rest core API and found that some of the requests have only the `XML response, not JSON. In that case, I think it is better to use this library. I think you can proceed with this library. I am okay with it.

theoway commented 2 years ago

@iamtekson I think we should close this issue and create a new one that has a tasklist of the remaining Geoserver REST API to be implemented. What do you say? Lemme know and I'll open up a new issue.. :)