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

Box Search: Limit param not supported #322

Closed
jacquesvandermerwe opened this issue Apr 29, 2022 · 1 comment · Fixed by #323
Closed

Box Search: Limit param not supported #322

jacquesvandermerwe opened this issue Apr 29, 2022 · 1 comment · Fixed by #323
Assignees
Labels

Comments

@jacquesvandermerwe
Copy link

  • [ 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

Box Search API supports a 'limit' parameter in the raw API See here https://box.dev/reference/get-search/

The Box CLI command for box search doesn't support that param and defaults to 100.

box search "Lorem" --scope=enterprise_content --csv --fields=id,name,owned_by --limit 200
Unexpected arguments: --limit, 200
See more help with --help

Steps to Reproduce

Run command above

Expected Behavior

Limit parameter available and honoured.

Error Message, Including Stack Trace

See above

Screenshots

Versions Used

Box CLI: 3.0.0
Operating System: mac Monterey

@lukaszsocha2
Copy link
Contributor

Hi @jacquesvandermerwe ,
thanks for reporting this issue. I've already created pr, which will fix this.
Regards

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

Successfully merging a pull request may close this issue.

4 participants