You would need to modify the layers endpoint (e.g. http://localhost:8080/geoserver/rest/workspaces/tiger/datastores/nyc/featuretypes/giant_polygon.xml) to modify keywords.
Ian On Wed, 5 Jun 2019 at 11:18, Bar-On, Itay <itay.ba...@vlaardingen.nl> wrote: > Hi, > > > > Following up on my question on updating layer keywords, I would like to > know if it is possible to use the REST API to update existing workspaces > with new values for title, abstract and keywords. > > > > Accoridng to the API documentation > https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/workspaces.yaml > the only modification possible to a workspace it to change the name, using > the /workspace/{workspaceName} end point. > > > > I was wondering if more workspace properties can be set/changed this way. > > > > I did try the following body: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <workspace> > > <keywords> > > <string>Trefwoord1</string> > > <string>Trefwoord2</string> > > <string>Trefwoord3</string> > > </keywords> > > </workspace> > > > > But despite getting a 200 http response I dont see the new keywords on the > geoserver instance. > > > > Any help would be appreciatted. > > > > > > Met vriendelijke groet, > > Itay Bar-On > *Geo Informatie Specialist* > > [image: Gemeente Vlaardingen] > > *Informatie en Facilitaire Voorzieningen* > Westnieuwland 6, 3131VX Vlaardingen, Nederland > > *T* 06 10173309 > *E *itay.ba...@vlaardingen.nl > *W *www.vlaardingen.nl > > > > De gemeente Vlaardingen stuurt privacygevoelige e-mail berichten via een > beveiligde verbinding van KPN Zorg Messenger. Meer informatie vindt u op > www.vlaardingen.nl/veiligmailen. > _______________________________________________ > 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 > -- Ian Turton
_______________________________________________ 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