Hello, Am Donnerstag, 23. August 2018, 09:58:38 CEST schrieb Ludwig Nussel:
Looking at the upstream cachet documentation there seems to be api support to automate updating the status of services. What needs to be done to get a token there and hook up services?
I have to admit that I never played with the API, so I can only give you some pointers: A good starting point is having an account on status.o.o. I took your mail as a request for that ;-) and just sent you an invitation. http://status.opensuse.org/dashboard/user shows your API token. (Obviously you have to be logged in.) https://docs.cachethq.io/docs/api-authentication explains how to authentificate with that token. Unfortunately the API documentation is either not existing or well hidden from the documentation. Instead, I'll point you to client libraries https://docs.cachethq.io/docs/client-libraries - either use one of them, or look at the source code to understand the API ;-) Regards, Christian Boltz --
Why not just make it configurable (/etc/sysconfig/something) with a sane default? "/etc/sysconfig" and "sane" do not go in the same sentence [> Jon Nelson and Cristian Rodríguez in opensuse-factory]
-- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org