[Buildbot-devel] Filtering a rest request by a nested value
Francesco Di Mizio
francescodimizio at gmail.com
Tue Mar 17 14:14:54 UTC 2015
Thanks. I was also trying to use the websocket. I can connect ok.
When subscribing with
{'req': 'startConsuming', 'options': {}, 'path': ['change']}
what does change look like? Could I get a working example? Then I could
also update the docs with it.
Francesco
On Tue, Mar 17, 2015 at 2:42 AM, Dustin J. Mitchell <dustin at v.igoro.us>
wrote:
> That's not currently supported. However, I just learned about
> http://goessner.net/articles/JsonPath/ which may be a way to implement
> this.
>
> Dustin
>
> On Mon, Mar 16, 2015 at 12:49 PM, Francesco Di Mizio
> <francescodimizio at gmail.com> wrote:
> > As an example, consider the sourcestamps endpoint.
> >
> > When accessed, it returns sourcestamps that may optionally have a patch
> > filled with its own fields as well. Something like
> >
> > {
> > "branch": "main",
> > "codebase": "",
> > "created_at": 1426521061,
> > "patch": {
> > "author": "myself",
> > "body": "xxxxxxxxxxxHuge valuexxxxxxxxxx",
> > "comment": "patch for shelf 110179",
> > "level": 1,
> > "patchid": 29,
> > "subdir": ""
> > },
> >
> >
> > Can I get the sourcestamps that only match a criteria on any of the
> patche's
> > value?
> > Been checking the answer in the code without much luck.
> >
> > Cheers,
> > Francesco
> >
> >
> ------------------------------------------------------------------------------
> > Dive into the World of Parallel Programming The Go Parallel Website,
> > sponsored
> > by Intel and developed in partnership with Slashdot Media, is your hub
> for
> > all
> > things parallel software development, from weekly thought leadership
> blogs
> > to
> > news, videos, case studies, tutorials and more. Take a look and join the
> > conversation now. http://goparallel.sourceforge.net/
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150317/e570b0f0/attachment.html>
More information about the devel
mailing list