Skip to content

Commit bb55eb1

Browse files
authored
Merge branch 'main' into push-protection-web-ui
2 parents 65e85c6 + de533d7 commit bb55eb1

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

content/rest/collaborators/collaborators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Collaborators
3-
intro: 'The Collaborators API allows you to add, invite, and remove collaborators from a repository.'
3+
intro: 'The Collaborators API allows you manage collaborators for a repository.'
44
versions:
55
fpt: '*'
66
ghes: '*'

content/rest/collaborators/invitations.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Invitations
3-
intro: 'The Repository Invitations API allows users or external services to invite other users to collaborate on a repo.'
2+
title: Repository invitations
3+
allowTitleToDifferFromFilename: true
4+
shortTitle: Invitations
5+
intro: 'The Repository invitations API allows you to view and manage invitations to collaborate on a repository.'
46
versions:
57
fpt: '*'
68
ghes: '*'
@@ -11,12 +13,12 @@ topics:
1113
miniTocMaxHeadingLevel: 3
1214
---
1315

14-
The invited users (or external services on behalf of invited users) can choose to accept or decline the invitations.
16+
## About the Repository invitations API
17+
18+
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.
19+
20+
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)."
1521

1622
Note that the `repo:invite` [OAuth scope](/developers/apps/scopes-for-oauth-apps) grants targeted
1723
access to invitations **without** also granting access to repository code, while the
1824
`repo` scope grants permission to code as well as invitations.
19-
20-
### Invite a user to a repository
21-
22-
Use the API endpoint for adding a collaborator. For more information, see "[Add a repository collaborator](/rest/collaborators/collaborators#add-a-repository-collaborator)."

0 commit comments

Comments
 (0)