Fixes #7378 - fixed API lookup keys filters

- forced search to be successful when resource id is provided
- added API documentation for missing parameters
Since we switched to use ```friendly_id``, you should rescue ```ActiveRecord::RecordNotFound``` in all these methods to handle the ```not_found``` response. It's also the reason why tests are failing.