Using the API how can I check this? If I use the /api/2/folders/folderID I can see a <location> with contents start start with "Deleted items > ". Do I check this or is there a better way?
Using the API how can I check this? If I use the /api/2/folders/folderID I can see a <location> with contents start start with "Deleted items > ". Do I check this or is there a better way?
Ryan D'Souza. You could perhaps query the recycle bin to check if the folder you are looking for is in there?
GET .../files/?q="folderid={recyclebinfolderID} will give you list of files there
Interestingly the below folder endpoint gives me a 403 unless I use v1
3/folders/{recyclebinfolderID}/items - 403 error
1/folders/{recyclebinfolderID}/items - list of folders in recycle bin
Hope this helps
Ryan D'Souza. You could perhaps query the recycle bin to check if the folder you are looking for is in there?
GET .../files/?q="folderid={recyclebinfolderID} will give you list of files there
Interestingly the below folder endpoint gives me a 403 unless I use v1
3/folders/{recyclebinfolderID}/items - 403 error
1/folders/{recyclebinfolderID}/items - list of folders in recycle bin
Hope this helps