1.0.0 • Published 1 year ago

@rocketoncall/client v1.0.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
1 year ago

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))