Zend certified PHP/Magento developer

How to get all orders with a specific SKU using the REST API?

I’m trying to figure out if a product was bought and when, but other than looping over all orders I don’t see how I can do that.

I saw this question but I need to do it through the REST API.

Any idea?