Incidents.Events
Overview
Available Operations
get - Get Incident Events
get
This endpoint is used to get all the deduped incident events details by either ID or number.
Requires
access_tokenas aBearer {{token}}in theAuthorizationheader.
Query Params:
offset - non zero value
limit - non zero value, maximum is 10
sort - sort it by either asc or desc
deduped - if set to true, it will return only the deduplicated events. if set to false, it will return only the non-deduplicated event, otherwise it will return all the eventsExample Usage
from squadcast import SquadcastSDK
with SquadcastSDK(
refresh_token_auth="<YOUR_REFRESH_TOKEN_AUTH_HERE>",
) as squadcast_sdk:
res = squadcast_sdk.incidents.events.get(incident_id="<id>", offset="<value>", limit="<value>", sort="<value>", deduped="<value>")
# Handle response
print(res)
Parameters
incident_id
str
✔️
N/A
offset
str
✔️
non zero value
limit
str
✔️
non zero value, maximum is 10
sort
str
✔️
sort it by either asc or desc
deduped
str
✔️
if set to true, it will return only the deduped events. if set to false, it will return only the non-deduped event. otherwise it will return all the events
retries
➖
Configuration to override the default retry behavior of the client.
Response
models.IncidentsGetIncidentEventsResponse
Errors
errors.BadRequestError
400
application/json
errors.UnauthorizedError
401
application/json
errors.PaymentRequiredError
402
application/json
errors.ForbiddenError
403
application/json
errors.NotFoundError
404
application/json
errors.ConflictError
409
application/json
errors.UnprocessableEntityError
422
application/json
errors.InternalServerError
500
application/json
errors.BadGatewayError
502
application/json
errors.ServiceUnavailableError
503
application/json
errors.GatewayTimeoutError
504
application/json
errors.SDKDefaultError
4XX, 5XX
*/*
Last updated