Reaching Tickets Past the First Page

Kyle Daigle's Avatar

Kyle Daigle

01 Nov, 2007 04:45 AM

Hey guys. So after a long night, I could finally get the API to do what I need to. But I can't seem to access anything past the first 30 tickets.

I've tried adding ?page=1 then 2 then 3, but I can't seem to get anything but the first original 30 tickets. I know there are 65 tickets that match that request. Any suggestions?

  1. 1 Posted by Rick on 01 Nov, 2007 05:32 AM

    Rick's Avatar

    This doesn't work for you? Sending ?page=2 should work fine. It's basically an XML version of the html page. Try it without the .xml extension, and it should match the xml feed.

  2. 2 Posted by Kyle Daigle on 01 Nov, 2007 01:35 PM

    Kyle Daigle's Avatar

    Rick -

    Thanks again. I, after wrestling with a case of dyslexia, got it to work with you suggestion. I wasn't encoding the colon for some reason. Idiot me.

    I'm probably going to put together a little 'dummies guide' for the API once I get done with this projects, because I think it would help others who might have had some similar initial glitches.

    THANKS for a great product!

  3. 3 Posted by Ajay Kapur on 10 Jul, 2008 12:45 AM

    Ajay Kapur's Avatar

    Rick, is there a way to get all data without making requests page-by-page. If not, is there a way to get the total number of items?


  4. 4 Posted by hpoydar on 19 Sep, 2008 08:17 PM

    hpoydar's Avatar

    +1 on the no-pagination request. Thanks!

  5. 5 Posted by Martin Pilkingt... on 21 Sep, 2008 02:14 PM

    Martin Pilkington's Avatar

    While no-pagination would be nice I can understand why it exists. If you have 100s of tickets then you're going to have an absolutely huge XML file to generate and load. The easy way to work through is:

    if (number of tickets on page == 30) {

     get next page

    } else {

     got all tickets


  6. brandi closed this discussion on 29 Jun, 2012 10:03 PM.

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

Keyboard shortcuts


? 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