Page MenuHomeDevCentral

Lookup objects on Phabricator
Open, LowPublic

Description

Resolve Dxxx, Txxx.

JS code from infralog API could help for pattern matching and exceptions if we also want to parse commits.

This shouldn't be enabled on all chans but only through a +devcentral flag.

API method is https://devcentral.nasqueron.org/conduit/method/phid.lookup/

So it's something like:

https://devcentral.nasqueron.org/api/phid.lookup with two parameters curl passes as -d:

  • api.token=api-token
  • names[0]=D111

Reply is fairly exhaustive and doesn't require any extra call:

{
  "D111": {
    "phid": "PHID-DREV-ce5qicicoxe6a46xictk",
    "uri": "https://devcentral.nasqueron.org/D111",
    "typeName": "Differential Revision",
    "type": "DREV",
    "name": "D111",
    "fullName": "D111: Bypass message queue when it risks a collision with SIGCHLD.",
    "status": "closed"
  }
}