update intros (#27299)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Collaborators
|
||||
intro: 'The Collaborators API allows you to add, invite, and remove collaborators from a repository.'
|
||||
intro: 'The Collaborators API allows you manage collaborators for a repository.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
---
|
||||
title: Invitations
|
||||
intro: 'The Repository Invitations API allows users or external services to invite other users to collaborate on a repo.'
|
||||
title: Repository invitations
|
||||
allowTitleToDifferFromFilename: true
|
||||
shortTitle: Invitations
|
||||
intro: 'The Repository invitations API allows you to view and manage invitations to collaborate on a repository.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -11,12 +13,12 @@ topics:
|
||||
miniTocMaxHeadingLevel: 3
|
||||
---
|
||||
|
||||
The invited users (or external services on behalf of invited users) can choose to accept or decline the invitations.
|
||||
## About the Repository invitations API
|
||||
|
||||
The Repository invitations API allows you to view and manage invitations to collaborate on a repository. The invited users (or external services on behalf of invited users) can choose to accept or decline the invitations.
|
||||
|
||||
To add a user as a collaborator, use the Collaborators API instead. For more information, see "[Add a repository collaborator](/rest/collaborators/collaborators#add-a-repository-collaborator)."
|
||||
|
||||
Note that the `repo:invite` [OAuth scope](/developers/apps/scopes-for-oauth-apps) grants targeted
|
||||
access to invitations **without** also granting access to repository code, while the
|
||||
`repo` scope grants permission to code as well as invitations.
|
||||
|
||||
### Invite a user to a repository
|
||||
|
||||
Use the API endpoint for adding a collaborator. For more information, see "[Add a repository collaborator](/rest/collaborators/collaborators#add-a-repository-collaborator)."
|
||||
Reference in New Issue
Block a user