<p>Seems like a very strange requirement, and I'm reluctant to try and turn the API into some sort of turing complete query language...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1016#issuecomment-123812075">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLYxSdy1oX4zP2j4VrPlvhhXP11laks5of9MhgaJpZM4FdyGd.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1016#issuecomment-123812075"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>