<?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 Re: [Alfresco 5.2] search for nodes with REST API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-search-for-nodes-with-rest-api/m-p/126665#M34477</link>
    <description>&lt;P&gt;You may try with the "search" API.&lt;/P&gt;
&lt;PRE&gt;$ curl -X POST \
"http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search" \
-H  "accept: application/json" -H  "authorization: Basic YWRtaW46YWRtaW4=" \
-H  "Content-Type: application/json" \
-d "{  \"query\": {    \"query\": \"cm:name:z*\"  }}"
&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Jun 2022 08:12:19 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2022-06-02T08:12:19Z</dc:date>
    <item>
      <title>[Alfresco 5.2] search for nodes with REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-search-for-nodes-with-rest-api/m-p/126664#M34476</link>
      <description>&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;I try to play with the REST API, now I'm able to do a lot of thing but there is still something that fail.&lt;/P&gt;&lt;P&gt;I cannot find anything with the /queries/nodes interface.&lt;/P&gt;&lt;P&gt;To be true, actually, I can have a lot of result for this request while this word is never used ... (banana)&lt;/P&gt;&lt;PRE&gt;http://server:8081/alfresco/api/-default-/public/alfresco/versions/1/queries/nodes?term='name:banana':&amp;amp;maxItems=500000&amp;amp;rootNodeId=-root-&lt;/PRE&gt;&lt;P&gt;If a replace by an existing name, I have no result .. Personnaly, I can understand it better ..&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;http://server:8081/alfresco/api/-default-/public/alfresco/versions/1/queries/nodes?term='name:memorandum':&amp;amp;maxItems=500000&amp;amp;rootNodeId=-root-&lt;/PRE&gt;&lt;P&gt;What am I doing wrong ? Could you understand why it find such weird result ?&lt;/P&gt;&lt;P&gt;The real request I would like to achieve is to have all nodes which have a properties named "ifm:ref" whith a value beginning by I .. I tries with term:ifm:ref:I* (as is is suggested here &lt;A href="https://docs.alfresco.com/search-enterprise/latest/using/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-enterprise/latest/using/&lt;/A&gt;) . but .. nothing&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone help me create the correct "term" ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 12:56:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-search-for-nodes-with-rest-api/m-p/126664#M34476</guid>
      <dc:creator>JC83</dc:creator>
      <dc:date>2022-06-01T12:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.2] search for nodes with REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-search-for-nodes-with-rest-api/m-p/126665#M34477</link>
      <description>&lt;P&gt;You may try with the "search" API.&lt;/P&gt;
&lt;PRE&gt;$ curl -X POST \
"http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search" \
-H  "accept: application/json" -H  "authorization: Basic YWRtaW46YWRtaW4=" \
-H  "Content-Type: application/json" \
-d "{  \"query\": {    \"query\": \"cm:name:z*\"  }}"
&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2022 08:12:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-search-for-nodes-with-rest-api/m-p/126665#M34477</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-06-02T08:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.2] search for nodes with REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-search-for-nodes-with-rest-api/m-p/126666#M34478</link>
      <description>&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt;It works great !&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 09:12:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-search-for-nodes-with-rest-api/m-p/126666#M34478</guid>
      <dc:creator>JC83</dc:creator>
      <dc:date>2022-06-02T09:12:23Z</dc:date>
    </item>
  </channel>
</rss>

