Deadline: Notification API and GitHub support

18 Apr 2009 | By Alex Young | Tags deadline github

Deadline now has a notification API (and it works with GitHub). Notifications are similar to reminders, except they’re sent out in real time. Since adding notifications is so simple, you could hook up all kinds of software to Deadline to get alerts. Plus, you’ll already have configured Deadline with your preferred means of receiving reminders: email, SMS, Jabber, etc, which means you’ll get real time notifications the same way.

Notification API

Accessing the API is simple: a URL is requested with a notification description, and it will be sent out straight away by your preferred reminder methods.

Here’s how it works:

  1. Go to Settings, Feeds/iCal
  2. Copy the Notification URL. This URL contains your secret code (which is like a password) and your user ID
  3. Use the URL to send a notification

Example:


curl "http://deadlineapp.com/notifications/1/93jd81/create.xml/Alert,
%20web%20server%201%20is%20down"

This will send you a notification that reads: “Alert, web server 1 is down”.

GitHub Support

You can link a GitHub project to Deadline using GitHub’s Post-Receive Hooks. This could be really useful for tracking changes to projects by co-workers when you’re out of the office (especially if you have SMS set up).

  1. Edit one of your GitHub repositories
  2. Click Service Hooks in the secondary navigation
  3. Go to Settings, Feeds/iCal in Deadline
  4. Copy the GitHub Hook URL
  5. Paste it into GitHub’s Post-Receive URLs list and press Update Settings

You will now receive notifications when people push changes to the repository.


blog comments powered by Disqus