Incidents.Events
Overview
Available Operations
list
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
import { SquadcastSDK } from "@solarwinds/squadcast-sdk-typescript";
const squadcastSDK = new SquadcastSDK({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await squadcastSDK.incidents.events.list({
incidentID: "<id>",
offset: "<value>",
limit: "<value>",
sort: "<value>",
deduped: "<value>",
});
console.log(result);
}
run();Standalone function
Parameters
Parameter
Type
Required
Description
Response
Errors
Error Type
Status Code
Content Type
Last updated