create api for memberlist-doc in room.js