跳到主要内容

创建Issue评论

POST 

/api/v5/repos/:owner/:repo/issues/:number/comments

Request​

Path Parameters

    owner stringrequired

    仓库所属空间地址(组织或个人的地址path)

    repo stringrequired

    仓库路径(path)

    number stringrequired

    issue编号

Query Parameters

    access_token stringrequired

    用户授权码

Body

    bodystringrequired

    The contents of the comment.

Responses​

成功响应

Response Headers
    Schema
      idinteger
      bodystring
      user object
      avatar_urlstring
      events_urlnull
      followers_urlnull
      following_urlnull
      gists_urlnull
      html_urlstring
      idstring
      loginstring
      member_rolenull
      namestring
      organizations_urlnull
      received_events_urlnull
      remarknull
      repos_urlnull
      starred_urlnull
      subscriptions_urlnull
      typenull
      urlnull
      target object
      issue object
      idinteger
      titlestring
      nubmerinteger
      created_atnull
      updated_atnull