Comments
-
@"ncw" That behavior is expected. From the /2/files/upload WriteMode docs: "If the target path refers to a file with identical contents, nothing gets written; no conflict."
-
I'll follow up there.
-
Il semble que vous utilisiez le SDK JavaScript API v2, de sorte que la méthode filesGetTemporaryLink serait probablement la meilleure solution pour votre cas d'utilisation. Il vous donne un lien direct vers les données de fichier spécifiées, ce qui est bon pour quatre heures. --- S'il vous plaît excusez nos traductions.…
-
@"ncw" Thanks for the context! There isn't a way to that on the Dropbox API unfortunately, but I'll send it along as a feature request.
-
@"David L.51" Unfortunately, I don't have any news one way or another regarding this request.
-
Thanks for following up. To clarify though, I've sent this request along to the team, but I can't guarantee if or when that would be implemented.
-
When using /2/files/list_folder to list the contents of a folder via a shared link like this, the intent is that you can use the resulting paths for the files/folders under that folder with /2/sharing/get_shared_link_file and/or /2/sharing/get_shared_link_metadata, i.e., by supplying the `url` and `path` (relative to the…
-
Podemos transferir la propiedad de la aplicación API a petición sin interrumpir el servicio API. Para solicitarlo, abra un ticket API de la cuenta que posee la aplicación API: https://www.dropbox.com/developers/contact --- Disculpe nuestras traducciones Nuestras traducciones fueron creadas usando un traductor en línea. Nos…
-
For Cordova, you may be able to use the API v2 JavaScript SDK: https://github.com/dropbox/dropbox-sdk-js There's a authenticateWithCordova helper documented here: https://github.com/dropbox/dropbox-sdk-js/blob/66806fc1171bd3d6e95f246985a45dd0a65301dc/docs/tutorials/Authentication.md#dropboxauthenticatewithcordova You can…
-
Thanks for the feedback @"warpedgeoid"! I'll send it along to the team.
-
Thanks for the note. This is open with the team. I'll follow up here once I have any updates on this.
-
I can't help with the third party library itself, but can you clarify what you mean you say it "stops"? The Dropbox API itself should always return a response, whether that's a successful result, or an error. You should check how you can retrieve an error result from the library. For example, if you're calling for the same…
-
Yes, /2/files/upload only supports files up to 150 MB. For larger files, use upload sessions.
-
That code looks correct, and it's working for me. (Browsing there in a browser isn't supposed to work.) Is this the exact code you're running? Can you share the full code/output? (Just be sure to redact the access token of course.) You can also add a "-v" flag to tell curl to show verbose output.
-
It generally will only be on the scale of seconds to minutes, and not hours, but it can vary and be longer across different accounts and over time due to several factors, such as the amount of activity in the account, any server issues on our side, etc.
-
The /2/files/search endpoint is subject to a delay due to indexing, so newly uploaded files won't be immediately returned. That being the case, I don't recommend using this to verify newly uploaded files. You don't need to call back to check that anyway though, as you can just check the response from the upload call itself…
-
It sounds like you're using a Business team with the new team space and member folders configuration that some teams have access to. That being the case, you'll need to specify the team folder specifically when making API calls to access its contents, for example, by supplying the 'Dropbox-API-Path-Root' header. You can…
-
The API doesn't offer the ability to disable comments on any particular file's shared link, but I'll pass this along as a feature request as well. Note that there is a 'viewer_no_comment' access level you can set for members for shared files or shared folders, but that's separate from general shared links:…
-
@"hsin" Yes, that's correct. For the newer type B, please refer to the namespace guide, which covers how to access the team space: https://www.dropbox.com/developers/reference/namespace-guide
-
That's correct, the client secret is required for the code flow. If you want to use the token flow, you can use response_type=token and redirect_uri=https://www.dropbox.com/1/oauth2/display_token (as long as you register "https://www.dropbox.com/1/oauth2/display_token" for your app). The token flow doesn't require the…
-
Thanks! Those are probably relevant then. Can you try including the Dropbox library as a JavaScript library instead of a Node dependency?
-
Yes, if you use response_type=code and omit the redirect_uri parameter entirely, Dropbox will display the authorization code to the user on the Dropbox web site so they can copy/paste it.
-
I'm not aware of current plans for anything like that, but I'll pass this along as a feature request.
-
The special "app folder" created for an app with the "app folder" permission is only accessible to the user that connected the app (you, in this case). This is the same regardless of your account plan (free, paid, Business, etc.) as well as the app's status (development vs. production). It's unfortunately not possible to…
-
To access FileMetadata.serverModified, you need to first cast Metadata to FileMetadata. There's an example of doing so here: https://github.com/dropbox/SwiftyDropbox#response-handling-edge-cases
-
Thanks! That's the error from the API, and it does indicate that the issue is that the contents of the request body couldn't be successfully decoded as JSON. It sounds like the issue is with encoding these characters. That's generally done automatically, but that doesn't seem to be the case with…
-
@"Jeroen B.1" Apologies, the Python documentation doesn't properly include the type for parameters that take lists like that. The files_get_thumbnail_batch entries parameter should be a list of ThumbnailArg. That would look like: entries = [ dropbox.files.ThumbnailArg(path="/test.jpg",…
-
What environment is this running in? There are some potentially related threads here: * https://github.com/dropbox/dropbox-sdk-js/issues/178 * https://www.dropboxforum.com/t5/API-support/utilisation-de-l-API-filesGetThumbnail/m-p/267013 *…
-
@"Asakela" This is something the developer of the third party app would need to help with. I recommend you contact them for assistance.
-
I'll make a note to follow up on this thread if/when something like this is written. (I'm not aware of any current work on anything like this though, so I do recommend working on an implementation in your own app's code.)