如何从Dropbox API列出已删除的文件? C#MVC

时间:2023-01-26 15:15:42

i'm working with a web aplication in which i'm using the Dropbox API, but i'm struggling trying to find out how to get deleted folders or files from the Recycle bin. Can anyone help me out?

我正在使用我正在使用Dropbox API的Web应用程序,但我正在努力寻找如何从回收站中删除已删除的文件夹或文件。谁能帮我吗?

i'm using this line to get Folder/Files from root.
var list = await dbx.Files.ListFolderAsync(string.Empty);
Could inserting the Recycle bin url work?

我正在使用此行从root获取文件夹/文件。 var list = await dbx.Files.ListFolderAsync(string.Empty);可以插入回收站网址吗?

1 个解决方案

#1


0  

In the Dropbox API v2 .NET SDK, you can set includeDeleted=true when calling ListFolderAsync to request deleted files as well.

在Dropbox API v2 .NET SDK中,您可以在调用ListFolderAsync时设置includeDeleted = true以请求已删除的文件。

#1


0  

In the Dropbox API v2 .NET SDK, you can set includeDeleted=true when calling ListFolderAsync to request deleted files as well.

在Dropbox API v2 .NET SDK中,您可以在调用ListFolderAsync时设置includeDeleted = true以请求已删除的文件。