【发布时间】:2018-08-08 14:54:22
【问题描述】:
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 提出问题。
【问题讨论】:
-
他们似乎在“预览”中添加了一些突变developer.github.com/v4/mutation/createissue
标签: graphql github-api github-graphql