<?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: Is there programatical way to know that shared link is link for deleted file? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197687#M9116</link>
    <description>&lt;P&gt;For to use get_shared_link_metadata the access token is needed. Recipient of shared link cannot know access token of file owner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there way to get metadata of shared link without specifying access token?&lt;/P&gt;&lt;P&gt;If this is not possible at current time then, may be, it can be changed?&lt;/P&gt;&lt;P&gt;(Possibility to get metadata of shared link on side of recipient can be useful for some application. And it seems this does not violate security as anyway link allows to get content of file)&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 07:35:49 GMT</pubDate>
    <dc:creator>AlexK</dc:creator>
    <dc:date>2016-12-14T07:35:49Z</dc:date>
    <item>
      <title>Is there programatical way to know that shared link is link for deleted file?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197633#M9107</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;There is shared link for file. If file is deleted then link returns Dropbox page with message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That file isn’t here anymore&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And returned HTTP status for request is 200. For example&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/pg29qcvw190eupr/%231111-11.jpg?raw=1" target="_blank"&gt;https://www.dropbox.com/s/pg29qcvw190eupr/%231111-11.jpg?raw=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be, this is good for user. But this does not allow to know programatically that file is absent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there way having shared link to know programatically that file was deleted?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:27:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197633#M9107</guid>
      <dc:creator>AlexK</dc:creator>
      <dc:date>2019-05-29T09:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there programatical way to know that shared link is link for deleted file?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197637#M9109</link>
      <description>&lt;P&gt;The shared link itself isn't a good interface for this unfortunately, as it will return a 200 showing an HTML error page for the user, as you noted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, I&amp;nbsp;recommend using the API. You can use the&amp;nbsp;/2/sharing/get_shared_link_metadata endpoint to get information about a shared link:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the link is still active, you'll get the metadata back. If the file or folder has been deleted, you'll get a 409 with a&amp;nbsp;shared_link_not_found error.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 21:37:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197637#M9109</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-13T21:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there programatical way to know that shared link is link for deleted file?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197687#M9116</link>
      <description>&lt;P&gt;For to use get_shared_link_metadata the access token is needed. Recipient of shared link cannot know access token of file owner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there way to get metadata of shared link without specifying access token?&lt;/P&gt;&lt;P&gt;If this is not possible at current time then, may be, it can be changed?&lt;/P&gt;&lt;P&gt;(Possibility to get metadata of shared link on side of recipient can be useful for some application. And it seems this does not violate security as anyway link allows to get content of file)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 07:35:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197687#M9116</guid>
      <dc:creator>AlexK</dc:creator>
      <dc:date>2016-12-14T07:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there programatical way to know that shared link is link for deleted file?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197782#M9122</link>
      <description>Unfortunately, that endpoint does require an access token. I'll send this along as a feature request to eliminate that requirement, but I can't make any promises.&lt;BR /&gt;&lt;BR /&gt;For reference though, it doesn't need to be an access token for the owner of the link. It can be any user.</description>
      <pubDate>Wed, 14 Dec 2016 19:08:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-there-programatical-way-to-know-that-shared-link-is-link-for/m-p/197782#M9122</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-14T19:08:03Z</dc:date>
    </item>
  </channel>
</rss>

