跳到主要内容

刷新Pull Request评论位置/过期状态

POST 

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

Request​

Path Parameters

    owner stringrequired

    仓库所属空间地址(组织或个人的地址path)

    repo stringrequired

    仓库路径(path)

    number integerrequired

    Pull Request编号

    Example: 0

Query Parameters

    access_token stringrequired

    用户授权码

Body

    refresh_by_pathsstring[]

    按文件路径刷新,文件路径和评论id均不传则刷新所有

    refresh_by_note_idstring

    按评论id刷新,文件路径和评论id均不传则刷新所有

Responses​

成功响应

Response Headers
    Schema
      note_idsinteger[]required