<?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: Can I use the API to validate a previously manually generated link URL and find out file info? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-I-use-the-API-to-validate-a-previously-manually-generated/m-p/590938#M27497</link>
    <description>&lt;P&gt;Are you referring to Dropbox shared links like "&lt;A href="https://www.dropbox.com/s/" target="_blank"&gt;https://www.dropbox.com/s/&lt;/A&gt;..." or ""&lt;A href="https://www.dropbox.com/sh/" target="_blank"&gt;https://www.dropbox.com/sh/&lt;/A&gt;..."? The Dropbox API does offer an endpoint for retrieving the metadata for shared links like this: &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata" target="_self"&gt;/2/sharing/get_shared_link_metadata&lt;/A&gt;. You can see the information it returns under the "RETURNS" section. Note that some fields will only be returned if the access token used for the call is for the same account as the one that owns the supplied shared link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox also offers &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;an official Java SDK&lt;/A&gt;, with corresponding &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/sharing/DbxUserSharingRequests.html#getSharedLinkMetadata(java.lang.String)" target="_self"&gt;getSharedLinkMetadata&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/sharing/DbxUserSharingRequests.html#getSharedLinkMetadataBuilder(java.lang.String)" target="_self"&gt;getSharedLinkMetadataBuilder&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 11:49:51 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-04-15T11:49:51Z</dc:date>
    <item>
      <title>Can I use the API to validate a previously manually generated link URL and find out file info?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-I-use-the-API-to-validate-a-previously-manually-generated/m-p/590856#M27493</link>
      <description>&lt;P&gt;Over the last several years a group of people have loaded files into Dropbox, manually copied a link to that file from Dropbox browser and stored the link in an external database.&amp;nbsp; Now we have over 700 entries in the database.&amp;nbsp; Some of the links are no longer valid (the dropbox file was deleted) and some are in the wrong directory on Dropbox.&amp;nbsp; And we're continuing to add files and generate links, complete with new human-caused errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for a programmatic way to validate that each link points to a valid Dropbox file, and get the name and parent directory of the Dropbox file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've discovered the Dropbox API, but can't tell if there is a function that will let me supply a link and get back the above data.&amp;nbsp; From reading the documentation it looks to me like FileMetadata and FileMetadata.builder might be what I'm looking for, but I can't tell for sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a retired Java programmer and it will be a significant effort for me to get back up to speed with Java, Github, Maven, etc.&amp;nbsp; I'm willing to do this, but before doing so I'd like to have some confidence that what I need is there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone offer some advice on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 07:39:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-I-use-the-API-to-validate-a-previously-manually-generated/m-p/590856#M27493</guid>
      <dc:creator>Bitbucket</dc:creator>
      <dc:date>2022-04-29T07:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the API to validate a previously manually generated link URL and find out file info?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-I-use-the-API-to-validate-a-previously-manually-generated/m-p/590938#M27497</link>
      <description>&lt;P&gt;Are you referring to Dropbox shared links like "&lt;A href="https://www.dropbox.com/s/" target="_blank"&gt;https://www.dropbox.com/s/&lt;/A&gt;..." or ""&lt;A href="https://www.dropbox.com/sh/" target="_blank"&gt;https://www.dropbox.com/sh/&lt;/A&gt;..."? The Dropbox API does offer an endpoint for retrieving the metadata for shared links like this: &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata" target="_self"&gt;/2/sharing/get_shared_link_metadata&lt;/A&gt;. You can see the information it returns under the "RETURNS" section. Note that some fields will only be returned if the access token used for the call is for the same account as the one that owns the supplied shared link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox also offers &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;an official Java SDK&lt;/A&gt;, with corresponding &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/sharing/DbxUserSharingRequests.html#getSharedLinkMetadata(java.lang.String)" target="_self"&gt;getSharedLinkMetadata&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/sharing/DbxUserSharingRequests.html#getSharedLinkMetadataBuilder(java.lang.String)" target="_self"&gt;getSharedLinkMetadataBuilder&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 11:49:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-I-use-the-API-to-validate-a-previously-manually-generated/m-p/590938#M27497</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-04-15T11:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the API to validate a previously manually generated link URL and find out file info?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-I-use-the-API-to-validate-a-previously-manually-generated/m-p/591121#M27500</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; I won't be able to dig into it for a week or two, but will take a look at it.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2022 18:17:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-I-use-the-API-to-validate-a-previously-manually-generated/m-p/591121#M27500</guid>
      <dc:creator>Bitbucket</dc:creator>
      <dc:date>2022-04-16T18:17:11Z</dc:date>
    </item>
  </channel>
</rss>

