跳到主要内容

Reply to Pull Request comment.

POST 

/api/v5/repos/:owner/:repo/pulls/:number/discussions/:discussion_id/comments

Request​

Path Parameters

    owner stringrequired

    Warehouse's space address (the path of the organization or individual's address)

    repo stringrequired

    Repository path (path)

    number integerrequired

    The ordinal number of the PR in this repository, i.e., which PR it is.

    discussion_id stringrequired

    Discussion ID

Query Parameters

    access_token string

    User authorization code

Body

    bodystringrequired

Responses​

Response Headers
    Schema
      idstringrequired

      Discussion ID

      noteIdintegerrequired

      comment_id

      bodystringrequired