[Buildbot-devel] Filtering a rest request by a nested value

Francesco Di Mizio francescodimizio at gmail.com
Mon Mar 16 16:49:48 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150316/b2829b62/attachment.html>


More information about the devel mailing list