-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Labels
questionAdded to questionsAdded to questions
Description
Hi ,
I am using JAVA sdk and i found there is no option to list down the files inside the trashed folder. Box API failing in below scenario,
I did a validation with REST api and same behaviour is observed.
- I have deleted the folder with name Sam_Test1 which has 2 document. When i hit this url, i can view the folder name. But I used the keywords available in the files inside that folder, query return zero results.
https://api.box.com/2.0/search?query=sam&trash_content=trashed_only
- Then, I used this api to list down all files and folders inside the trash.
https://api.box.com/2.0/folders/trash/items
And I got the folder name and ID. I am trying to list the files inside that folder. API is not working. I want to view the files without restoring.
https://api.box.com/2.0/folders/123648402594/trash/ - List's basic info of that folder.
https://api.box.com/2.0/folders/123648402594/trash/items - 403 forbidden error.
https://api.box.com/2.0/folders/123648402594/items- 404 error
https://api.box.com/2.0/folders/123648402594/items/trash/ - 404 error.
Can I know the api and param to list down the option to get the list of files in the trashed folder.
Metadata
Metadata
Assignees
Labels
questionAdded to questionsAdded to questions