API call to get a list of all the Pods for a Namespace

I’m trying to use a REST API call to get all the Pods for a specific NameSpace. I have the API calls to get all the Pods via https://<rancherURL>/v3/project/<project>/pods but the API filters don’t have anything for NameSpaces. Is this possible to do with the API?

I can get the results back I want via the shell. What I want is an API version similar to the results that get returned with this:

kubectl get pods --namespace <namespace> -o jsonpath="{.items[*].spec.containers[*].image}" | tr -s '[:blank:]' '\n' | sort

I need to use a REST call if it’s feasible.