跳到主要内容

Get Single Commit Comment

GET 

/api/v5/repos/:owner/:repo/commits/:ref/comments

Request​

Path Parameters

    owner stringrequired

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

    repo stringrequired

    Repository path (path)

    ref stringrequired

    commit's SHA

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.

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • bodystring
      created_atstring
      idinteger
      updated_atstring
      user object
      idinteger
      loginstring
      namestring
      typestring
    • ]