So I’m trying to run a REST api call to get all current running jobs. I’m ultimately try to get to the same state that the Command Center shows for it’s active jobs.
I can run the following which gets me the active backup jobs, but does not show anything else:
curl -ks --location --request GET "https://commserve/webconsole/api/Job?jobCategory=Active&jobFilter="
The jobfilter options (https://documentation.commvault.com/v11/essential/105923_jobfilter_parameter_values.html) don’t seem to have an effect. Setting ALLOPS doesn’t get everything (in fact hides running backup jobs). I’ve tried using DDBOPS when there is DDB activity going on and that doesn’t give a response either.
Is there something I’m missing here?
My end state is just trying to determine at a point in time that there is nothing Running/Waited/Queued/Pending so that I can trip off other tasks (OS level patching), so if there is another way to do that I’m open to that as well.