fleshing out RESTful endpoints for get and post of level.