跳到主要内容

Get All Comments of a Specific Issue in the Repository

GET 

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

Request​

Path Parameters

    owner stringrequired

    Repository space address (address path of the enterprise, organization, or individual)

    repo stringrequired

    Repository path (path)

    number stringrequired

    Issue Number (case-sensitive, do not add #)

Query Parameters

    access_token string

    User authorization code

    page integer

    The current page number

    per_page integer

    The number of items per page, with a maximum of 100. The default is 20.

    order string

    Sort order: asc(default), desc

    since string

    The start update time, with the time format required as 2024-11-10T08:10:30.000%2B08:00 (Note that the + sign needs to be URL encoded as %2B)

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • 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_atstring
      updated_atstring
    • ]