opengeospatial / ogcapi-styles

A Web API that enables map servers, clients as well as visual style editors, to manage and fetch styles.
https://ogcapi.ogc.org/styles
Other
10 stars 5 forks source link

/req/manage-styles/update-style-md-op #3

Closed cportele closed 3 years ago

cportele commented 4 years ago

This is a discussion that was raised up during OGC Testbed 15:

Some metadata members can be easily overridden with a PUT request by mistake from a client that is cloning some existing metadata.

Metadata fields that should only be managed by the server (e.g. stylesheet links) should be ignored in a PUT request.

jeffharrison commented 3 years ago

SWG discussed this Issue on 4 May 2021. Recommend this Issue be assessed during Tiles, Maps and Styles Sprint in late May.

Note: Perhaps just allow PATCH (?)

jeffharrison commented 3 years ago

This Issue was not addressed during Tiles, Maps and Styles Sprint in late May.

Clemens P to take action to generate Pull Request to just allow PATCH and allow servers to ignore parts of PUT that shouldn't be changed by the client.