You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -35,16 +35,16 @@ You can also view our [OAuth guide][oauthguide].
35
35
We provide [Examples][examples] to help get you started with a lot of the basic functionality in the SDK. We provide most examples in both Javascript and Typescript with some having a Node equivalent.
36
36
37
37
-**OAuth**
38
-
- Auth - [[JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/auth)] - A simple auth example to get an access token and list the files in the root of your Dropbox account.
39
-
- Simple Backend [[JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/simple-backend)] - A simple example of a node backend doing a multi-step auth flow for Short Lived Tokens.
40
-
- PKCE Backend [[JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/PKCE-backend)] - A simple example of a node backend doing a multi-step auth flow using PKCE and Short Lived Tokens.
38
+
- Auth - [[JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/auth)] - A simple auth example to get an access token and list the files in the root of your Dropbox account.
39
+
- Simple Backend [[JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/simple-backend)] - A simple example of a node backend doing a multi-step auth flow for Short Lived Tokens.
40
+
- PKCE Backend [[JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/PKCE-backend)] - A simple example of a node backend doing a multi-step auth flow using PKCE and Short Lived Tokens.
41
41
42
42
-**Other Examples**
43
-
- Basic - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/basic)] - A simple example that takes in a token and fetches files from your Dropbox account.
44
-
- Download - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/download)] - An example showing how to download a shared file.
45
-
- Team As User - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/team-as-user)] - An example showing how to act as a user.
46
-
- Team - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/team)] - An example showing how to use the team functionality and list team devices.
47
-
- Upload [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript/upload)] - An example showing how to upload a file to Dropbox.
43
+
- Basic - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/basic)] - A simple example that takes in a token and fetches files from your Dropbox account.
44
+
- Download - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/download)] - An example showing how to download a shared file.
45
+
- Team As User - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/team-as-user)] - An example showing how to act as a user.
46
+
- Team - [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/team)] - An example showing how to use the team functionality and list team devices.
47
+
- Upload [[TS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/typescript/node), [JS](https://github.com/dropbox/dropbox-sdk-js/tree/main/examples/javascript/upload)] - An example showing how to upload a file to Dropbox.
48
48
49
49
## Getting Help
50
50
@@ -59,9 +59,9 @@ This SDK is distributed under the MIT license, please see [LICENSE][license] for
Copy file name to clipboardExpand all lines: UPGRADING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -122,4 +122,4 @@ Previously we have provided guidance to SDK users that they should not rely on t
122
122
123
123
As a result, you should not pass in your own `fetch` to the Dropbox constructor unless you have a specific reason to do so (mocking, etc). Note that if you opt to pass in fetch to support your use case, you may need to bind your fetch to the appropriate context e.g. `fetch.bind(your_context)`.
0 commit comments