To get a working example, configure the layer with the CQL filter you want, and then use the REST API to see what was written out.
You are welcome to contribute to the documentation once you have that example. Jody On Wed, Mar 23, 2022 at 10:55 PM Prem Kumar <prem.net...@gmail.com> wrote: > Hi Team, > > I have been trying to automate publishing the layers via geoserver rest > api but finding difficulties in fully customise it in my way. > > Essentially, I need to > > 1. Create workspace- no issues > 2. Create Postgres datastore - found issues, database type not identified. > 3. Publish multiple layers from a single postgres table with different CQL > filter. - looking for documentation or working examples. > > It would be really helpful if someone can help me pointing to good > examples or documentation, especially format of REST requests. > > Thank you in advance. > _______________________________________________ > 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 > -- -- Jody Garnett
_______________________________________________ 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