@rocketoncall/client

1.0.0 • Public • Published

Rocket On-call :: nodejs-client

Simplify on-call management with Rocket. Low availability is source of loss of money, deterioration of your brand image, and financial penalties. Reduce them by involving the right people, in the right way, at the right time.

Usage

Create an account on Rocket On-call and activate webhook integration.

npm install @rocketoncall/client
const send = require('../src/client')

send('apiKey', {
    correlationId:"MyCorrelatioEnId",
    title:"My new new incident",
    content:"This is an example of an incident triggered through the REST API.",
    priority:1,
    tags:["MyTag"]
})
.then(s =>console.log('success:', s))
.catch(e => console.error('error:', e))

Package Sidebar

Install

npm i @rocketoncall/client

Weekly Downloads

0

Version

1.0.0

License

SEE LICENSE IN LICENSE

Unpacked Size

14.3 kB

Total Files

5

Last publish

Collaborators

  • rpenco
  • computingsquare