case#
Autogenerated API
- argus_api.lib.events.v1.case.case.get_events_for_case(caseID: int, sortBy: str = None, limit: int = 25, offset: int = None, includeRawEvents: bool = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Fetch events associated with specified case (PUBLIC)
- Parameters
caseID (int) – Case ID
sortBy (list) – List of properties to sort by (prefix with “-” to sort descending).Only accepts timestamp and -timestamp.If no value is given, it defaults to sorting by descending timestamp.
limit (int) – Maximum number of returned results, 0 is everything
offset (int) – Skip a number of results
includeRawEvents (bool) – If the result should include raw events. Defaults to false.
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ValidationFailedException – on 412
ArgusException – on other status codes
- Returns
requests.Response
object or dictionary translated from JSON