Closed thanch2n closed 1 year ago
Note, pdpyras.APISession
is a wrapper of requests.Session.
Per Passing parameters in URLs, The way to pass multi-valued parameters when using a dictionary is to have one key pointing to a list i.e. 'statuses[]': ['acknowledged', 'triggered', 'resolved']
Added to list of things to document with the release of v5.0
Looks we can't use same key with different values in dict and pass to params. But on server side it supports
To query multiple statuses, pass statuses[] more than once
, https://developer.pagerduty.com/api-reference/9d0b4b12e36f9-list-incidents.