rest: doc++
rest: put device attrs to device attr