Commvault / CVPowershellSDK

Developer SDK - Powershell
12 stars 12 forks source link

API Limit when querying jobs, way to update the limit? #11

Closed bogski87 closed 1 year ago

bogski87 commented 4 years ago

Hello,

I'm using the Commvault script from here and have a question. I've discovered recently that the Commvault API is limited to 100 results per request.

image

I'm tempted to add the limit part to the end of the endpoint section in the Commvault/RESTSession.psm1 file image

I'm not sure if i should set this as empty or 0 for unlimited or whether i should set it to something ridiculous like 9999, or if this is the right place to edit it :)

Any ideas?

Regards Phil

JnaneshD05 commented 2 years ago

We can have a parameter to the command as limit with default value 100 . I will check this and implement