box / box/box-windows-sdk-v2

BoxMetadataManager.GetEnterpriseMetadataAsync() unable to set limit

Open
#706 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
183
Forks
160
Avg merge
10h 44m
Merged PRs (30d)
15

Description

- [x] I have checked that the [SDK documentation][sdk-docs] doesn't solve my issue.
- [x] I have checked that the [API documentation][api-docs] doesn't solve my issue.
- [x] I have searched the [Box Developer Forums][dev-forums] and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
- [x] I have searched [Issues in this repo][github-repo] and my issue isn't already reported.

### Description of the Issue
Using the .net SDK using the BoxMetadataManager.GetEnterpriseMetadataAsync function there is no way to increase the limit above 100 items, even though the api documentation states that this should be possible. The only parameters that can be passed in are either "enterprise" or "global".

### Steps to Reproduce
using the cURL get request indicated here: https://developer.box.com/reference/get-metadata-templates-global/. It is possible to increase the limit however, this is missing from the .net sdk.

### Expected Behavior
Should be able to pass in a limit or at least the next pagination marker.

### Versions Used
.Net SDK: Box.V2.Core v3.24.0.
Windows: Windows 10.

[sdk-docs]: ./docs
[api-docs]: https://developer.box.com/docs
[dev-forums]: https://community.box.com/t5/Platform-and-Development-Forum/bd-p/DeveloperForum
[github-repo]: https://github.com/box/box-windows-sdk-v2/search?type=Issues

Contributor guide

Open the contributing guide

Research direction

Start at BoxMetadataManager.GetEnterpriseMetadataAsync and compare its available parameters with the linked get-metadata-templates-global API request. Verify how the SDK represents the enterprise/global scope and pagination, then add support for a limit or next pagination marker and confirm the request can retrieve more than 100 items.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.