Set the scopes for a pull request
Set the scopes for a pull request.
This addresses the scopes by pull request number alone, so the report cannot say which revision it was computed for, and the last one to arrive wins whatever head that was. Prefer PUT /repos/{owner}/{repository}/commits/{sha}/scopes, which names the revision.
Path parameters
The pull request number
The pull request number
The owner of the repository
The owner of the repository
The name of the repository
The name of the repository
Request body
Response
Successful Response
Changes
Changed in 1 of the 10 revisions of this API.3
- ○
the endpoint scheme security
CIApplicationKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
ApplicationAuthwas removed from the APIapi-security-removed
- ○
the endpoint scheme security
GitHubTokenBearerAuthwas removed from the APIapi-security-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○