Skip to main content

invitations

Overview

Nameinvitations
TypeResource
Idgithub.repos.invitations

Fields

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

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