First of all thanks to @Michael_Lynn for an amazing intro to MongoRealm for setting up an API at Create a Custom Data Enabled API in MongoDB Atlas in 10 Minutes or Less | MongoDB and Create a Data Enabled API in 10 Minutes with MongoDB Realm - YouTube . Those are really valuable resources.
I have an API configured using the sample Function. I am trying to figure out how I can pass a parameter in an API call to the function so that I can filter/query based on a specific field or fields in my database. I realize this related to the find({}) portion of the function but I am not certain how to relate that to a parameter in the API or what the syntax would be to do a Boolean search among several query parameters.
Any help would be much appreciated.
Related question - is there a library of sample functions somewhere?