API - Basic API calls

in case if $course_id does not exist in the system you need to return 404