Comments
-
Based on that error, you got that from the /sharing/create_shared_link_with_settings endpoint. That's expected for that endpoint, as you can't create a shared link for the root. Your original question was about /files/list_folder, where the empty string should work to represent root.
-
Hi Mario, you can certainly list the contents of the root. The root is identified by the empty string, ", and not a single slash, "/", though. So, you just need to call with this instead: -d '{ "path": " }'
-
We don't have statistics available on the review process. Apps are reviewed to ensure compliance with the various guidelines and terms: https://www.dropbox.com/developers/reference/tos https://www.dropbox.com/developers/reference/devguide https://www.dropbox.com/developers/reference/branding Anything not complying with…
-
To clarify, the section you're quoting is titled "Providing your logo" and is about the logo you use for your own app, and shouldn't look like the Dropbox logo. The "approved logos" are the only logos you are allowed to use when using the Dropbox logo in your app, as detailed under the "Referencing Dropbox in your app"…
-
The guidelines for the use of the Dropbox name and logo in third party apps can be found here: https://www.dropbox.com/developers/reference/branding-guide Note that only the approved logos may be used.
-
Yes, that's the basic idea. Note that you probably want a more strict version of that though, since your code would match ".txt" anywhere in the name, e.g., I think your code would have a false positive on something like "my.txts.html". Also, make sure to differentiate between files/folders/deleted entries.
-
The API itself doesn't offer filtering like that, so you'll have to use listFolder and do the filtering client-side, based on the extension in the metadata.
-
Hi Mike, I've sent this along as a feature request, but I can't make any promises about if or when it would be implemented. We generally try not guarantee one way or another about future developments, since plans can change suddenly, lest we mislead users/developers. Sorry I can't be of more help!
-
Hi Mike, are you referring to searching in content using the API v2 /search endpoint? I can't speak to why one format or another is or isn't supported, or if it will be in the future, but I'll send this along as a feature request.
-
Thanks for the feedback on the error messages! We've made some changes to how this is reported, so if you pod update (latest is 1.0.2) issues like this should yield better messages.
-
Thanks! This version of the code simplifies things. This version does work for me, and I believe the error you're getting is a "file" WriteConflictError, meaning there's already a file at the path you're trying to upload to: https://www.dropbox.com/developers/documentation/http#documentation-files-upload You can specify a…
-
Thanks! This error should just indicate an issue with the path you're supplying, but your path ("/AccountInfo.json") looks fine, so we're currently investigating if/what the issue might be on our side.
-
Thanks. We're looking into it. In the meantime, please make sure you're using the latest version of the SDK. (Currently 1.0 on GitHub)
-
Thanks for the detailed write-up. We'll be happy to help. First, a few things: - Just to make sure, in step 3, you meant "filesUploadSessionFinish" not "filesUploadSessionAppend" right? - Can you share the log output for reference? - Can you share the value of dbPath? Thanks in advance!
-
This maintenance is complete and normal Dropbox service has resumed.
-
Peter, the Dropbox API doesn't offer a way to download entire folders at once like this, but I'll be sure to pass this along as a feature request. That being the case, you'll need to loop through the files you need and download each of them. Pouria, if the above resolve the issue you're having, please open a new thread…
-
It sounds like you're referring to the Dropbox Android Core SDK. No, you don't need to explicitly close that object.
-
Yes, you can share folders via API v2 using /sharing/share_folder and /sharing/add_folder_member. Once the user adds the folder to their account (e.g., by accepting the invitation via the Dropbox site or via your app using /sharing/mount_folder) they can interact with it like any other folder, such as uploading to it from…
-
Unfortunately, the Dropbox API doesn't currently return this information, even when using include_media_info. The documentation says: "photo_info: Only returned when the include_media_info parameter is true and the file is an image. A dictionary that includes the creation time (time_taken) and the GPS coordinates…
-
The Dropbox Business API v2 is currently in beta and doesn't have an equivalent of this endpoint yet, but I believe it is planned. Regarding matching events with files, I'm not aware of a workaround, but I'll send this along as feedback.
-
Hi Haseeb, as discussed earlier in this thread, in order to access the content of a file via the Dropbox API, you need to download it. In a client-side app like on Android, this will mean that the access token will need to be in the app, and you can't prevent the users of your app from accessing it.
-
Willie, on the Dropbox side of things, you can use the .NET SDK to interact with Dropbox API v2: https://www.dropbox.com/developers/documentation/dotnet Our samples are in C#, but as of version 3.0.0 of the SDK, it should work with Visual Basic as well. For example, to download a file (e.g., an Excel file), you could use…
-
This error message indicates that the app for the app key or access token you are using is disabled. If you registered an app originally and then disabled it, make sure you remove that app key and secret from your app. If you registered an app originally and got an access token using it, and then disabled that app, that…
-
The equivalent of v1's getDelta on v2 is listFolder with recursive=true and listFolderContinue. Note that both getDelta and listFolder/Continue are paginated, so for both it's possible that the initial call won't contain all of the results. In either case, for a correct implementation you need to save the cursor from the…
-
This should be working properly now.
-
Thanks! That's helpful, and I can reproduce this now. This seems to only occur for shared folders (which is what that icon signifies). We're looking into it.
-
Hi Dan, I'm not seeing the same behavior when trying this out myself. Can you share your code and output? (Just be sure the redact the access token.) Thanks in advance! If you'd prefer to share privately, you can open an API ticket here: https://www.dropbox.com/developers/contact
-
Quick update, the FileMetadata object now contains a "path_display" property. You can read more about it in the documentation.
-
Thanks for clarifying! No, there isn't a single call way to get it like that. I'll send this along as a feature request to the team though.
-
[Cross-linking for reference: https://stackoverflow.com/questions/34667886/dropbox-v2-api-is-there-any-way-to-get-the-original-mixed-case-path-of-from-a-f ] FileMetadata.name will contain the case-preserved name, so you would need to build the path up from that.