Pull more than 1000 results for box files:versions when using --json
@sujaygarlanka ci sta già lavorando.
Dal 15/11/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
- I have checked that the [SDK documentation][sdk-docs] doesn't solve my issue.
- I have checked that the [API documentation][api-docs] doesn't solve my issue.
- 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).
- I have searched [Issues in this repo][github-repo] and my issue isn't already reported.
Description of the Issue
I'm trying to find out how to deal with a file that has more than 1000 versions when using --json. When running a box files:versions --json command, it only returns 1000 total, even if the file itself has more than that. We have some files with as many as 13000+ versions, and I'd like to figure out how to access them via powershell (mainly so I can delete them).
I don't know if there is a way to offset or paginate the returned array. If this is not possible, is there a way to access properties like foreach ($v in $version) {$v.created_at} without doing the --json | convertfrom-json thing?

Steps to Reproduce
$version = box files:versions FILEIDHEREWITHMORETHAN1KVERSIONS --json | ConvertFrom-Json
$version.count always equals 1000 (when --json is not used, it returns the correct amount)
Versions Used
Box CLI: 2.7.0
Operating System: Windows 10
- Lingua principale
- JavaScript
- Stelle
- 285
- Fork
- 67
- Merge medio
- 5h 27m
- PR unite (30g)
- 5
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di box/boxcli
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
enhancement
-
enhancement
-
enhancement
-
enhancement
Issue simili
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Improve Title Support Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·