Which Url to call so that I can get all the registered patients in the system?

I want the json result of all the registered patients in my system.So what url in openmrs should I call for it?

eg: For all appointments this is the url :

So for getting all the registered patients,which url do I have to call?

I think Bahmni patient search does not consume openmrs patient service directly. It gets the result from bahmni-core by consuming /openmrs/ws/rest/v1/bahmnicore/search/patient which fetches the data directly from the database.