使用方法 user.query(如下)的 Arcanist API 调用管道语句通过 Arcanist 和 Phabricator 之间已经设置的管道成功地从 Phabricator 返回了有关用户的大量信息,但我有兴趣检索用户的电子邮件地址。 有什么建议么?
$ echo {\"usernames\": [\"jdoe\"]} | arc call-conduit user.query
等待标准输入上的 JSON 参数...
{"error":null,"errorMessage":null,
"response":[{
"phid":"PHID-USER-4fltrivg3apuizheic7s",
"userName":"jdoe",
"realName":"John Doe",
"image":"http:\/\/xxxxxxxxx.global.ldap.wan\/res\/phabricator\/3eb28cd9\/rsrc\/image\/avatar.png",
"uri":"http:\/\/xxxxxxxxxx.global.ldap.wan\/p\/jdoe\/",
"roles":["verified","approved","activated"]
}]
}