<?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: converting form API1 to API 2 on Power Query in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244914#M13843</link>
    <description>Hi Mike, you don't need to delete/recreate the app itself. You can just unlink the app here using the 'x' for the app:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/account/connected_apps" target="_blank"&gt;https://www.dropbox.com/account/connected_apps&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That will revoke all of the access tokens for that app on your account. You can then get a new access token for that app on your account, by relinking the app to your account the same way you did originally.</description>
    <pubDate>Tue, 03 Oct 2017 15:51:28 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-10-03T15:51:28Z</dc:date>
    <item>
      <title>converting form API1 to API 2 on Power Query</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244445#M13756</link>
      <description>&lt;P&gt;I have been using API1 to pull individual files inot Excel Power Query using the syntax below. Can anyone help with correct syntax under API2 please? &amp;nbsp;My whole company reporting collapsed overnight. Thisiis my old path&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api-content.dropbox.com/1/files/auto/DataModel/SourceFiles/Dates.xlsx?access_token=&amp;lt;ACCESS_TOKEN_REDACTED&amp;gt;" target="_self"&gt;https://api-content.dropbox.com/1/files/auto/DataModel/SourceFiles/Dates.xlsx?access_token=&amp;lt;ACCESS_TOKEN_REDACTED&amp;gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DataModel is a folder at the top of dropbox not an App folder as you can't share those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Really appreciate any help as not a developer so don't understand the detial of the code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 17:11:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244445#M13756</guid>
      <dc:creator>masplin</dc:creator>
      <dc:date>2020-05-29T17:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: converting form API1 to API 2 on Power Query</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244721#M13790</link>
      <description>&lt;P&gt;Hi Mike, it looks like you were using the API v1 /files endpoint to download the file content. In API v2, the replacement is &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/files/download&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The standard way of using that endpoint is via a POST with 'Authorization' and 'Dropbox-API-Arg' headers, as shown in the example in the documentation in the "&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#formats" target="_self"&gt;Request and response formats&lt;/A&gt;" section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to be able to just make a GET to it instead though, that is also supported by using the URL parameters documented&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, using&amp;nbsp;the example you posted, that would look like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://content.dropboxapi.com/2/files/download?authorization=Bearer%20ACCESS_TOKEN_HERE&amp;amp;arg=%7B%22path%22%3A%22%2FDataModel%2FSourceFiles%2FDates.xlsx%22%7D&lt;/PRE&gt;
&lt;P&gt;Replace&amp;nbsp;ACCESS_TOKEN_HERE with your access token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, I redacted it from your post, but since you initially posted your access token, f&lt;SPAN style="font-family: inherit;"&gt;or the sake of security, you should disable that access token. You can do so by revoking access to the app entirely, if the access token is for your account on &lt;A href="https://www.dropbox.com/account/security" target="_self"&gt;the account security page&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;Or, you can &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke" target="_self"&gt;disable just this access token using the API&lt;/A&gt;. You would need to then get a new access token and plug that in to your app instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, if you need more time to migrate your app to API v2, we can offer an extension for access to API v1. To request that, please &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;open an API ticket&lt;/A&gt; with the relevant app key(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 17:59:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244721#M13790</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-02T17:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: converting form API1 to API 2 on Power Query</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244786#M13820</link>
      <description>&lt;P&gt;That was a bit stupid of me. So do I just delete the app by going to conencted app and then remove the linked app? Then recreate it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 21:36:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244786#M13820</guid>
      <dc:creator>masplin</dc:creator>
      <dc:date>2017-10-02T21:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: converting form API1 to API 2 on Power Query</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244914#M13843</link>
      <description>Hi Mike, you don't need to delete/recreate the app itself. You can just unlink the app here using the 'x' for the app:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/account/connected_apps" target="_blank"&gt;https://www.dropbox.com/account/connected_apps&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That will revoke all of the access tokens for that app on your account. You can then get a new access token for that app on your account, by relinking the app to your account the same way you did originally.</description>
      <pubDate>Tue, 03 Oct 2017 15:51:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244914#M13843</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-03T15:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: converting form API1 to API 2 on Power Query</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244933#M13850</link>
      <description>&lt;P&gt;got it thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 16:47:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/converting-form-API1-to-API-2-on-Power-Query/m-p/244933#M13850</guid>
      <dc:creator>masplin</dc:creator>
      <dc:date>2017-10-03T16:47:06Z</dc:date>
    </item>
  </channel>
</rss>

