I have solved my issue. These are the two things I was not aware of:
- The json object should not be
{key: "doclang", value: "de}"
, but:key: "doclang", value: {value: "de"}
The “outer”value
is a reserved word, while the “inner”value
is an arbitrary property name. - This finds the content property:
{baseurl}/{contextpath}/rest/api/content/search?cql=content.property[doclang].value=de
My prior cql query contained double quotes, which - even if escaped - are not accepted. Further, hyphens are not accepted in any manor.
I hope this thread will help someone else.
Best regards
Alex