Skip to main content

invitations

Overview

Nameinvitations
TypeResource
Idgithub.repos.invitations

Fields

NameDatatypeDescription
idintegerUnique identifier of the repository invitation.
html_urlstring
inviteeobjectA GitHub user.
urlstringURL for the repository invitation
node_idstring
inviterobjectA GitHub user.
permissionsstringThe permission associated with the invitation.
repositoryobjectMinimal Repository
expiredbooleanWhether or not the invitation has expired
created_atstring

Methods

NameAccessible byRequired ParamsDescription
list_invitationsSELECTowner, repoWhen authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
list_invitations_for_authenticated_userSELECTWhen authenticating as a user, this endpoint will list all currently open repository invitations for that user.
delete_invitationDELETEinvitation_id, owner, repo
accept_invitation_for_authenticated_userEXECinvitation_id
decline_invitation_for_authenticated_userEXECinvitation_id
update_invitationEXECinvitation_id, owner, repo