Closed BillSidney closed 1 year ago
Hi @BillSidney I believe your goal is to limit the total number of incidents that can be fetched overall? If so, you want to use --limit 1000
, not -P limit=1000
which just passes that as a query param to the underlying HTTPS GET that is used by the fetch command. My bad, because I should not allow you to pass limit as a query param as it will mess up the pagination that fetch is doing. Can you try that and let me know what you observe? Thanks
--limit
works as expected
#incidents: 604
#incidents_with_limit: 604
Thanks @BillSidney, I will fix the validation on that flag
Hi @BillSidney, I fixed that param validation in RC 0.1.7 just uploaded; I will probably promote it to stable soon, so if it's ok with you I'll be closing out this issue... thanks again for reporting it
Using the
limit
query param with the incidents endpoint produces different results.In hindsight ... I realized pd handles pagination and the limit param is not necessary - but was surprised by the results
output: