[yanan] add api for rooms