Moved ios api into a route namespace