Create API endpoints for submitting, editing ratings. (bugs 848494, 848428, 848471)