<?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: Where to start in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/575910#M26845</link>
    <description>&lt;P&gt;@Greg-DB&lt;/P&gt;&lt;P&gt;Thank you for your response, I had seen most of the documents you mentioned, i'll make my questions slightly more specific as they were sort of hidden in the story.&lt;/P&gt;&lt;P&gt;The most important part (at this stage as I can guess the answer to some of my more basic questions like 'is there a client library for angular?) is: As stated in my original question we run a multi-tenant system, which means every customer runs on his own sub-domain. This is always an issue with OAUTH2 redirect urls, I saw a request for support of wildcard-domains back in 2015 with a response (by you) but can't find anything else about it. Do you have an idea how to get around this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another route i was thinking of is to let the end user create a shared folder and copy the url into our system, this would negate the requirement for the login, but it would require us to be able to:&lt;/P&gt;&lt;P&gt;1. Mount a shared folder using the API.&lt;/P&gt;&lt;P&gt;2. List files in the shared folder.&lt;/P&gt;&lt;P&gt;3. Rename files in the shared folder.&lt;/P&gt;&lt;P&gt;4. Place a file into the shared folder&lt;/P&gt;&lt;P&gt;Although it feels logical that this should be possible i find it difficult to work out from the documents if this is the case.&lt;/P&gt;&lt;P&gt;Could you maybe let me know if you think each of the above actions would be possible using the API when you just recieve a shared link?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 08:42:39 GMT</pubDate>
    <dc:creator>CySDeveloper</dc:creator>
    <dc:date>2022-02-07T08:42:39Z</dc:date>
    <item>
      <title>Where to start</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/575536#M26830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I hope someone can help me in the right direction.&lt;/P&gt;
&lt;P&gt;We have a cloud-based-multi-tenant-system written in Angular8, c# web on azure. One of the things the system does is automated file processing, for this we want to offer our customers a dropbox app where they can place a file into the app-directory, we use the callback trigger to pick up the file, process it then rename it and place a log file in the same directory.&lt;/P&gt;
&lt;P&gt;I think we can figure out most of the backend processing off the trigger.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But for us to know whose dropbox account is linked to which tenant and for an easy setup we were thinking we could have a one-time authorization (of the dropbox app) by a user from within our angular frontend, retrieve the dropbox userid and store it so later on we know where the user belongs.&lt;/P&gt;
&lt;P&gt;I have been staring at the documentation for a day now and am not capable of working out how to achieve that, how do i get my system setup so I have a button that when clicked the user is diverted to dropbox, he/she immediately authorizes our dropbox app and I get some info back??&lt;/P&gt;
&lt;P&gt;Some pointers in the right direction would be greatily appreciated.&lt;/P&gt;
&lt;P&gt;DJ&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 12:51:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/575536#M26830</guid>
      <dc:creator>CySDeveloper</dc:creator>
      <dc:date>2022-04-27T12:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where to start</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/575585#M26832</link>
      <description>&lt;P&gt;If you haven't already, you may want to start with the Getting Started guide here:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/reference/getting-started" target="_blank"&gt;https://www.dropbox.com/developers/reference/getting-started&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And for information on how to have the user authorize your app so the app can access their account, check out the OAuth Guide and authorization documentation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;https://developers.dropbox.com/oauth-guide&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#authorization&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For information on ways to automatically detect changes as they occur, read the Detecting Changes Guide:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/detecting-changes-guide" target="_blank"&gt;https://developers.dropbox.com/detecting-changes-guide&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And for guidance on how to interact with the filesystem, refer to the File Access Guide:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-file-access-guide&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By the way, we recommend using one one of the official SDKs, if possible. For example, we offer an official SDK for .NET:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-dotnet&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Be sure to refer to the SDK documentation/examples as well if you are using one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 19:38:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/575585#M26832</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-04T19:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where to start</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/575910#M26845</link>
      <description>&lt;P&gt;@Greg-DB&lt;/P&gt;&lt;P&gt;Thank you for your response, I had seen most of the documents you mentioned, i'll make my questions slightly more specific as they were sort of hidden in the story.&lt;/P&gt;&lt;P&gt;The most important part (at this stage as I can guess the answer to some of my more basic questions like 'is there a client library for angular?) is: As stated in my original question we run a multi-tenant system, which means every customer runs on his own sub-domain. This is always an issue with OAUTH2 redirect urls, I saw a request for support of wildcard-domains back in 2015 with a response (by you) but can't find anything else about it. Do you have an idea how to get around this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another route i was thinking of is to let the end user create a shared folder and copy the url into our system, this would negate the requirement for the login, but it would require us to be able to:&lt;/P&gt;&lt;P&gt;1. Mount a shared folder using the API.&lt;/P&gt;&lt;P&gt;2. List files in the shared folder.&lt;/P&gt;&lt;P&gt;3. Rename files in the shared folder.&lt;/P&gt;&lt;P&gt;4. Place a file into the shared folder&lt;/P&gt;&lt;P&gt;Although it feels logical that this should be possible i find it difficult to work out from the documents if this is the case.&lt;/P&gt;&lt;P&gt;Could you maybe let me know if you think each of the above actions would be possible using the API when you just recieve a shared link?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 08:42:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/575910#M26845</guid>
      <dc:creator>CySDeveloper</dc:creator>
      <dc:date>2022-02-07T08:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where to start</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/576102#M26852</link>
      <description>&lt;P&gt;Dropbox still doesn't support wildcards in OAuth 2 redirect URIs. One workaround to this is to instead use one static redirect URI (say, on a particular non-changing domain you control), but encode the necessary information (such as the changing domain) in the 'state' parameter, and decode it as necessary after the redirect back to your app, to handle it as necessary (e.g., to then redirect to the specific domain as needed). You can find more information on the different parameters in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_self"&gt;the documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, since an OAuth 2 redirect URI isn't actually required (as long as you use 'response_type=code', which you should), you can omit the 'redirect_uri' entirely. In that case, the user is presented with an authorization code that they would copy/paste into the app to finish the flow instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the other route you mentioned, the Dropbox API does offer the ability to perform all of the operations you listed (&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-mount_folder" target="_self"&gt;mount&lt;/A&gt;, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;list&lt;/A&gt;, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-move" target="_self"&gt;move/rename&lt;/A&gt;, and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;upload&lt;/A&gt;) in a connected account, but it's not really designed to combine the two types of sharing you mentioned. That is, when the user creates a &lt;A href="https://help.dropbox.com/files-folders/share/share-with-others" target="_self"&gt;shared folder&lt;/A&gt;, that is distinct from creating a &lt;A href="https://help.dropbox.com/files-folders/share/view-only-access" target="_self"&gt;shared link&lt;/A&gt;. A shared link itself does not enable you to join or identify a shared folder.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 17:58:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-to-start/m-p/576102#M26852</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-07T17:58:58Z</dc:date>
    </item>
  </channel>
</rss>

