Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Currently, both /management/v1/configuration/node/ and /management/v1/configuration/cluster/ are bound to PUT for modification of the configuration.
In RESTful APIs, PUT usually performs a complete replacement of an entity (see https://hub.packtpub.com/what-are-rest-verbs-and-status-codes-tutorial/ ), but in our case the configuration is actually patched (the client passes a diff, not the complete configuration).
So it makes sense to use PATCH verb instead of PUT.
Attachments
Issue Links
- links to