RESTful usage for single level endpoints

REFACTORED