The REST POST method automatically translates the jcr:mixinTypes property (if set on the request) into a series of addMixin calls. The PUT method should compare the jcr:mixinTypes property (if present) to the existing mixin types for the node and attempt to add or remove mixin types as needed.