Can you enrich `transaction.search` with more info for commits and diffs?


#1

I’m using the Firehose webhook to listen and react to some Phabricator events. Most of the data I’ve needed is provided by this webhook, but I’ve found 3 transactions that have "type": null so I can’t tell one from the other just by inspecting the Firehose data.

Can details about the following transactions be made available through transaction.search or other API method?

  • Adding a reviewer to a differential revision:
    {
        "id": 81,
        "phid": "PHID-XACT-DREV-bk7wxdwumyxcmjx",
        "type": null,
        "authorPHID": "PHID-USER-r3axkdu63rznqohq3r4b",
        "objectPHID": "PHID-DREV-u5fsxlqqretof33plgw4",
        "dateCreated": 1536463817,
        "dateModified": 1536463817,
        "comments": [],
        "fields": {}
    }
  • Raising a concern in a commit:
    {
        "id": 29,
        "phid": "PHID-XACT-CMIT-qtl3zpmg3duo23y",
        "type": null,
        "authorPHID": "PHID-USER-xstnvqr3lo6nt7amaicq",
        "objectPHID": "PHID-CMIT-hhxrbsi7hqdx437bmssd",
        "dateCreated": 1536464110,
        "dateModified": 1536464110,
        "comments": [],
        "fields": {}
    }
  • Accepting a commit:
    {
        "id": 31,
        "phid": "PHID-XACT-CMIT-lpiuamr74zbwgox",
        "type": null,
        "authorPHID": "PHID-USER-xstnvqr3lo6nt7amaicq",
        "objectPHID": "PHID-CMIT-hhxrbsi7hqdx437bmssd",
        "dateCreated": 1536464164,
        "dateModified": 1536464164,
        "comments": [],
        "fields": {}
    }

Thanks!