implement APIs corresponding to "#name/:_id" route on top of socket.io