<?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: Subject Json Format on Rest API in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/subject-json-format-on-rest-api/m-p/314737#M1738</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;the dc:subjects property is an array of string, so you just have to use the JSON array notation like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;"dc:subject":["art","litterature"]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to see what is the correct representation for other types, you can change the data in nuxeo DM and query the doc with the REST API : then you'll get the correct format&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2014 16:55:07 GMT</pubDate>
    <dc:creator>Damien_Metzler</dc:creator>
    <dc:date>2014-05-28T16:55:07Z</dc:date>
    <item>
      <title>Subject Json Format on Rest API</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/subject-json-format-on-rest-api/m-p/314736#M1737</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to make a call onto the REST API to create some documents but I am unsure what format I should provide for the subjects (the only examples I can find online are empty lists, like the one below).&lt;/P&gt;
&lt;P&gt;"properties": {&lt;BR /&gt; /&amp;gt;
"dc:title": "title",
"dc:description":"Description",
"dc:subjects": []&lt;BR /&gt; /&amp;gt;
}&lt;/P&gt;
&lt;P&gt;Can you please provide me with the format to populate subjects?&lt;/P&gt;
&lt;P&gt;Thanks,
Lynn&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2014 10:54:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/subject-json-format-on-rest-api/m-p/314736#M1737</guid>
      <dc:creator>Lynn_</dc:creator>
      <dc:date>2014-05-28T10:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Subject Json Format on Rest API</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/subject-json-format-on-rest-api/m-p/314737#M1738</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;the dc:subjects property is an array of string, so you just have to use the JSON array notation like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;"dc:subject":["art","litterature"]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to see what is the correct representation for other types, you can change the data in nuxeo DM and query the doc with the REST API : then you'll get the correct format&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2014 16:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/subject-json-format-on-rest-api/m-p/314737#M1738</guid>
      <dc:creator>Damien_Metzler</dc:creator>
      <dc:date>2014-05-28T16:55:07Z</dc:date>
    </item>
  </channel>
</rss>

