You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of 2.0.0, all PUT requests that previously provided partial update of an object are changed to PATCH (as they should according to REST method definition).
On the other hand, we could still support PUT *if an only if the full object details are provided in the body.
For example, user creation (POST) requires user_name, password, email and (optionally) group_name.
Requesting PUT with all those parameters should allow overwrite of the details.
Obviously, necessary user-access to operations would need to be validated accordingly.
With same example, user_name cannot be updated by non-admin. Therefore, PUT should be an admin-only operation because the user_name must be provided and (possibly) changed.
The text was updated successfully, but these errors were encountered:
As of
2.0.0
, allPUT
requests that previously provided partial update of an object are changed toPATCH
(as they should according to REST method definition).On the other hand, we could still support
PUT
*if an only if the full object details are provided in the body.For example, user creation (
POST
) requiresuser_name
,password
,email
and (optionally)group_name
.Requesting
PUT
with all those parameters should allow overwrite of the details.Obviously, necessary user-access to operations would need to be validated accordingly.
With same example,
user_name
cannot be updated by non-admin. Therefore, PUT should be an admin-only operation because theuser_name
must be provided and (possibly) changed.The text was updated successfully, but these errors were encountered: