首页 文章

如何使用Github GraphQL Api创建问题和标签?

提问于
浏览
5

Api的V3为此提供了一个REST接口:

POST / repos /:owner /:repo / issues

{
  "title": "Found a bug",
  "body": "I'm having a problem with this.",
  "assignees": [
    "octocat"
  ],
  "milestone": 1,
  "labels": [
    "bug"
  ]
}

https://developer.github.com/v3/issues/

您甚至可以使用GraphQL Api添加表情符号反应:

https://developer.github.com/v4/mutation/addreaction/

或评论:

https://developer.github.com/v4/mutation/addcomment/

我已经查看了可用的突变,我只能得出结论,你不能对新的Api产生问题 .

https://developer.github.com/v4/mutation/

1 回答

相关问题