Joe - move endpoint under api namespace