rest: add operation [assign] for task