pull_requests
Set the scopes for a pull request (deprecated, use PUT)
Changed onDeprecated: use PUT on /repos/{owner}/{repository}/commits/{sha}/scopes instead.
post/repos/{owner}/{repository}/pulls/{number}/scopes
Request
- Base URL: https://api.mergify.com/v1
- URL: https://api.mergify.com/v1/repos/{owner}/{repository}/pulls/{number}/scopes
- Auth: HTTP bearer
Path parameters
numberinteger required
The pull request number
ownerstring required
The owner of the repository
repositorystring required
The name of the repository
Request body
Response
Successful Response
Changes
- breaking
removed the media type
application/jsonfor the response with the status
- breaking
- info
added the media type
application/jsonfor the response with the status
- info