<?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: api for document view in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85797#M25994</link>
    <description>&lt;P&gt;i have tried the api for renderation content-&lt;/P&gt;&lt;P&gt;&lt;A href="https://----.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/3268c9f0-1473-4913-8f21-ad8ca7f567f4/renditions/pdf/content?attachment=false&amp;amp;placeholder=false" target="_blank" rel="nofollow noopener noreferrer"&gt;https://----.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/3268c9f0-1473-4913-8f21-ad8ca7f567f4/renditions/pdf/content?attachment=false&amp;amp;placeholder=false&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but its showing below error-&lt;/P&gt;&lt;PRE&gt;{"error":{"errorKey":"Thumbnail was not found for [pdf]","statusCode":404,"briefSummary":"0623812230 Thumbnail was not found for [pdf]","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}}&lt;/PRE&gt;&lt;P&gt;kindly suggest!&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2020 10:04:46 GMT</pubDate>
    <dc:creator>aishu</dc:creator>
    <dc:date>2020-07-23T10:04:46Z</dc:date>
    <item>
      <title>api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85794#M25991</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I need a api for display an document from site.&lt;/P&gt;&lt;P&gt;i have reffered the below api -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{id}/renditions/{renditionId}/content&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but i am not understood how to get renditionid of document.&lt;/P&gt;&lt;P&gt;Kinldy suggest!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Aishu.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 07:46:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85794#M25991</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-07-23T07:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85795#M25992</link>
      <description>&lt;P&gt;You get the IDs of renditions by first querying the &lt;SPAN class="path"&gt;&lt;A class="toggleOperation " href="https://api-explorer.alfresco.com/api-explorer/#!/renditions/listRenditions" target="_self" rel="nofollow noopener noreferrer"&gt;listRenditions API&lt;/A&gt; &lt;/SPAN&gt;&lt;SPAN class="path"&gt;(.../nodes/{id}/renditions)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 08:14:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85795#M25992</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2020-07-23T08:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85796#M25993</link>
      <description>&lt;P&gt;dear afaust,&lt;/P&gt;&lt;P&gt;i have refered this link,&lt;/P&gt;&lt;P&gt;as per api the document in the form of pdf so i have mentioned renditionid = pdf.&lt;/P&gt;&lt;P&gt;&lt;A href="https://dms.ahi-carrier.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/3268c9f0-1473-4913-8f21-ad8ca7f567f4/renditions/doclib" target="_blank" rel="nofollow noopener noreferrer"&gt;https://alfrescosite-domain name/alfresco/api/-default-/public/alfresco/versions/1/nodes/3268c9f0-1473-4913-8f21-ad8ca7f567f4/renditions/pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but its showing below error&lt;/P&gt;&lt;PRE&gt;{"error":{"errorKey":"pdf is not applicable for the node's mimeType application/pdf","statusCode":404,"briefSummary":"0623809817 pdf is not applicable for the node's mimeType application/pdf","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}}&lt;/PRE&gt;&lt;P&gt;kindly suggest on this.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 09:54:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85796#M25993</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-07-23T09:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85797#M25994</link>
      <description>&lt;P&gt;i have tried the api for renderation content-&lt;/P&gt;&lt;P&gt;&lt;A href="https://----.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/3268c9f0-1473-4913-8f21-ad8ca7f567f4/renditions/pdf/content?attachment=false&amp;amp;placeholder=false" target="_blank" rel="nofollow noopener noreferrer"&gt;https://----.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/3268c9f0-1473-4913-8f21-ad8ca7f567f4/renditions/pdf/content?attachment=false&amp;amp;placeholder=false&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but its showing below error-&lt;/P&gt;&lt;PRE&gt;{"error":{"errorKey":"Thumbnail was not found for [pdf]","statusCode":404,"briefSummary":"0623812230 Thumbnail was not found for [pdf]","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}}&lt;/PRE&gt;&lt;P&gt;kindly suggest!&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 10:04:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85797#M25994</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-07-23T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85798#M25995</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/10902"&gt;@aishu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you may need to check which renditions are available for your&amp;nbsp;&lt;STRONG&gt;nodeID&lt;/STRONG&gt;, pick the &lt;STRONG&gt;renditionID&lt;/STRONG&gt;&amp;nbsp;you want (if status=CREATED) or request it (if status=NOT_CREATED), and finally get the rendition content using the&amp;nbsp;nodeID and&amp;nbsp;renditionID.&lt;/P&gt;&lt;P&gt;Back to your original question: you'll find the &lt;STRONG&gt;renditionID&lt;/STRONG&gt; in the response from L&lt;SPAN&gt;ist Renditions&lt;/SPAN&gt;&amp;nbsp;as &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt; mentioned.&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;So in the Response Body snippet below, &lt;FONT face="courier new,courier"&gt;avatar&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;doclib&lt;/FONT&gt;, &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;imgpreview &lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class="s1"&gt;and &lt;FONT face="courier new,courier"&gt;pdf&lt;/FONT&gt; are valid&amp;nbsp;parameters.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{
  "list": {
    "pagination": {
      "count": 7,
      "hasMoreItems": false,
      "totalItems": 7,
      "skipCount": 0,
      "maxItems": 100
    },
    "entries": [
      {
        "entry": {
          "id": "avatar",
          "content": {
            "mimeType": "image/png",
            "mimeTypeName": "PNG Image",
            "sizeInBytes": 1387,
            "encoding": "UTF-8"
          },
          "status": "CREATED"
        }
      },
      ...
      {
        "entry": {
          "id": "doclib",
          "content": {
            "mimeType": "image/png",
            "mimeTypeName": "PNG Image",
            "sizeInBytes": 2388,
            "encoding": "UTF-8"
          },
          "status": "CREATED"
        }
      },
      {
        "entry": {
          "id": "imgpreview",
          "content": {
            "mimeType": "image/jpeg",
            "mimeTypeName": "JPEG Image"
          },
          "status": "NOT_CREATED"
        }
      },
      ...
      {
        "entry": {
          "id": "pdf",
          "content": {
            "mimeType": "application/pdf",
            "mimeTypeName": "Adobe PDF Document",
            "sizeInBytes": 22800,
            "encoding": "UTF-8"
          },
          "status": "CREATED"
        }
      },
      ...
    ]
  }
}&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I cropped out three renditions in the above response.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 15:05:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85798#M25995</guid>
      <dc:creator>adelaidenx</dc:creator>
      <dc:date>2020-07-23T15:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85799#M25996</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/10902"&gt;@aishu&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I think you may need to check which renditions are available for your&amp;nbsp;&lt;STRONG&gt;nodeID&lt;/STRONG&gt;, pick the &lt;STRONG&gt;renditionID&lt;/STRONG&gt;&amp;nbsp;you want (if status=CREATED) or request it (if status=NOT_CREATED), and finally get the rendition content using the&amp;nbsp;nodeID and&amp;nbsp;renditionID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Back to your original question: you'll find the &lt;STRONG&gt;renditionID&lt;/STRONG&gt; in the response from 'listRenditions'&amp;nbsp;as mentioned by &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;So in the Response Body snippet below, avatar, doclib, &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;imgpreview &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;and pdf are valid&amp;nbsp;parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{
&amp;nbsp; "list": {
&amp;nbsp; &amp;nbsp; "pagination": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; "count": 7,
&amp;nbsp; &amp;nbsp; &amp;nbsp; "hasMoreItems": false,
&amp;nbsp; &amp;nbsp; &amp;nbsp; "totalItems": 7,
&amp;nbsp; &amp;nbsp; &amp;nbsp; "skipCount": 0,
&amp;nbsp; &amp;nbsp; &amp;nbsp; "maxItems": 100
&amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; "entries": [
&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "entry": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "avatar",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "content": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeType": "image/png",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeTypeName": "PNG Image",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "sizeInBytes": 1387,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "encoding": "UTF-8"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "status": "CREATED"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "entry": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "doclib",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "content": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeType": "image/png",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeTypeName": "PNG Image",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "sizeInBytes": 2388,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "encoding": "UTF-8"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "status": "CREATED"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "entry": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "imgpreview",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "content": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeType": "image/jpeg",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeTypeName": "JPEG Image"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "status": "NOT_CREATED"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "entry": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "pdf",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "content": {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeType": "application/pdf",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "mimeTypeName": "Adobe PDF Document",
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "sizeInBytes": 22800,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "encoding": "UTF-8"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "status": "CREATED"
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; },
&amp;nbsp; &amp;nbsp; ]
&amp;nbsp; }
}&lt;/PRE&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I cropped out three renditions in the above response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s1"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 15:32:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85799#M25996</guid>
      <dc:creator>adelaidenx</dc:creator>
      <dc:date>2020-07-23T15:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85800#M25997</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Alfresco-Employee lia-component-message-view-widget-author-username"&gt;&lt;SPAN class="login-bold"&gt;adelaidenx&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Alfresco-Employee lia-component-message-view-widget-author-username"&gt;&lt;SPAN class="login-bold"&gt;I have tried for get renditions using api- get /nodes/{nodeId}/renditions&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Alfresco-Employee lia-component-message-view-widget-author-username"&gt;&lt;SPAN class="login-bold"&gt;but unable to get correct output.its not showing entries.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Alfresco-Employee lia-component-message-view-widget-author-username"&gt;&lt;SPAN class="login-bold"&gt;kindly suggest!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;{"list":{"pagination":{"count":0,"hasMoreItems":false,"totalItems":0,"skipCount":0,"maxItems":100},"entries":[]}}&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aishu.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 05:57:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85800#M25997</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-07-24T05:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85801#M25998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/10902"&gt;@aishu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What response message (HTTP status code) are you getting?&lt;/P&gt;&lt;P&gt;These codes are documented in the &lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/renditions/listRenditions" target="_blank" rel="noopener nofollow noreferrer"&gt;List renditions: REST&amp;nbsp;API Explorer&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 08:48:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85801#M25998</guid>
      <dc:creator>adelaidenx</dc:creator>
      <dc:date>2020-07-24T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85802#M25999</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/50191"&gt;@adelaidenx&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;i have followed same codes mentioned in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/renditions/listRenditions" target="_blank" rel="noopener nofollow noreferrer"&gt;List renditions: REST&amp;nbsp;API Explorer&lt;/A&gt;&lt;SPAN&gt;..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but no data or content present in entries- response header.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;refer attached image.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/764i2B1A8318771FDBD0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 09:00:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85802#M25999</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-07-24T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85803#M26000</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/10902"&gt;@aishu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it looks like no renditions are listed for that node where status=CREATED.&lt;/P&gt;&lt;P&gt;What happens if you remove the status in the url?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 12:05:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85803#M26000</guid>
      <dc:creator>adelaidenx</dc:creator>
      <dc:date>2020-07-24T12:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85804#M26001</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/50191"&gt;@adelaidenx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i remove status from url then also same output is displayed.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 13:43:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85804#M26001</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-07-24T13:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85805#M26002</link>
      <description>&lt;P&gt;Hii&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/10902"&gt;@aishu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use out-of-the-box API for Get Content :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost:8080/alfresco/s/api/node/content%7Bproperty%7D/%7Bstore_type%7D/%7Bstore_id%7D/%7Bid%7D?a={attach?}" target="_blank" rel="noopener nofollow noreferrer"&gt;/alfresco/s/api/node/content/{store_type}/{store_id}/{id}?a={attach?}&lt;/A&gt; which will gets the content stream of specified document.&lt;/P&gt;&lt;P&gt;where store_type=workspace,store_id=SpacesStore&lt;/P&gt;&lt;P&gt;id is node_uuid of document that you want. and a is boolean parameter if a=true then it will download your content and if a=false then if document is pdf or image you can see preview of that document on browser.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 07:04:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85805#M26002</guid>
      <dc:creator>harsh_thakkar</dc:creator>
      <dc:date>2020-07-27T07:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85806#M26003</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/75952"&gt;@harsh_thakkar&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;we are trying to capture view share public link without authentication.&lt;/P&gt;&lt;P&gt;example-&amp;nbsp;&lt;U&gt;&lt;A href="http://alfresco.domain.com:---/share/s/lkZtI9VIQOmelK9--EmFJg" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco.domain.com:---/share/s/lkZtI9VIQOmelK9--EmFJg&lt;/A&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;could you please sugegst us how can we get this document/node ref id from database using query.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Aishu&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 08:15:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85806#M26003</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-08-04T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85807#M26004</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/10902"&gt;@aishu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For view share public link you need to share that document so later you can get sharable link as you showed.&lt;/P&gt;&lt;P&gt;So for creating shared link you need to call API which will give you sharedId and after that you can add that sharedId in the format&amp;nbsp;&lt;U&gt;&lt;A href="http://alfresco.domain.com:---/share/s/lkZtI9VIQOmelK9--EmFJg" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco.domain.com:---/share/s/{sharedId}&amp;nbsp;&lt;/A&gt;&lt;/U&gt;&lt;U&gt;to access view without authentication.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;For creating shared link please refer&amp;nbsp;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/shared-links/createSharedLink" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#!/shared-links/createSharedLink&lt;/A&gt;&amp;nbsp;.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;In this API you need to pass nodeId of node that you want to view share public link and in response you will get sharedId.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Or you can also use following API which also returns sharedId and take parameters for particular node.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;A href="http://localhost:8080/alfresco/s/api/internal/shared/share/%7Bstore_protocol%7D/%7Bstore_id%7D/%7Bnode_id%7D" target="_blank" rel="noopener nofollow noreferrer"&gt;POST /alfresco/s/api/internal/shared/share/{store_protocol}/{store_id}/{node_id}&lt;/A&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 11:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85807#M26004</guid>
      <dc:creator>harsh_thakkar</dc:creator>
      <dc:date>2020-08-05T11:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85808#M26005</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/75952"&gt;@harsh_thakkar&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I have tried the api as you have mentioned in the previous mail.&lt;/P&gt;&lt;P&gt;&lt;A href="http://114.143.208.237:5789/alfresco/api/-default-/public/alfresco/versions/1/shared-links?skipCount=0&amp;amp;maxItems=1000" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco.domain.com/alfresco/api/-default-/public/alfresco/versions/1/shared-links?skipCount=0&amp;amp;maxItems=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but we are getting only 29 records as result.&lt;/P&gt;&lt;P&gt;Is there is api based on site filter? so we get share id of all document from particular site?&lt;/P&gt;&lt;P&gt;kindly suggest on this!&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Aishu.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 08:28:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85808#M26005</guid>
      <dc:creator>aishu</dc:creator>
      <dc:date>2020-08-06T08:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: api for document view</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85809#M26006</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/10902"&gt;@aishu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you have used that "List shared links" API which will returns records of all documents that are shared.&lt;/P&gt;&lt;P&gt;You got only 29 records as result because only those number of documents are shared.&lt;/P&gt;&lt;P&gt;So either you have to share documents through interface or through API which I have provided to you "Create a shared link for file" then you will get maximum records.&lt;/P&gt;&lt;P&gt;And I am not sure about site filter in that "List Shared links" API.&lt;/P&gt;&lt;P&gt;You can check at&amp;nbsp;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/shared-links/listSharedLinks" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#!/shared-links/listSharedLinks&lt;/A&gt;&amp;nbsp;for more information.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 05:31:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/api-for-document-view/m-p/85809#M26006</guid>
      <dc:creator>harsh_thakkar</dc:creator>
      <dc:date>2020-08-07T05:31:28Z</dc:date>
    </item>
  </channel>
</rss>

