cancel
Showing results for 
Search instead for 
Did you mean: 

How to get document based on property?

dharmraj
Confirmed Champ
Confirmed Champ

I am using query/nodes rest api to find node based on metadata .But its not working 

{
“query”: {
      “query”: “cm:name:ab* AND dpdSmiley TonguerojectName: c*“,
     “language”: “fts-alfresco”
  }

}

Get /queries/nodes? term= query

Is it correct?

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

You have a whitespace in your query between dpdSmiley TonguerojectName: and c*. That may break your use case.

Other than that, it is typically good to include a basic description of what you mean by "it is not working". There are countless possible errors / mistakes that could occur / be made, so without any information on e.g. an error we cannot really help you that much (apart from checking your query and finding stray whitespaces).