Phabricator Conduit API 支持编辑评论/交易吗?

问题描述 投票:0回答:1

我遇到一个项目,其中我必须开发一个工具来更新 Maniphest 任务的注释。

我已经搜索了 Phabricator Conduit API 页面,但我只能找到用于应用新交易的 API。

是否有任何 API 或解决方法来编辑评论/交易?

提前致谢。

phabricator
1个回答
1
投票

您可以将

maniphest.edit
与交易类型
description
一起使用,如下所示:

curl https://secure.phabricator.com/api/maniphest.edit \
    -d api.token=api-token \
    -d transactions[0][type]=description \
    -d transactions[0][value]=My%20new%20task%20description \
    -d objectIdentifier=1
© www.soinside.com 2019 - 2024. All rights reserved.