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
- application/json
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
- 200
Successful Response
Response Headers
- application/json
- Schema
- Example (auto)
Schema
note_idsinteger[]required
{
"note_ids": [
0
]
}