Comments
-
Thanks for clarifying! That's correct, the /2/sharing/get_shared_link_metadata endpoint does require the 'url' parameter. That endpoint is a way to get information about a Dropbox shared link, so you need to include the Dropbox shared link in the call. The 'path' parameter can additionally be supplied to request…
-
Dropbox and the Dropbox API don't offer anything exactly like this, but the closest would be the ability for teams to set custom quotas for team members, which is also configurable using the API. Developers can write their own constraints into their apps though, so for example if you're a developer using the Dropbox…
-
@"dhruvin" The file properties functionality on the Dropbox API is meant as a way for third party apps to set and get custom information for use by the third party app itself, e.g., to show in its own UI. Dropbox doesn't expose this information in the official Dropbox UI, but I'll pass this along as a feature request. I…
-
@"jbaleta" Здравко is correct; for long-term access, you should use a refresh token. Refresh tokens don't expire and can be re-used repeatedly without manual user interaction. It's not possible to automatically access an account using only the app key and secret. You can find more information in the following resources: *…
-
No, Dropbox does not offer an option for downloading over HTTP instead of HTTPS.
-
@"captain husayn penguin" There's no news on this feature request currently.
-
It's not clear why it would be claiming a dependency loop on Dropbox.Api; Dropbox.Api only depends on Newtonsoft.Json (>= 13.0.2), which does not depend on Dropbox.Api. It looks like there's some information on this issue here; otherwise you may want to reach out to Microsoft for support for the installer.
-
We offer official SDKs for accessing the Dropbox API for free: https://www.dropbox.com/developers/documentation#sdks We recommend using one of those whenever possible. For example, there's an official .NET SDK: https://github.com/dropbox/dropbox-sdk-dotnet Otherwise, you can call the HTTPS endpoints for the Dropbox API…
-
@"josuegomes" Yes, as Здравко said, either way would work. In general though the expectation is that the app would record the current offset locally.
-
@"koradev_shane" Здравко is correct; you'll need to process the OAuth app authorization flow at least once per account. For long-term access, you should request "offline" access to get a refresh token. Refresh tokens don't expire and can be re-used repeatedly without manual user interaction. You can find more information…
-
1. To check the current template for a particular file property template for a user, call /2/file_properties/templates/get_for_user. For a file property template for a team, call /2/file_properties/templates/get_for_team. 2. To check the current file property values for a particular file property template for a particular…
-
If you want to list the contents of any particular folder, you can use the /2/files/list_folder and /2/files/list_folder/continue endpoints. That works for both team and non-team accounts. It's not an event listing, but rather a way to list all of the contents under any particular path. I recommend reading the File Access…
-
Thanks for the detailed request! I've sent this along to the relevant team.
-
@"superheroEK" I just checked on your page, and it's still using a "/scl/fo" link. Make sure you've updated the page to use a "/sh" link, which should resolve the "Loading" issue as well.
-
@"superheroEK" Thanks, that's helpful. I've looked into your Embedder setup, and I see this is failing because of the use of a type of shared link not meant for use with the Dropbox Embedder. Specifically, your Embedder is configured with an "edit" shared link (with "/scl/fo" in the URL), however the Embedder is meant for…
-
Can you let me know where you found or received this code so I can check on that? In any case, is this the actual/exact code you're running? When I plug in an access token, and add the missing "," in the 'headers' object that otherwise causes a SyntaxError, I actually get the different error "Error in call to API function…
-
@"superheroEK" As Здравко said, it sounds like this is due to the link you're using. If this still isn't working for you, please share the code/link you're using so we can take a look.
-
@"fafner82" Thanks for the feedback!
-
Thanks for the helpful added explanation Здравко! @"pear0533" For reference, you can find more information on how to set ranges in the specification here. Note that Dropbox does not support setting multiple ranges in a single request though. That is, you can specify a single closed range like "bytes=0-10", or a single open…
-
@"dhruvin" Здравко is correct. Non-downloadable files cannot be downloaded and that cannot be changed. You would need to use /2/files/export instead.
-
No, the Dropbox API does not offer an event history for non-team accounts, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
I see you also posted this in a new thread so I'll follow up with you there.
-
I see the agent in the support ticket you referred to supplied this example: HttpClient client = new HttpClient();HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "https://content.dropboxapi.com/2/files/download");request.Headers.Add("Authorization", "Bearer " +…
-
That would change the "Content-Type" request header value that you send, but you need to also make sure the value you're sending in the body actually uses that format. That is, you should be formatting the parameters accordingly, not using JSON.stringify. For example, you may want to use URLSearchParams, or whatever…
-
The parameters for the /oauth2/token endpoint should be sent as 'application/x-www-form-urlencoded' POST parameters, not JSON. I see your code is sending them as JSON so the API does not receive them and so the operation fails with that error. Please update your code to send the parameters using the…
-
If these are failing at about an hour, it does sound like it is due to the server timeout. There isn't an option to delay or prevent that. Also "downloads are much slower using range requests than with the API" is a bit unclear as range requests are themselves do use the same API. Specifically, the DownloadAsync method…
-
@"bpaar" I've moved your post to a new thread, as I see you commented on an old thread about using ObjectiveDropboxOfficial with Carthage, but it sounds like you're referring to using it with CocoaPods. I'll be happy to help with any issues you're having with the Dropbox API/SDK, but I'll need some more information. Please…
-
@"PIXIP" Thanks for following up with the additional information. In that case, please use the pre-built library, as mentioned here. There's also a note about doing so for the Android example here.
-
It sounds like you already opened a support ticket for this, so you can continue to using that existing ticket, to keep the conversation in one place. I'm happy to help here however I can if you prefer though. Anyway, if you're only seeing this for a small subset of users, it may be due to network connection issues for…
-
Unfortunately, the Dropbox API doesn't offer a way to list/filter files/folders created only since a specific date nor a way to retrieve the original creation date, but I'll pass these along as feature requests. I can't promise if or when they might be implemented though. The API doesn't distinguish between files and…