cachet-api
cachet-api copied to clipboard
Allow to update a component
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.
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.
Thanks I'm going to work in the PR