I'm trying to create an automatic events report system for my client but it turns out Boxcli can only return 500 items max and has no pagination option.
Here's the use case, we would like to run a daily batch that runs at midnight and returns all logs from the prior day. Thecreated-after query does not return more than 500 items. I would like to iterate thru the results until it returns 0 items.
box events -e --created-after=created-after
Also the result does not include the streamposition value. It would be great if I could get that result as a --id-only param and iterate thru results.
I'm trying to create an automatic events report system for my client but it turns out Boxcli can only return 500 items max and has no pagination option.
Here's the use case, we would like to run a daily batch that runs at midnight and returns all logs from the prior day. The
created-afterquery does not return more than 500 items. I would like to iterate thru the results until it returns 0 items.box events -e --created-after=created-afterAlso the result does not include the
streampositionvalue. It would be great if I could get that result as a--id-onlyparam and iterate thru results.