I have an XQuery that searches for XML documents that have a specific property value (metadata) associated with it. The query below works in the Q Console, however I need to execute it as a GET call using the REST API:
cts:search( fn:collection(), cts:properties-query(cts:element-value-query(xs:QName("type"),"executable")))
How do I convert this XQuery to a REST call that will return the same results?