Submit multiple changesets from one request?

Kevin Gessner's Avatar

Kevin Gessner

24 Feb, 2011 08:49 PM

I'm using the Lighthouse API to add changesets from Kiln to Lighthouse. It appears that each POST to changesets.xml can add only a single changeset. However, we regularly get pushes of many (sometimes tens of thousands) of changesets, and I don't want to flood you system or mine with that many requests. I tried POSTing multiple <changeset>s inside a <changesets> tag, but that just got me an HTTP 500.

Can I bundle multiple changesets into a single POST?

Thanks in advance.

  1. 1 Posted by Nicole on 01 Mar, 2011 09:25 PM

    Nicole's Avatar

    Kevin -

    Unfortunately you're not able to bundle changsets. What is your intent to have so many changesets? The most recent 100 or so would dominate your your timeline, the rest would go unseen.

    Thanks,
    Nicole

  2. Nicole closed this discussion on 01 Mar, 2011 09:25 PM.

  3. Kevin Gessner re-opened this discussion on 01 Mar, 2011 09:32 PM

  4. 2 Posted by Kevin Gessner on 01 Mar, 2011 09:32 PM

    Kevin Gessner's Avatar

    My intent is simply completeness: if a repository is associated with a Lighthouse project, all of the changesets from the repository should be attached to the project. I presume that all the changesets would appear on the "List changesets" page after they've fallen off the timeline? An arbitrary limit on the number of changesets seems unnecessary.

  5. 3 Posted by Nicole on 01 Mar, 2011 09:41 PM

    Nicole's Avatar

    Kevin -

    They don't fall off, every changeset you post will be available to view through pagination on the "List changesets" page.

    Thanks,
    Nicole

  6. Nicole closed this discussion on 01 Mar, 2011 09:41 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