Skip to content

Commit 31eddd9

Browse files
committed
Move collaborator scope information into table instead
1 parent 9e34059 commit 31eddd9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

content/v3/oauth.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ Name | Description
173173
`user` | Grants read/write access to profile info only. Note that this scope includes `user:email` and `user:follow`.
174174
`user:email`| Grants read access to a user's email addresses.
175175
`user:follow`| Grants access to follow or unfollow other users.
176-
`public_repo`| Grants read/write access to code, commit statuses, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
177-
`repo`| Grants read/write access to code, commit statuses, and deployment statuses for public and private repositories and organizations.
176+
`public_repo`| Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
177+
`repo`| Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public and private repositories and organizations.
178178
`repo_deployment`| Grants access to [deployment statuses][deployments] for public and private repositories. This scope is only necessary to grant other users or services access to deployment statuses, *without* granting access to the code.
179179
`repo:status`| Grants read/write access to public and private repository commit statuses. This scope is only necessary to grant other users or services access to private repository commit statuses *without* granting access to the code.
180180
`delete_repo`| Grants access to delete adminable repositories.
@@ -250,10 +250,6 @@ your application. More often than not, users will just close the window
250250
or press back in their browser, so it is likely that you'll never see
251251
this error.
252252

253-
### Checking collaborators
254-
255-
When requesting [repo collaborators](https://developer.github.com/v3/repos/collaborators/) the scope `public_repo` or `repo` is required otherwise Github will return `403 Forbidden: Must have push access to view repository collaborators.`.
256-
257253
## Common errors for the access token request
258254

259255
In the second phase of exchanging a code for an access token, there are

0 commit comments

Comments
 (0)