add /comm/thread api endpoint (bug 879545, 879552)