<?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 Alfresco java sdk get document shared link in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-java-sdk-get-document-shared-link/m-p/13749#M6084</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need to share and unshare the content in alfresco using Rest API,&lt;/P&gt;&lt;P&gt;I read the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#/shared-links/createSharedLink" target="_blank" rel="nofollow noopener noreferrer"&gt;sharedLinks documentation&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;but I don't know how to retrieve the document url I want to share. This endpoint return an object with this properties :&lt;/P&gt;&lt;PRE&gt;{
  "entry": {
    "id": "string",
    "expiresAt": "2022-03-23T18:16:00.603Z",
    "nodeId": "string",
    "name": "string",
    "title": "string",
    "description": "string",
    "modifiedAt": "2022-03-23T18:16:00.603Z",
    "modifiedByUser": {
      "displayName": "string",
      "id": "string"
    },
    "sharedByUser": {
      "displayName": "string",
      "id": "string"
    },
    "content": {
      "mimeType": "string",
      "mimeTypeName": "string",
      "sizeInBytes": 0,
      "encoding": "string"
    },
    "allowableOperations": [
      "string"
    ],
    "allowableOperationsOnTarget": [
      "string"
    ],
    "isFavorite": true,
    "properties": {},
    "aspectNames": [
      "string"
    ],
    "path": {
      "elements": [
        {
          "id": "string",
          "name": "string",
          "nodeType": "string",
          "aspectNames": [
            "string"
          ]
        }
      ],
      "name": "string",
      "isComplete": true
    }
  }
}&lt;/PRE&gt;&lt;P&gt;How can i retrieve the path from the response?&lt;/P&gt;&lt;P&gt;Is there another way to get the effective complete shared link for a document ?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 22:00:39 GMT</pubDate>
    <dc:creator>soungalo</dc:creator>
    <dc:date>2022-03-23T22:00:39Z</dc:date>
    <item>
      <title>Alfresco java sdk get document shared link</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-java-sdk-get-document-shared-link/m-p/13749#M6084</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need to share and unshare the content in alfresco using Rest API,&lt;/P&gt;&lt;P&gt;I read the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#/shared-links/createSharedLink" target="_blank" rel="nofollow noopener noreferrer"&gt;sharedLinks documentation&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;but I don't know how to retrieve the document url I want to share. This endpoint return an object with this properties :&lt;/P&gt;&lt;PRE&gt;{
  "entry": {
    "id": "string",
    "expiresAt": "2022-03-23T18:16:00.603Z",
    "nodeId": "string",
    "name": "string",
    "title": "string",
    "description": "string",
    "modifiedAt": "2022-03-23T18:16:00.603Z",
    "modifiedByUser": {
      "displayName": "string",
      "id": "string"
    },
    "sharedByUser": {
      "displayName": "string",
      "id": "string"
    },
    "content": {
      "mimeType": "string",
      "mimeTypeName": "string",
      "sizeInBytes": 0,
      "encoding": "string"
    },
    "allowableOperations": [
      "string"
    ],
    "allowableOperationsOnTarget": [
      "string"
    ],
    "isFavorite": true,
    "properties": {},
    "aspectNames": [
      "string"
    ],
    "path": {
      "elements": [
        {
          "id": "string",
          "name": "string",
          "nodeType": "string",
          "aspectNames": [
            "string"
          ]
        }
      ],
      "name": "string",
      "isComplete": true
    }
  }
}&lt;/PRE&gt;&lt;P&gt;How can i retrieve the path from the response?&lt;/P&gt;&lt;P&gt;Is there another way to get the effective complete shared link for a document ?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:00:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-java-sdk-get-document-shared-link/m-p/13749#M6084</guid>
      <dc:creator>soungalo</dc:creator>
      <dc:date>2022-03-23T22:00:39Z</dc:date>
    </item>
  </channel>
</rss>

