@managed-api/opsgenie-sr-connect
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

ScriptRunner Connect Managed API for Opsgenie

Managed API for Opsgenie is an API Client for Opsgenie by Adaptavist. You can read more about Managed APIs here.

This is ScriptRunner Connect runtime specific version of the Managed API (with sr-connect suffix). If you want to use Managed API in any other runtime, have a look at the runtime agnostic version.

Supported API calls

Constructing Managed API

In ScriptRunner Connect a Managed API is constructed for you, but if you need to construct it manually, here's how you can do it:

import { OpsgenieApi } from '@managed-api/opsgenie-sr-connect';

export default async function() {
    const api = new OpsgenieApi('API_CONNECTION_ID');
}

Contact

Feel free to drop ideas, suggestions or improvements into our Slack community channel.

Changelog

2.0.0

  • Breaking change: URL and query string parameters are now URL encoded, meaning if you encoded them explicitly before you have to remove your own encoding, otherwise they will get double encoded.

0.2.0

  • Added support for the following Alert methods:

  • Added support for the following Alert.Attachment methods:

  • Added support for the following Alert.Details methods:

  • Added support for the following Alert.Note methods:

  • Added support for the following Alert.Saved.Search methods:

    • Create a Saved Search that can be used as Alert.Saved.Search.createSavedSearch or All.createSavedSearchForAlert.
    • Delete Saved Search that can be used as Alert.Saved.Search.deleteSavedSearch or All.deleteSavedSearchForAlert.
    • Get Saved Search that can be used as Alert.Saved.Search.getSavedSearch or All.getSavedSearchForAlert.
    • List Saved Searches that can be used as Alert.Saved.Search.getSavedSearches or All.getSavedSearchesForAlert.
    • Update Saved Search that can be used as Alert.Saved.Search.updateSavedSearch or All.updateSavedSearchForAlert.
  • Added support for the following Alert.Tags methods:

  • Added support for the following Incident methods:

  • Added support for the following Incident.Alert methods:

    • Get Associated Alerts that can be used as Incident.Alert.getAssociatedAlerts or All.getAssociatedAlertsForIncident.
    • Get Responder Alerts that can be used as Incident.Alert.getResponderAlerts or All.getResponderAlertsForIncident.
  • Added support for the following Incident.Details methods:

  • Added support for the following Incident.Note methods:

  • Added support for the following Incident.Tags methods:

  • Added support for the following Incident.Timeline methods:

Copyright Adaptavist 2024 (c) All rights reserved

Readme

Keywords

none

Package Sidebar

Install

npm i @managed-api/opsgenie-sr-connect

Weekly Downloads

2

Version

2.0.0

License

UNLICENSED

Unpacked Size

24 kB

Total Files

7

Last publish

Collaborators

  • mtapsi
  • jtrumm
  • theshumanator
  • ssarapov
  • adaptavist-horizon-dev
  • jsaks
  • eknoll