Netflix blesk is a lightweight client for pushing notifications to web based applications/sites.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore 1st commit Sep 10, 2014
LICENSE adding LICENSE Sep 10, 2014
OSSMETADATA adding OSSMETADATA for NetflixOSS tracking Dec 11, 2015
README.md add credit for dpavlik Sep 12, 2014
blesk.js Making endpoint configurable Sep 10, 2014

README.md

Netflix Blesk

Netflix blesk is a lightweight client for pushing notifications to web based applications/sites.

For now, we are only releasing the client portion of Blesk. Here is a sample request/response expected from the server side portion.

Sample request endpoint (for an app named myApp):

GET https://bleskServer/api/v1/app/myApp

Sample response Payload (where 123456789 & 987654321 are a unique/random/GUID string)

{
   "myApp_123456789":{
      "appId":"myApp",
      "notificationType":"info",
      "message":"This is a info notification for myApp",
      "expire":1412103600000,
      "start":1407265200000
   },
   "myApp_987654321":{
      "appId":"myApp",
      "notificationType":"alert",
      "message":"This is an alert notification for myApp",
      "expire":1412103600000,
      "start":1407265200000
   }
}

Blesk's original implementation was done by David Pavlik, www.linkedin.com/in/davidpav, now at SpaceX.