Github API 获取文件中的评论
Github API get Comments made in a file
通读 gh api v3 的文档,我无法找到 return 对我来说在一行中发表的评论的终点。是否可以获取评论以便删除或编辑它们?
要获取 pull request 审核评论,您可以使用 Github API v3 list review comments on pull request:
GET /repos/:owner/:repo/pulls/:number/comments
例如:https://api.github.com/repos/mui-org/material-ui/pulls/3132/comments
要edit/delete条评论,获取评论ID然后使用edit review comment API and delete review comment API
通读 gh api v3 的文档,我无法找到 return 对我来说在一行中发表的评论的终点。是否可以获取评论以便删除或编辑它们?
要获取 pull request 审核评论,您可以使用 Github API v3 list review comments on pull request:
GET /repos/:owner/:repo/pulls/:number/comments
例如:https://api.github.com/repos/mui-org/material-ui/pulls/3132/comments
要edit/delete条评论,获取评论ID然后使用edit review comment API and delete review comment API