<?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: getting file name, size, etc (5.8) in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/getting-file-name-size-etc-5-8/m-p/326936#M13937</link>
    <description>&lt;P&gt;You are right ! The header "X-NXDocumentProperties: *" works perfectly.
Thank you very much.&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2016 11:23:52 GMT</pubDate>
    <dc:creator>philippe_chantr</dc:creator>
    <dc:date>2016-05-18T11:23:52Z</dc:date>
    <item>
      <title>getting file name, size, etc (5.8)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/getting-file-name-size-etc-5-8/m-p/326934#M13935</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;With Nuxeo 5.8, the GET request nuxeo_url/nuxeo/api/v1/id/document_id only gives the following metadata:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;{
   "entity-type" : "documents",
   "entries" : [
      {
         "uid" : "673dd1d6-0b75-4a5a-8454-8abcb0e79c0e",
         "contextParameters" : {},
         "type" : "File",
         "versionLabel" : "0.0",
         "state" : "project",
         "entity-type" : "document",
         "repository" : "default",
         "title" : "MyDoc",
         "lastModified" : "2016-05-12T14:06:35.91Z",
         "path" : "/default-domain/sections/MyDoc",
         "changeToken" : "1463061995910",
         "facets" : [
            "Downloadable",
            "Commentable",
            "Versionable",
            "Publishable",
            "HasRelatedText",
            "Thumbnail"
         ],
         "isCheckedOut" : true
      }
   ]
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Nothing about the main file... In more recent versions of Nuxeo, they are much more informations (such as properties.file:content.name, etc.), but I don't want to upgrade the server now.&lt;/P&gt;
&lt;P&gt;So, how to get the file name, size, md5, etc of the main file attached to a document with webservices in Nuxeo 5.8 ?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 08:50:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/getting-file-name-size-etc-5-8/m-p/326934#M13935</guid>
      <dc:creator>philippe_chantr</dc:creator>
      <dc:date>2016-05-17T08:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: getting file name, size, etc (5.8)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/getting-file-name-size-etc-5-8/m-p/326935#M13936</link>
      <description>&lt;P&gt;Which headers do you send in addition to the GET request? You should send a &lt;CODE&gt;X-NXDocumentProperties&lt;/CODE&gt; or &lt;CODE&gt;X-NXproperties&lt;/CODE&gt; header, see the documentation. The default behavior may have changed in different Nuxeo versions, I'm not sure.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 09:32:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/getting-file-name-size-etc-5-8/m-p/326935#M13936</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-05-18T09:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: getting file name, size, etc (5.8)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/getting-file-name-size-etc-5-8/m-p/326936#M13937</link>
      <description>&lt;P&gt;You are right ! The header "X-NXDocumentProperties: *" works perfectly.
Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 11:23:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/getting-file-name-size-etc-5-8/m-p/326936#M13937</guid>
      <dc:creator>philippe_chantr</dc:creator>
      <dc:date>2016-05-18T11:23:52Z</dc:date>
    </item>
  </channel>
</rss>

