When I call diffusion.repository.search or various other Conduit endpoints the response can contain PHID-PLCY-* phids referencing various built-in or custom policies. In the Phabricator web gui these are rendered in a human readable manner (e.g. https://phabricator.wikimedia.org/diffusion/PHAB/manage/policies/). I'd like to be able to provide similar information in the Tools Lab management console by reading the data via a conduit api call.
A lookup done via phid.query for a custom policy only returns "Custom Policy" rather than providing any information on the details of said policy. The Phabricator web gui can produce a description of a custom policy that is human readable (e.g. https://phabricator.wikimedia.org/transactions/new/PHID-XACT-PROJ-2efs6bpul7vfqev/). I would like to be able to get the data needed to render something similar via Conduit.