REST API for ngcourse