<?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: How to implement testConnection method for dropbox instance in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-implement-testConnection-method-for-dropbox-instance/m-p/602002#M27966</link>
    <description>&lt;P&gt;Dropbox doesn't offer a specific mechanism for testing the API exactly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to check that your app has the ability to make API calls though, you can technically use any endpoint that the app/access token is allowed to call to see if the call fails or not, but &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#check-user" rel="noopener noreferrer" target="_blank"&gt;/2/check/user&lt;/A&gt; or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account" rel="noopener noreferrer" target="_blank"&gt;/2/users/get_current_account&lt;/A&gt; in particular are good options for this, since they don't have any side effects. Those are &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/check/DbxUserCheckRequests.html#user()" target="_self"&gt;DbxUserCheckRequests.user&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/users/DbxUserUsersRequests.html#getCurrentAccount()" target="_self"&gt;DbxUserUsersRequests.getCurrentAccount&lt;/A&gt;, respectively, in the &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;Dropbox Java SDK&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 14:22:33 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-06-08T14:22:33Z</dc:date>
    <item>
      <title>How to implement testConnection method for dropbox instance</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-implement-testConnection-method-for-dropbox-instance/m-p/601956#M27964</link>
      <description>&lt;P&gt;we want to implement method for testConnection(), before start anything on dropbox we want check connection is happening or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically we want to implement testConnection in java, please help us with way or step to check connection or get connection&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 13:18:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-implement-testConnection-method-for-dropbox-instance/m-p/601956#M27964</guid>
      <dc:creator>sanjeev_hansanur1</dc:creator>
      <dc:date>2022-06-08T13:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement testConnection method for dropbox instance</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-implement-testConnection-method-for-dropbox-instance/m-p/602002#M27966</link>
      <description>&lt;P&gt;Dropbox doesn't offer a specific mechanism for testing the API exactly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to check that your app has the ability to make API calls though, you can technically use any endpoint that the app/access token is allowed to call to see if the call fails or not, but &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#check-user" rel="noopener noreferrer" target="_blank"&gt;/2/check/user&lt;/A&gt; or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account" rel="noopener noreferrer" target="_blank"&gt;/2/users/get_current_account&lt;/A&gt; in particular are good options for this, since they don't have any side effects. Those are &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/check/DbxUserCheckRequests.html#user()" target="_self"&gt;DbxUserCheckRequests.user&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/users/DbxUserUsersRequests.html#getCurrentAccount()" target="_self"&gt;DbxUserUsersRequests.getCurrentAccount&lt;/A&gt;, respectively, in the &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;Dropbox Java SDK&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 14:22:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-implement-testConnection-method-for-dropbox-instance/m-p/602002#M27966</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-06-08T14:22:33Z</dc:date>
    </item>
  </channel>
</rss>

