changed getAllResources request