<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic REST Apis - Search - no entries when execute curl on Aspect metadata in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/rest-apis-search-no-entries-when-execute-curl-on-aspect-metadata/m-p/86659#M26182</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when i run the query below on Api Explorer, it returns entries:&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query": "tde:hashcode:\"123\""&lt;BR /&gt;},&lt;BR /&gt;"include": ["aspectNames", "properties"]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;but if I execute the Curl command proposed by Api Explorer :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Basic YWRtaW46YWRtaW4=' -d '{
  "query": {
    "query": "tde:hashcode:\"123\""
  },
	"include": ["aspectNames", "properties"]
  }' 'http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I have no entries !!!&lt;/P&gt;&lt;P&gt;I did test with&amp;nbsp;(+@tde:hashcode:\"123\"), but still same behavior, entries on Api explorer but not with Curl&lt;/P&gt;&lt;P&gt;Can someone help me ?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2020 10:29:55 GMT</pubDate>
    <dc:creator>FouadB</dc:creator>
    <dc:date>2020-10-02T10:29:55Z</dc:date>
    <item>
      <title>REST Apis - Search - no entries when execute curl on Aspect metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-apis-search-no-entries-when-execute-curl-on-aspect-metadata/m-p/86659#M26182</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when i run the query below on Api Explorer, it returns entries:&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query": "tde:hashcode:\"123\""&lt;BR /&gt;},&lt;BR /&gt;"include": ["aspectNames", "properties"]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;but if I execute the Curl command proposed by Api Explorer :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Basic YWRtaW46YWRtaW4=' -d '{
  "query": {
    "query": "tde:hashcode:\"123\""
  },
	"include": ["aspectNames", "properties"]
  }' 'http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I have no entries !!!&lt;/P&gt;&lt;P&gt;I did test with&amp;nbsp;(+@tde:hashcode:\"123\"), but still same behavior, entries on Api explorer but not with Curl&lt;/P&gt;&lt;P&gt;Can someone help me ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 10:29:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-apis-search-no-entries-when-execute-curl-on-aspect-metadata/m-p/86659#M26182</guid>
      <dc:creator>FouadB</dc:creator>
      <dc:date>2020-10-02T10:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: REST Apis - Search - no entries when execute curl on Aspect metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-apis-search-no-entries-when-execute-curl-on-aspect-metadata/m-p/86660#M26183</link>
      <description>&lt;P&gt;I don't see anything syntactically wrong with either one. When I change the query to use cm:name and a value I know exists I get results back using your curl example.&lt;/P&gt;
&lt;P&gt;Try running the query in the Node Browser using fts-alfresco and see what happens.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:20:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-apis-search-no-entries-when-execute-curl-on-aspect-metadata/m-p/86660#M26183</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2020-10-20T15:20:24Z</dc:date>
    </item>
  </channel>
</rss>

