【发布时间】:2018-11-08 17:22:35
【问题描述】:
我正在尝试连接到 Phabricator 管道 API 并通过绑定到谷歌表的 javascript 创建任务。
Conduit API Docs linked here 并没有真正解释太多。我见过更好的 API 文档!
以下是我的想法,但这是一个 cURL,我不知道如何使它成为 Javascript 或枯萎这是否可行?感谢您的帮助
curl https://secure.phabricator.com/api/maniphest.edit \
-d api.token=api-token \
-d param= [
{
"type": "title",
"value": "A value from a cell on the googlesheet"
},
{
"type": "description",
"value": "A value from a cell on the googlesheet"
},
{
"type": "subscribers.add",
"value": "A value from a cell on the googlesheet"
}
] \
【问题讨论】:
-
你发现了吗?