latestOpenAPI 3.1.02026-08-1963241304.5 KB

ae394a06c465

pull_requests

Set the scopes for a pull request (deprecated, use PUT)

Deprecated: use PUT on this endpoint instead.

post/repos/{owner}/{repository}/pulls/{number}/scopes

Path parameters

numberinteger required

The pull request number

The pull request number

ownerstring required

The owner of the repository

The owner of the repository

repositorystring required

The name of the repository

The name of the repository

Request body

scopesstring[] required
all_scopesboolean

Response

Successful Response