如何通过api更新github问题的问题正文? [英] How can I update the issue body of a github issue via the api?

查看:58
本文介绍了如何通过api更新github问题的问题正文?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎找不到与此相关的文档.我想通过API更新问题的正文或标题.

I can't seem to find documentation regarding this. I want to update the body or title of an issue via the API.

任何帮助将不胜感激.

推荐答案

我实际上找到了记录在案的解决方案.它使用的是PATCH方法.参见此处: https://developer.github.com/v3/issues/#编辑问题

I actually found the documented solution. It is using the PATCH method. See here: https://developer.github.com/v3/issues/#edit-an-issue

PATCH /repos/:owner/:repo/issues/:number

请求参数: https://developer.github.com/v3/issues/#parameters-3

这篇关于如何通过api更新github问题的问题正文?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆