Filtering by an attributte of a document in Document Collection Resource of Content REST API


it is possible to filter using “_query” parameter the documents that Document Collection Resource of Content REST API returns only searching in an attribute of the document? says that " Technically, the query is executed using the JCR “contains” method. For details on the exact query capabilities, see the spec."

For example, I’m triying to issue a request like these:


Our node type OpMnl contains an attribute “series”, and we want to recover only documents containing “ey210” value in “series” attribute.

It is possible usign Content REST API?

Thanks in advance,

Hi, I don’t think this is possible in the content rest api. You will need to do some custom work. You could file an improvement issue for this in the HST project, but I can’t guarantee it will be picked up.