How do I get messages via the API?

wmdigital's Avatar

wmdigital

26 Jun, 2007 12:05 PM

I've been playing with the API for a few days now and it seems pretty solid. What I'm' left wondering though is if there is a way to get messages associated with a project via API calls? It's not mentioned inside of the docs. I was able to figure out how to retrieve a singular message: http://myaccount.lighthouseapp.com/projects/{project#}/messages/{messag#}.xml

However this requires me to know the ID of the message, but I can't see any reference to get the IDs in any of the other API calls. Is this currently available?

Thanks, wmdigital

  1. 1 Posted by Rick on 26 Jun, 2007 03:24 PM

    Rick's Avatar

    I may have partial support for that by just hitting projects/#/messages.xml. The API follows a common convention that's pretty easily discovered. There are some issues like pagination and caching I'd like to revisit before I document it though.

  2. 2 Posted by wmdigital on 27 Jun, 2007 01:51 AM

    wmdigital's Avatar

    Thanks for the update. I had this URL before but it was giving a 500 error when I tried it. Similarly when I try something like /users.xml or /users/{user#}.xml this didn't return anything. I'm probably just a little ahead of your releases for the API but I want to get as much of this mapped as I can.

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