Giter Site home page Giter Site logo

API about cachet HOT 15 CLOSED

cachethq avatar cachethq commented on May 5, 2024
API

from cachet.

Comments (15)

vkbansal avatar vkbansal commented on May 5, 2024

This may sound silly but will this include read? Will be very helpful for #4

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

Sorry @vkbansal I don't quite understand. What do you mean by "include read"?

from cachet.

vkbansal avatar vkbansal commented on May 5, 2024

Sorry if wasn't clear. I meant API for fetching data.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

I see, the API will be able to return a JSON feed of incidents and components. This will allow third-parties to use this data too.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

Sorry I've just got you. Yes I've updated the original issue to reflect that.

Sent from my iPhone

On 24 Nov 2014, at 11:27, Vivek Kumar Bansal [email protected] wrote:

Sorry if wasn't clear. I meant API for fetching data.


Reply to this email directly or view it on GitHub.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

@manavo quick thought: we should use the app.key (or something else) as a token for sending API requests that should be private.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

Also I've just linked the metrics API in the list here.

from cachet.

manavo avatar manavo commented on May 5, 2024

Yep, still debating how authentication should best work.

The dingo/api package has an easy way to do basic auth, which uses email/password. But ideally, we should have an API key per user (to not end up with passwords stored elsewhere).

For integrations where we'd be receiving metrics, there should be a separate secret key used for those, since it's more of a webhook type implementation, not a per user-authenticated call.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

Basic Auth solves most of the problem for us I guess. Things like third-party integration would need a secret key "per-party" though I guess.

We could easily generate them.

from cachet.

manavo avatar manavo commented on May 5, 2024

@jbrooksuk can't remember, is the services table for this? Or is the services table for HipChat, Slack, etc?

from cachet.

manavo avatar manavo commented on May 5, 2024

What kind of services are we expecting to send updates? Things like Pingdom? NewRelic?

from cachet.

Ehesp avatar Ehesp commented on May 5, 2024

I think the services table was to send updates on status'. Say, you could have a HipChat service, which can be enabled/disabled. But the services table holds the data to be able to send via Hipchat.

from cachet.

manavo avatar manavo commented on May 5, 2024

Thanks @Ehesp, that's what I thought as well. So we'd need a new table for integrations updating the status of systems.

We probably should put a list together for what integrations we'll support first?

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

services is used to send to third parties. At the moment we don't have a way for third-parties to send to us though.

See #36 for the list of services we can integrate with.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

If the only thing in this list left is the third-parties we should close it in favour of #36.

from cachet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.