Notification API

vgraupera's Avatar

vgraupera

16 Jan, 2009 01:12 AM

Hi,

I am working on an app using the lighthouse API.

Is there a way to get notified of changes outside of email (ideally a callback mechanism) so that for example when a new ticket is created, or a ticket updated my app would know and then be able to call the lighthouse API to get the details?

I don't want to be polling the lighthouse API.

Thanks,

Vidal.

  1. 1 Posted by Rick on 16 Jan, 2009 01:28 AM

    Rick's Avatar

    Why yes there is. It's still private and experimental, but you can play around with it. As I said there, we still may throttle the number of callbacks allowed per Lighthouse account based on Plan. It's being used now in Tender though, so it works and shouldn't change that drastically.

  2. Rick closed this discussion on 16 Jan, 2009 01:28 AM.

  3. John re-opened this discussion on 27 Jan, 2009 10:27 PM

  4. 2 Posted by John on 27 Jan, 2009 10:27 PM

    John's Avatar

    This could be useful - we are seeing HTTP errors when we send several calls to the API too quickly, at the moment we have to add a short delay between each call.

  5. 3 Posted by System on 11 Mar, 2009 05:52 PM

    System's Avatar

    This discussion was assigned to rick, on ticket 260.

  6. 4 Posted by Max Henstell on 16 Jan, 2010 04:18 PM

    Max Henstell's Avatar

    Forgive me if I'm doing something stupid, but I was able to set my callback to a PHP script on my server that dumps anything POSTed to a txt file, although I don't seem to be getting anything when I update my lighthouse project. Am I missing something obvious?

  7. 5 Posted by Nicole on 19 Jan, 2010 09:27 PM

    Nicole's Avatar

    Max -

    Can you post your script and we'll see if we can help you troubleshoot the issue.

    Thanks,
    Nicole

  8. 6 Posted by Max Henstell on 19 Jan, 2010 09:34 PM

    Max Henstell's Avatar

    Sorry, I believe it's working now. Perhaps it just took a while for the callbacks to start once registered? One more question - is there a way to delete callback entries? I have two registered (had to switch servers) although eventually I will need to register a non-testing machine and delete my first two callbacks.

    Thanks!

  9. 7 Posted by Rick on 19 Jan, 2010 09:45 PM

    Rick's Avatar

    Just access it with the DELETE method.

    DELETE /callbacks/123
    
    curl -X DELETE http://foo.lighthouseapp.com/callback_handlers/123
    
  10. Nicole closed this discussion on 08 May, 2012 07:47 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac