API routes

basic api routes for all schemes (get by id, get all, post)