Assign Users to Approve Pull Requests
POST/api/v5/repos/:owner/:repo/pulls/:number/assignees
Request
Path Parameters
owner stringrequired
Repository space address (organization or individual's address path)
repo stringrequired
Repository path (path)
number integerrequired
The ordinal number of the PR in this repository, i.e., which PR it is.
Example: 0
Query Parameters
access_token stringrequired
User authorization code
- application/json
Body
assigneesstringrequired
User's personal space URL, separated by commas
Responses
- 200
Successful Response
Response Headers
- application/json
- Schema
- Example (auto)
- 1
Schema
assignees_numberinteger
{
"assignees_number": 0
}
Successful Example
{
"assignees_number": 1
}