Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 094b17c

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 397d4b5 commit 094b17c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/v3/repos/invitations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ application/vnd.github.swamp-thing-preview+json
1818

1919
{:toc}
2020

21-
<a id="invite" />
21+
<a id="invite" />
2222

23-
## Invite a user to a repository
23+
## Invite a user to a repository
2424

25-
Use the API endpoint for adding a collaborator [here](/v3/repos/collaborators).
25+
Use the API endpoint for adding a collaborator [here](/v3/repos/collaborators).
2626

2727
<a id="list" />
2828

@@ -81,7 +81,7 @@ When authenticating as a user, this endpoint will list all currently open reposi
8181

8282
## Accept a repository invitation
8383

84-
PATCH /repositories/:repo_id/invitations/:invitation_id
84+
PATCH /user/repository_invitations/:invitation_id
8585

8686
### Response
8787

@@ -91,7 +91,7 @@ When authenticating as a user, this endpoint will list all currently open reposi
9191

9292
## Decline a repository invitation
9393

94-
DELETE /repositories/:repo_id/invitations/:invitation_id
94+
DELETE /user/repository_invitations/:invitation_id
9595

9696
### Response
9797

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy