cachet-api icon indicating copy to clipboard operation
cachet-api copied to clipboard

Allow to update a component

Open joelibaceta opened this issue 6 years ago • 2 comments

I would like to add a function to update a component, Updating a component status by api could be very useful to automate an status page.

joelibaceta avatar Oct 07 '19 16:10 joelibaceta

Hi @joelibaceta, That's indeed useful.

Please note that using cachet.reportIncident(incident) automatically updates the affected component_id's component_status to whatever you choose. https://github.com/eladnava/cachet-api#report-an-incident

If you just want to update the status without reporting an incident, you could submit a PR with the new functionality.

eladnava avatar Oct 07 '19 18:10 eladnava

Thanks I'm going to work in the PR

joelibaceta avatar Oct 07 '19 20:10 joelibaceta