跳到主要内容

Get All Issue Comments In Repository

GET 

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

Request​

Path Parameters

    owner stringrequired

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

    repo stringrequired

    Repository path (path)

Query Parameters

    access_token string

    User authorization code

    sort string

    Sort by field, supports 'created' or 'updated'. Default: 'created'.

    direction string

    Sort direction, supports asc/desc

    since string

    Please translate the following content into professional English, keeping the format unchanged. If the content is empty, do not translate it. Do not output anything else or any prompts! It will only return comments updated at this time or later. For example: 2024-11-20T13:00:21%2B08:00 (note that the + sign should be URL encoded as %2B)

    page integer

    The current page number

    per_page integer

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

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_atnull
    • ]