Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
Helium
-
None
-
None
-
Operating System: Linux
Platform: PC
-
1012
Description
REST and POST should deal with the same URIs and expect data formatted in the same ways. Currently, they seem to treat namespaces differently (I guess; I haven't actually be able to figure out what the actual behavior is)
The API as presented in the swagger API explorer is reasonably, sane, telling me I can either POST or PUT into URIs such as /config/toaster:toaster.
However, only PUT actually works here, and the semantics are (as correct for PUT) to wipe out everything below that URI and replace it with the new PUT data.