<?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: How to make a query (filter) on vocaburay entries in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-query-filter-on-vocaburay-entries/m-p/328019#M15020</link>
    <description>&lt;P&gt;Thank you for your answer (and operation seems to be the right way !) but i think to use Directory.SuggestEntries with a filter.&lt;/P&gt;
&lt;P&gt;For example :&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;curl -X POST 'https://demo.nuxeo.com/nuxeo/site/automation/Directory.SuggestEntries' -H 'X-Authentication-Token: 29f5cece-f25d-425c-a6f1-a528a776fe59' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'X-NXVoidOperation: false' -d '{"params":{"directoryName":"country","filters":"obsolete=0"},"context":{}}'&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2019 17:34:31 GMT</pubDate>
    <dc:creator>pnux_</dc:creator>
    <dc:date>2019-03-15T17:34:31Z</dc:date>
    <item>
      <title>How to make a query (filter) on vocaburay entries</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-query-filter-on-vocaburay-entries/m-p/328017#M15018</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I use nuxeo LTS 2019.&lt;/P&gt;
&lt;P&gt;From a PHP app, i want to list vocabulary entries (for example 'country') using the REST API
&lt;CODE&gt;curl -X GET 'https://demo.nuxeo.com/nuxeo/api/v1/directory/country?' -H 'X-Authentication-Token: 29f5cece-f25d-425c-a6f1-a528a776fe59' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'content-type: application/json'&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;But how can i &lt;STRONG&gt;add a filter&lt;/STRONG&gt; to avoid &lt;STRONG&gt;obsolete&lt;/STRONG&gt; entries ? ( obsolete = 1).
The only option seems to filter the response, before display the result.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:00:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-query-filter-on-vocaburay-entries/m-p/328017#M15018</guid>
      <dc:creator>pnux_</dc:creator>
      <dc:date>2019-03-15T16:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a query (filter) on vocaburay entries</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-query-filter-on-vocaburay-entries/m-p/328018#M15019</link>
      <description>&lt;P&gt;Have a look at Directory.Projection&lt;/P&gt;
&lt;P&gt;&lt;A href="http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20DM-8.2/viewOperation/Directory.Projection" target="test_blank"&gt;http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20DM-8.2/viewOperation/Directory.Projection&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:04:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-query-filter-on-vocaburay-entries/m-p/328018#M15019</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2019-03-15T16:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a query (filter) on vocaburay entries</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-query-filter-on-vocaburay-entries/m-p/328019#M15020</link>
      <description>&lt;P&gt;Thank you for your answer (and operation seems to be the right way !) but i think to use Directory.SuggestEntries with a filter.&lt;/P&gt;
&lt;P&gt;For example :&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;curl -X POST 'https://demo.nuxeo.com/nuxeo/site/automation/Directory.SuggestEntries' -H 'X-Authentication-Token: 29f5cece-f25d-425c-a6f1-a528a776fe59' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'X-NXVoidOperation: false' -d '{"params":{"directoryName":"country","filters":"obsolete=0"},"context":{}}'&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 17:34:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-query-filter-on-vocaburay-entries/m-p/328019#M15020</guid>
      <dc:creator>pnux_</dc:creator>
      <dc:date>2019-03-15T17:34:31Z</dc:date>
    </item>
  </channel>
</rss>

