<?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: Including a documents extra metadata in the API response in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/including-a-documents-extra-metadata-in-the-api-response/m-p/317291#M4292</link>
    <description>&lt;P&gt;Hello, sorry for the late answer. But you just have to add the X-NXDocumentProperties header and fill it with a coma separated list of the schema you want to include in the response.&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2014 19:51:14 GMT</pubDate>
    <dc:creator>Damien_Metzler</dc:creator>
    <dc:date>2014-05-27T19:51:14Z</dc:date>
    <item>
      <title>Including a documents extra metadata in the API response</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/including-a-documents-extra-metadata-in-the-api-response/m-p/317290#M4291</link>
      <description>&lt;P&gt;I've successfully installed the example package from &lt;A href="http://doc.nuxeo.com/display/public/NXDOC58/How+to+configure+document+types%2C+actions+and+automation+chains"&gt;this recipe&lt;/A&gt; in the dev cookbook and now I want the extra meta data field that is defined in the section "Extension of meta data" to appear in the JSON response when I hit &lt;CODE&gt;/id/{docId}/&lt;/CODE&gt; from the API.&lt;/P&gt;
&lt;P&gt;At the moment I only seem to be getting the standard JSON response:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;{
  "entity-type": "document",
  "repository": "default",
  "uid": "ca7362a7-0645-4887-a8af-c98e956bb87e",
  "path": "/default-domain/workspaces/Test workspace/Some thing/Untitled.1400776750970/Untitled/Untitled",
  "type": "DevCookbookExamplePapProcessRequestForm",
  "state": "undefined",
  "versionLabel": "1.0",
  "isCheckedOut": false,
  "title": "customer_form",
  "lastModified": "2014-05-22T16:48:54.00Z",
  "facets": [
    "Versionable"
  ],
  "changeToken": "1400777334000",
  "contextParameters": {}
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do I need to extend the API somehow to tell Nuxeo to include the &lt;CODE&gt;vehicle_type&lt;/CODE&gt; in the JSON response?&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2014 10:51:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/including-a-documents-extra-metadata-in-the-api-response/m-p/317290#M4291</guid>
      <dc:creator>Chris_McKinnel</dc:creator>
      <dc:date>2014-05-23T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Including a documents extra metadata in the API response</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/including-a-documents-extra-metadata-in-the-api-response/m-p/317291#M4292</link>
      <description>&lt;P&gt;Hello, sorry for the late answer. But you just have to add the X-NXDocumentProperties header and fill it with a coma separated list of the schema you want to include in the response.&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2014 19:51:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/including-a-documents-extra-metadata-in-the-api-response/m-p/317291#M4292</guid>
      <dc:creator>Damien_Metzler</dc:creator>
      <dc:date>2014-05-27T19:51:14Z</dc:date>
    </item>
  </channel>
</rss>

