Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Repository invitations let you manage who you collaborate with.
Unique identifier of the repository invitation.
Example:42
Minimal Repository
Simple User
Simple User
The permission associated with the invitation.
Allowed values:readwriteadmintriagemaintain
Example:read
Example:2016-06-13T14:52:50-05:00
Whether or not the invitation has expired
URL for the repository invitation
Example:https://api.github.com/user/repository-invitations/1
Example:https://github.com/octocat/Hello-World/invitations
invitation_id parameter
The permissions that the associated user will have on the repository. Valid values are read
, write
, maintain
, triage
, and admin
.
Allowed values:readwritemaintaintriageadmin
Response
Repository invitations let you manage who you collaborate with.
Unique identifier of the repository invitation.
Example:42
Minimal Repository
Simple User
Simple User
The permission associated with the invitation.
Allowed values:readwriteadmintriagemaintain
Example:read
Example:2016-06-13T14:52:50-05:00
Whether or not the invitation has expired
URL for the repository invitation
Example:https://api.github.com/user/repository-invitations/1
Example:https://github.com/octocat/Hello-World/invitations
invitation_id parameter
Response
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
An SSH key granting access to a single repository.
You can create a read-only deploy key.
A name for the key.
The contents of the key.
If true
, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see “Repository permission levels for an organization” and “Permission levels for a user account repository.”
Response
An SSH key granting access to a single repository.