|
From: | Phil Holmes |
Subject: | Re: Allura API |
Date: | Mon, 31 Aug 2015 16:28:42 +0100 |
To: "Phil Holmes" <address@hidden>; <address@hidden> Sent: Monday, August 31, 2015 4:23 PM Subject: Re: Allura API
Phil Holmes wrote Monday, August 31, 2015 4:10 PMVery quick and dirty proof of concept. This lists all the patches with thestatus "Started" and finds their Rietveld URLs. The theory works just as well with patch:new, but there were so few results it didn't demonstrate much. http://philholmes.net/lilypond/allura/Promising start, Phil! Shows you've mastered the authentication and API documentation. No mean feat.I think you've found status:Started && _patch:review, rather than just status:Started, yes?Or maybe just _patch:review. Trevor
No authentication needed to do this, so I've not mastered that :-(. I meant what you said about the labels, but posted inaccurately.
Most difficult bit was working out how to parse JSON in c# :-o Oh: and navigating the almost impenetrable documentation to the one page I found useful: https://sourceforge.net/p/forge/documentation/Allura%20API/
This points out that something like https://sourceforge.net/rest/p/testlilyissues/issues/4584 returns the JSON representation of ticket 4584. --Phil Holmes
[Prev in Thread] | Current Thread | [Next in Thread] |