Comments
-
Team folders are owned by the team itself. Only admins can edit membership settings. Using the API, you can get the information for the team that owns a team folder in the SharedFolderMetadata, for example, as returned by /2/sharing/get_folder_metadata, in the "owner_team" field.
-
This should be fixed now. Let us know if you're still seeing any issues.
-
Hi Tim, there isn't a way to convert those links to shared folder IDs using the API unfortunately. The API wasn't designed to work with those links directly. The intent was that the app would use list_mountable_folders as you mentioned to get the list of folders that can be mounted in a user's account. You can display this…
-
[Cross-linking for reference: https://stackoverflow.com/questions/41040463/is-this-code-in-the-dropbox-documentation-right ] Thanks for the report! That sample is out of date. We'll get that fixed up. It looks like someone was kind enough to share an updated version in your StackOveflow post already.
-
No, unfortunately I'm not aware of any plans for a C++ SDK for API v2 at this time. I'll add your request though.
-
Thanks! I've filed this as a request with the team.
-
We're working on a fix. I'll follow up here once it's out.
-
The "id" for the script should be "dropboxjs", not "dropbox". Please try that out and let me know if that doesn't fix it for you.
-
Hi Tim, this API v2 endpoint doesn't currently support app authentication like its API v1 equivalent unfortunately, but I'll be sure to pass this along as a feature request.
-
The best way to check if an access token is still valid with the Dropbox API is just to make a call and check the response. For example, a simple call with no side effects such as /2/users/get_current_account is a good one for this.
-
Thanks for the post! I can't make any promises, but I'll pass this along as a feature request. If there any other functionality from that route that you'd like to see in the API?
-
The partially uploaded files do not count against the user's quota. The data is cleaned up after the upload session expires, which I believe is 48 hours after it was created.
-
[Cross-linking for reference: https://stackoverflow.com/questions/41022495/how-to-retrieve-shared-link-using-dropbox-api-v-2-0-client-nuget-library-in-c ]
-
Closing as a duplicate of: https://www.dropboxforum.com/t5/API-support/Android-Core-API-search-returns-empty-list/m-p/196715#M9024
-
[Cross-linking for reference: https://www.dropboxforum.com/t5/API-support/Android-Core-API-search-returns-empty-list/m-p/196715#M9024 ] Thanks for the report! This is a known issue, and not due to the deprecation. We're looking into it.
-
Yes, as an app folder app, you can only operate on items inside the app folder. Full Dropbox apps can operate on any item in the account.
-
That looks like a bug that was fixed in version 2.1.2. Please make sure you're using the latest version of the SDK, and let me know if you're still seeing that.
-
You should be able to create a shared link for any file or folder on dropbox.com. Likewise, you should be able to create a shared link for any file or folder using the API, as long as your app can access it. (App folders can't see items outside their app folder.) Also, note that "shared links" are a different feature than…
-
You can set an expiration for a new shared link using the .NET SDK like this: var settings = new SharedLinkSettings (expires: new DateTime (2016, 12, 25)); SharedLinkMetadata sharedLinkMetadata = await this.client.Sharing.CreateSharedLinkWithSettingsAsync (path, settings); Console.WriteLine (sharedLinkMetadata.Url);…
-
If Folder_1 is a shared folder, then Folder_1 is a namespace, separate from the root namespace.
-
One thing that comes to mind is that if your app is registered for the "app folder" permission, your paths should be relative to the app's app folder, not the Dropbox root. Further, in that case you won't be able to access folders or files in the Dropbox root. Otherwise, it's hard to say what the issue may be offhand. If…
-
[Cross-linking for reference: https://stackoverflow.com/questions/40973321/is-it-possible-to-upload-a-file-to-dropbox-api-v2-0-with-a-path ]
-
Thanks for the post Randy! I'm not too familiar with Cordova/PhoneGap, and this is a bit outside the scope of Dropbox support, so I'm afraid I can't be of much help myself, but hopefully someone else here can chime in. One thing I can note though, is that another possible (albeit non-ideal) solution is to use the "code"…
-
Hi Gabrel, the /save_url endpoint does require a path for where the file should be saved in the user's Dropbox account, including the file name, but this doesn't technically require that the app include the file extension. So, you can omit the file extension, but that would certainly be non-ideal for the user, as they'd…
-
The not_closed error is documented as: "The session must be closed before calling upload_session/finish_batch." That is, make sure you close each session, e.g., when using /2/files/upload_session/append_v2, before calling /2/files/upload_session/finish_batch.
-
Hi Tim, API v2 doesn't offer zip folder downloads, but I'll pass this along as a feature request. (Also, I'm not sure exactly what functionality you're referring to on v1, as there's no documented/supported zip folder download functionality on the /files endpoint you're referring to. Perhaps you're referring to the ability…
-
This error indicates that your OAuth 2 access token is incorrect, i.e., it doesn't match the expected pattern. In the code you shared in your first post in this thread, you have your access token being saved to the variable ACCESS_TOKEN. It appears you redacted the value as "<ACCESS_TOKEN>" for the sake of posting it here,…
-
No, the Dropbox API doesn't offer anything quite like this, but I'll be sure to pass this along as a feature request.
-
You can get the token/uid from the success result like this: case .success(let token): print("Success! User \(token.uid) is logged into Dropbox.") Hope this helps!
-
1. Yes, regarding the grouping, the data ingress guide elaborates: "Group files that are being uploaded to into one or more batches. A batch can contain up to 1,000 entries. Entries in a batch don’t all have to target the same namespace, but the fewer namespaces involved in a batch, the more efficient committing the batch…