Added resource search endpoint.