Comments
-
Hi Frank, I don't believe we have a document like what you describe, but I'll be happy to help with any questions you have about the API. It sounds like you mostly have the right understanding here though. API v2 offers a different sort of interface than the old Sync SDK did (which was built on API v1). API v2 does offer a…
-
Thanks for the report! It looks like there is currently a service disruption with the Saver. We're looking into it.
-
Thanks! I'm glad to hear you got this working. I'll ask the team to take a look over to see if this is a change that should be added to the SDK.
-
The root folder doesn't have an ID, but you can always refer to it by using the empty string "" as the path.
-
The API unfortunately doesn't offer sorting/filtering options for listing files and folders like this, but I'll pass this along as a feature request. Apologies I don't have a better answer for you!
-
Thanks for the report, and apologies for the trouble! It looks like the API v2 Python SDK v8.3.0 release changed the positional ordering of arguments for the files_list_folder method, unintentionally breaking any callers relying on the parameters' order. We'll look into fixing this on our side, but the best solution right…
-
We could use a bit more information. Can you run the following and share the output? Thanks in advance! python -c 'import dropbox;print dropbox.__version__;print dropbox.__package__;print dropbox.__file__'
-
@"rharter" Thanks for the report! Your code does look simpler/correct, so I don't think I have a workaround to offer in this case. We'll look into it.
-
Also, can you let us know what version of Python itself you're using? Thanks in advance!
-
@"bruce0205" If that doesn't seem to be the issue in your case, please supply the code to reproduce the issue for your case.
-
The API doesn't offer the ability to upload/download entire folders at once, so you'll need to loop through the files you want to upload/download and call for them individually (applying whatever filtering logic you want client-side). We'll consider this a feature request though.
-
Yes, you can supply a file/folder ID in the 'path' parameter for /2/files/get_metadata: https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata The same applies to the respective method in the official SDKs. For example, in the API v2 Java SDK:…
-
@"ShiminCai" I don't believe replying to the notification email sends the content anywhere I can access it. Please post the information in the thread here. (If you need to share it privately for some reason, you can open an API ticket here instead.)
-
Thanks! We're looking into it.
-
@"gill5" You shouldn't be seeing a 'v1_retired' error from the official Dropbox iOS app itself. You may see a warning in the official app when linking the third party app though. In any case, there should be a "Support" link on the App Store page for whichever third party app you're trying to link to/use. That should go to…
-
@"bookaholixanon" Thanks for the feedback! I'll send that along to the team. For reference, we of course didn't want to break anyone, but Dropbox continuously works on improving the functionality it offers, which sometimes requires deprecating and retiring older versions. When we do need to do that, we always try to give…
-
Your app appears to be sending a "multipart" Content-Type, instead of one of the allowed values: "application/octet-stream" or "text/plain; charset=dropbox-cors-hack". You'll need to make make sure your app only sends one of those allowed values. Exactly how you do this depends on what SDK/library/HTTP client you're using.…
-
The response from the list_folder endpoints will give you a list of file and folder entries. Each one will contain a `path_lower` value, which will be something like: "/Documents/document.docx". You can see the parent path components by splitting those out. E.g., in this sample, the "document.docx" file is in the…
-
It sounds like that's an issue with using `fopen` and not the Dropbox side of things, so I'm afraid I can't offer much help. You'll need to debug why you can't `fopen` your local file. (E.g., make sure the parent folders exist, that you have permission to access it, etc.)
-
Apologies for the confusion. The DbxHost should identify the Dropbox API servers, but you generally don't need to actually use any of that. You can default to the standard hosts. For example, you can just use this constructor to make a DbxAppInfo without specifying host. And outside of the structure of the examples, you…
-
There's an example of uploading files to Dropbox using the API v2 .NET SDK here: https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L312
-
No, Dropbox API apps should use the OAuth app authorization flow to let the user authorize the app in their browser. This way, apps never handle the user's username and password. There's an example of this in the Java SDK here: https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/authorize Note that once your…
-
Nothing appears wrong with your call to GetCurrentAccountAsync, and if anything goes wrong you should certainly get some sort of error. I just tried it anyway and it worked for me (except that I don't have your Upload definition). You don't appear to be using the return value `full` in this code though, and you also…
-
Yes, to list files and folders in Dropbox, you should use the /2/files/list_folder[/continue] endpoints: https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue To list root, use the empty string ""…
-
Thanks! Since you downloaded the source, did you run `python setup.py install` as instructed here? https://github.com/dropbox/dropbox-sdk-python#installation Please do so if you haven't already. If you did, did you get any errors?
-
No, unfortunately upgrading an app from API v1 to API v2 requires code changes in the app, which needs to be done by a developer of the app.
-
The best thing to do is to make sure the email address on the account that owns your API app(s) is up to date, since the main channel of notification we use for this is email. Depending on what's changing, we may also post on: - the Dropbox Developer Blog (RSS) - the @DropboxAPI Twitter account - the Dropbox API forum
-
Hi Justin, we don't have any plans to remove that, so it's safe to use. Removing it would be a breaking change, so we'd be sure to notify developers and give them time to update their apps in the case that we do need to.
-
Thanks for the detailed feedback @"Hank66"! I'm sending this along to the team.
-
The https://www.dropbox.com/developers/documentation link is for the HTTP interface itself. We don't have plans for an official PHP SDK for Dropbox API v2, but you can use a third party library if you don't want to call the HTTPS endpoints directly: https://www.dropbox.com/developers/documentation/communitysdks For…