Add shared_queries endpoint to root resource