跳到主要内容

Create Issue Comment

POST 

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

Request​

Path Parameters

    owner stringrequired

    Repository space address (organization or individual's address path)

    repo stringrequired

    Repository path (path)

    number stringrequired

    issue number

Query Parameters

    access_token stringrequired

    User authorization code

Body

    bodystringrequired

    The contents of the comment.

Responses​

Successful Response

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