provide api for course details.