Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to update a component #8

Open
joelibaceta opened this issue Oct 7, 2019 · 2 comments
Open

Allow to update a component #8

joelibaceta opened this issue Oct 7, 2019 · 2 comments

Comments

@joelibaceta
Copy link

joelibaceta commented Oct 7, 2019

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.

@eladnava
Copy link
Owner

eladnava commented Oct 7, 2019

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.

@joelibaceta
Copy link
Author

Thanks I'm going to work in the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants