Learn how to make the most out of the Dropbox Community here 💙!
APIs
24 TopicsCreate new folder in existing Team Folder
Hi, I use a web site development program called Wappler which allows for the setup of API's It has a section for the URL of the API, JSON DATA and I can add headers. I used the default: https://api.dropboxapi.com/2/files/create_folder_v2 and added the headers: "Authorization: Bearer <my token here>" \ "Content-Type: application/json" \ and in the Json Data box I put: { "autorename": false, "path": "/Homework/math/{{$_POST.foldername}}" } This works OK and creates a folder from my form input to my home folder inside a folder called Apps> Homework/math/myfoldernamefrom form I want to create the folder in the team space so I added the Dropbox-API-Path-Root header and the value {".tag": "root", "root": "7"}, along with the following in the Json Data: { "path": "{{$_POST.foldername}}" } I know the 7 is just a sample and I have the details of my user ID, at the bottom is the root_info, with .tag, the root_namespace_id, the homespace_id and my home_path. What do/would I put in the Json Data to create a folder in team space called CompanyOne>FolderOne Many thanks for your helpHow to filter events in dotnet SDK ?
I want to only query the team events of the event type file_download. I can't seem to figure out how I'm supposed to do it the way the developers intended. I can't find clear documentation on how to do this. GetTeamEventsResult events = await _dropbox.TeamLog.GetEventsAsync(eventType: WHAT DO I PUT HERE); I tried doing this: GetTeamEventsResult events = await _dropbox.TeamLog.GetEventsAsync(eventType: new EventTypeArg().AsFileDownload); But that just returns all events and doesn't filter them.70Views0likes2Commentssharing/remove_folder_member endpoint throwing 500 error
I've been using the api.dropboxapi.com/2/sharing/remove_folder_member endpoint for a number of years without issue. After the scheduled maintenance last night (2025-02-06) I'm receiving a 500 response from all calls to it. I'm doing a POST call with the following headers: Dropbox-API-Path-Root: {"namespace_id":"999999",".tag":"namespace_id"} Dropbox-API-Select-User: dbmid:AAAAAAAAA and the request: { "shared_folder_id":"99999999", "member":{ ".tag":"dropbox_id", "dropbox_id":"dbmid:AAAAAAAA" }, "leave_a_copy":false } (IDs all changed) Is anyone else using this endpoint in the same way? Is it still working for you? Maybe something changed as part of the maintenance? Seems too much like a coincidence that this code no longer works. Thanks for any help.104Views1like8CommentsRegarding the condition that "folder_id" is returned in "/sharing/list_folders".
I have a question about the "/sharing/list_folders" API. According to your API reference, the "folder_id" field in the response body is optional. Please tell me the conditions under which "folder_id" is returned. Thank you for your support.52Views0likes1CommentApp Scope Issue.
When I integrate with Dropbox OAuth, what scopes I have to set at my app permissions. When I try to connect to the dropbox it says "Authentication aborted". And I check the team_data.member scope, it go to the step to login, but when I login it says "Please sign in with a work account."How Do I Generate a Temporary Link?
Hi, I was hoping to use the /get_temporary_link endpoint to get a signed URL to access another account's file in my browser. The docs say the URL should not be used to display content directly in the browser, was wondering why and hoping for an example of what use case this endpoint would be appropriate for. Thanks!Solved113Views0likes2CommentsCan't test dropbox choser api via localhost
Currently trying to integrate dropbox into my weapp for an university project. But for some reason when clicking the implemented button to chose a file from dropbox i get this error window. And I can't add localhost as a choser domain for testing. Any ideas? Thanks in advance!Solved