invitations
Overview
Name | invitations |
Type | Resource |
Id | github.repos.invitations |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | Unique identifier of the repository invitation. |
created_at | string | |
expired | boolean | Whether or not the invitation has expired |
html_url | string | |
invitee | object | A GitHub user. |
inviter | object | A GitHub user. |
node_id | string | |
permissions | string | The permission associated with the invitation. |
repository | object | Minimal Repository |
url | string | URL for the repository invitation |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_invitations | SELECT | owner, repo | When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. |
list_invitations_for_authenticated_user | SELECT | When authenticating as a user, this endpoint will list all currently open repository invitations for that user. | |
delete_invitation | DELETE | invitation_id, owner, repo | |
accept_invitation_for_authenticated_user | EXEC | invitation_id | |
decline_invitation_for_authenticated_user | EXEC | invitation_id | |
update_invitation | EXEC | invitation_id, owner, repo |