REST API for PatientName...

Hi, Is there an option to show patientInfo with the REST API without knowing the PatientID?
I mean, if I want the info of a singular patient, I know I should use http://localhost/patients/, but If I have only the Patient Name instead of Patient ID?
or something similar (without the Orthanc Explorer interface obviously)
I read some time in the REST API documentation , the Orthanc Book documentation and some many conversations in the forum but I ever see that the ID parameter is required for get Patient Info, I apologize if I lost something…

You can use /tools/find https://api.orthanc-server.com/#tag/System/paths/~1tools~1find/post to search for a Patient by Patient Name - passing Query: {PatientName:“Smith^John”}. This will give you the Orthanc Patient ID, which you can then retrieve using /patients/:id.

James