刷新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
用户授权码
- application/json
Body
refresh_by_pathsstring[]
按文件路径刷新,文件路径和评论id均不传则刷新所有
refresh_by_note_idstring
按评论id刷新,文件路径和评论id均不传则刷新所有
Responses
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
Schema
note_idsinteger[]required
{
"note_ids": [
0
]
}