跳到主要内容

Refresh Pull Request comment position/expiration status

POST 

/api/v5/repos/:owner/:repo/pulls/:number/refresh_position

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

    Pull Request Number

    Example: 0

Query Parameters

    access_token stringrequired

    User authorization code

Body

    refresh_by_pathsstring[]

    Refresh file path, if file path and comment id are not passed, refresh all

    refresh_by_note_idstring

    Refresh by comment id, if file path and comment id are not passed, refresh all.

Responses​

Successful Response

Response Headers
    Schema
      note_idsinteger[]required