controller api y routes