added requirement and removed resource API route