Content delivery API - how to filter on nested properties?

Hi, I’m using the latest Umbraco v13.0.2 and starting to try out the Content delivery api. Can do simple filtering like:

/umbraco/delivery/api/v1/content?filter=contentType:event&filter=startDate>:2023-01-01

But how about if I want to access something deeper in the content?
say my event doctype returns this structure:

"contentType": "event",
    "properties": {
        "someProperty": 123,
        "anotherProperty: {
                "id": 456
            }
    }

How would I make a filtering query to filter on the someProperty, or the id in anotherProperty? Does this require extending the api?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/113309-content-delivery-api-how-to-filter-on-nested-properties