Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FoldersManager.GetTrashItemsAsync() method needs parameter for sort and direction #648

Open
1 task done
manon2wheels opened this issue Apr 8, 2020 · 4 comments
Open
1 task done

Comments

@manon2wheels
Copy link

Description of the Issue

The FoldersManager.GetTrashItemsAsync() method includes a handful of parameters but doesn't include 'sort' and 'direction' which is supported in the 'List trashed items' API documentation here.
https://developer.box.com/reference/get-folders-trash-items/

Versions Used

.NET SDK: Box.V2.Core 3.22.0

Steps to Reproduce

//Try to add a parameter beyond those defined in BoxFoldersManager.cs
trashedItems = await boxClient.FoldersManager.GetTrashItemsAsync(folderLimit, folderOffset, itemFields, false, sort: date);

Error Message, Including Stack Trace

CS0103 The name 'date' does not exist in the current context

It would be very helpful to have these additional parameters when working with trash items.

Thank you

@sujaygarlanka
Copy link
Contributor

@manon2wheels Thank you for the feedback! We will put this on our backlog and keep you up to date on any progress we make on adding this field.

@sujaygarlanka
Copy link
Contributor

SDK-1376

@manon2wheels
Copy link
Author

@sujaygarlanka Is this a certain version of the SDK? I'm not sure what SDK-1376 is referring to.

@sujaygarlanka
Copy link
Contributor

@manon2wheels That was for us to track the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants