diff --git a/docs/folders.md b/docs/folders.md index ee7223ae2..af96241d5 100644 --- a/docs/folders.md +++ b/docs/folders.md @@ -26,13 +26,20 @@ Get a Folder's Items -------------------- Folder items can be retrieved by calling the -`FoldersManager.GetFolderItemsAsync(string id, int limit, int offset = 0, IEnumerable fields = null, bool autoPaginate=false)` +`FoldersManager.GetFolderItemsMarkerBasedAsync(string id, int limit string marker = null, IEnumerable fields = null, bool autoPaginate = false, string sort = null, BoxSortDirection? direction = null, string sharedLink = null, string sharedLinkPassword = null)` method. Use the `fields` option to specify the desired fields. Requesting information for only the fields you need can improve performance by reducing the size of the network response. +Following method supports marker-based pagination. ```c# -BoxCollection folderItems = await client.FoldersManager.GetFolderItemsAsync("11111", 100); +BoxCollection folderItems = await client.FoldersManager.GetFolderItemsMarkerBasedAsync("11111", 100); +``` + +Alternatively you can use method with offset-based pagination. + +```c# +BoxCollection folderItems = await client.FoldersManager.GetFolderItemsAsync("11111", 100, offset: 10); ``` Get a Folder's Information