pull_requests

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

Deprecated: use PUT on /repos/{owner}/{repository}/commits/{sha}/scopes 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

Changes

Changed in 1 of the 10 revisions of this API.3

    • the endpoint scheme security CIApplicationKey was added to the API

      api-security-added

    • the endpoint scheme security ApplicationAuth was removed from the API

      api-security-removed

    • the endpoint scheme security GitHubTokenBearerAuth was removed from the API

      api-security-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog