[Buildbot-devel] Filtering a rest request by a nested value
Dustin J. Mitchell
dustin at v.igoro.us
Tue Mar 17 01:42:23 UTC 2015
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
>
More information about the devel
mailing list