<?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: REST API to get content of a specific version of a file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295236#M248366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that this ReST API is currently only supported against an Alfresco 5.2 EA installation. A GA release of Alfresco 5.2 may occur this month.&lt;/P&gt;&lt;P&gt;If you want to access an older version of Alfresco you should check the URL index for internal ReST APIs via /alfresco/service/index for an appropriate operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2016 14:48:19 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2016-12-12T14:48:19Z</dc:date>
    <item>
      <title>REST API to get content of a specific version of a file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295234#M248364</link>
      <description>Hi,Is there any REST API which returns the content of a specific version of a file? I am using&amp;nbsp;/alfresco/service/api/node/content/workspace/SpacesStore/&amp;lt;id&amp;gt; API to get the content of the latest version, but didnt find any API which returns content for only a specific version which might not be</description>
      <pubDate>Mon, 12 Dec 2016 12:28:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295234#M248364</guid>
      <dc:creator>anant</dc:creator>
      <dc:date>2016-12-12T12:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get content of a specific version of a file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295235#M248365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check if&amp;nbsp;&lt;A href="https://community.alfresco.com/community/ecm/blog/2016/11/11/v1-rest-api-part-5-versioning-locking" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/community/ecm/blog/2016/11/11/v1-rest-api-part-5-versioning-locking&lt;/A&gt;&amp;nbsp; is what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 12:45:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295235#M248365</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-12T12:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get content of a specific version of a file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295236#M248366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that this ReST API is currently only supported against an Alfresco 5.2 EA installation. A GA release of Alfresco 5.2 may occur this month.&lt;/P&gt;&lt;P&gt;If you want to access an older version of Alfresco you should check the URL index for internal ReST APIs via /alfresco/service/index for an appropriate operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 14:48:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295236#M248366</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-12-12T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get content of a specific version of a file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295237#M248367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kayne for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried with the APIs mentioned in the post, but didnt work. Not sure if they are available for the version that i am using, i.e 5.0d community version.&lt;/P&gt;&lt;P&gt;Got the below&amp;nbsp;output:&lt;/P&gt;&lt;P&gt;REST URL:&amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versions/1.0/content" title="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versions/1.0/content" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versi…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OR:&amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/workspace/SpacesStore/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versions/1.0/content" title="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/workspace/SpacesStore/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versions/1.0/content" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/workspace/SpacesStore/c9bc6b23-8673-47ec-b…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output (removed stack trace):&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "error": {&lt;BR /&gt; "errorKey": "Unable to locate resource resource for :nodes versions",&lt;BR /&gt; "statusCode": 400,&lt;BR /&gt; "briefSummary": "11130009 Unable to locate resource resource for :nodes versions",&lt;BR /&gt;&lt;SPAN&gt;"descriptionURL": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://developer.alfresco.com/ErrorsExplained.html#Unable" rel="nofollow noopener noreferrer" target="_blank"&gt;http://developer.alfresco.com/ErrorsExplained.html#Unable&lt;/A&gt;&lt;SPAN&gt; to locate resource resource for :nodes versions"&lt;/SPAN&gt;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried some service API URLs by appending version information to them, but it seems they always return the latest version irrespective of the version that is mentioned in the request&lt;/P&gt;&lt;P&gt;REST URL:&amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versions/1.0/content" title="http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versions/1.0/content" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/c9bc6b23-8673-47ec-b3a3-2f0040f17f58/versi…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 06:53:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295237#M248367</guid>
      <dc:creator>anant</dc:creator>
      <dc:date>2016-12-13T06:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get content of a specific version of a file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295238#M248368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry ,as&amp;nbsp;&lt;A _jive_internal="true" data-avatarid="2617" data-externalid="" data-online="false" data-presence="null" data-userid="73554" data-username="afaust" href="https://community.alfresco.com/people/afaust" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: underline; font-size: 14px;" rel="nofollow noopener noreferrer"&gt;Axel Faust&lt;/A&gt;&amp;nbsp;said your version&amp;nbsp;&amp;nbsp;5.0d &amp;nbsp;might not support this restful api,.&lt;/P&gt;&lt;P&gt;Can you try to use apache chemistry opencmis library or customize your own webscript api.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 07:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295238#M248368</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-13T07:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get content of a specific version of a file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295239#M248369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kayne.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any CMIS API that i can use for this purpose? Trying to browse thru the documentation but didnt find anything yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 06:13:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295239#M248369</guid>
      <dc:creator>anant</dc:creator>
      <dc:date>2016-12-14T06:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get content of a specific version of a file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295240#M248370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please &amp;nbsp;refer to&amp;nbsp;&lt;A class="link-titled" href="https://chemistry.apache.org/docs/cmis-samples/samples/versions/" title="https://chemistry.apache.org/docs/cmis-samples/samples/versions/" rel="nofollow noopener noreferrer"&gt;Working with Versions - Apache Chemistry Samples&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 08:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-get-content-of-a-specific-version-of-a-file/m-p/295240#M248370</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-14T08:04:06Z</dc:date>
    </item>
  </channel>
</rss>

