Hi all

I wonder if anyone has any XML schema definitions for the REST APIs?  Our
developers want to create a library for programatically accessing the API
so XSD files would help.

I see that the code does not make use of any (ref:
src\restconfig\src\main\java\org\geoserver\rest\catalog\WorkspaceController.java)
and the API documentation at

https://docs.geoserver.org/latest/en/api/#1.0.0/workspaces.yaml

only has example responses, e.g.

Example Value

*application/xml*

<workspace>
>   <name>topp</name>
>   <dataStores>
>     <atom:link xmlns:atom="http://www.w3.org/2005/Atom"; rel="alternate"
> href="http://localhost:8080/geoserver/rest/workspaces/topp/datastores.xml";
> type="application/xml"/>
>   </dataStores>
>   <coverageStores>
>     <atom:link xmlns:atom="http://www.w3.org/2005/Atom"; rel="alternate"
> href="
> http://localhost:8080/geoserver/rest/workspaces/topp/coveragestores.xml";
> type="application/xml"/>
>   </coverageStores>
>   <wmsStores>
>     <atom:link xmlns:atom="http://www.w3.org/2005/Atom"; rel="alternate"
> href="http://localhost:8080/geoserver/rest/workspaces/topp/wmsstores.xml";
> type="application/xml"/>
>   </wmsStores>
> </workspace>


Thanks

Peter
_______________________________________________
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

Reply via email to