invitation_id parameter
Update a repository invitation
Path Parameters
Body
application/json
Body
The permissions that the associated user will have on the repository. Valid values are read
, write
, maintain
, triage
, and admin
.
Allowed values:readwritemaintaintriageadmin
Response
200 application/json
Response
Response
Repository Invitation
Repository invitations let you manage who you collaborate with.
Unique identifier of the repository invitation.
Example:42
Minimal Repository
Show Child Parameters
Simple User
Show Child Parameters
Simple User
Show Child Parameters
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
Path Parameters
Body
Delete a repository invitation
Path Parameters
invitation_id parameter
Response
204
Response
Response
Path Parameters
List deploy keys
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
An SSH key granting access to a single repository.
Path Parameters
Query Parameters
Create a deploy key
You can create a read-only deploy key.
Path Parameters
Body
application/json
Body
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
application/json
Response
Response
Deploy Key
An SSH key granting access to a single repository.
Path Parameters
Body
Get a deploy key
Path Parameters
key_id parameter
Response
application/json
Response
Response
Deploy Key
An SSH key granting access to a single repository.