我了解当我通过API创建GitHub问题时,我可以提交初始正文/注释:
var issue = {
"title": title,
"body": bodytext,
"assignees":[]
};
$.ajax({
type: "POST",
url: uploadURL,
contentType: "application/json",
dataType: "json",
data: JSON.stringify(issue)
})
.done(function( data ) {
console.log(data);
});
有没有办法在原创期间对该问题单独发表评论?谢谢!