如何使用BitBucket REST api 2.0发布请求请求注释?
使用REST API 1.0,我可以执行以下操作
Using REST API 1.0, I can do the following
POST /api/1.0/repositories/{owner}/{repo}/pullrequests/1/comments
2.0中的等效项是什么? 2.0 文档 for pullrequests资源状态最后,您可以使用此资源来同时管理对拉取请求的评论。我没有看到与1.0伴侣相似的评论的POST;
What is the equivalent of this in 2.0? 2.0 documentation for pullrequests resource states "Finally, you can use this resource to manage the comments on a pull request as well." I don't see a POST for comments similar to 1.0 companion; nor does PUT do anything about comments.
是否在2.0版支持的PR上发布注释?
Is posting comments on a PR supported in 2.0?
不幸的是,拉取请求注释当前在2.0中为只读。我们当然很想完成该API,但是这些工作的优先级却一直没有得到重视。
Unfortunately pull request comments are currently read-only in 2.0. We are definitely keen to finish that API, but these efforts have been rather under prioritized.
目前,1.0仍然是改变PR评论的唯一方法。
For now, 1.0 remains the only way to mutate PR comments.