Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
List repositories that an app installation can access.
You must use an installation access token to access this endpoint.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
A git repository
Example:selected
Revokes the installation token you’re using to authenticate as an installation and access this endpoint.
Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the “Create an installation access token for an app” endpoint.
You must use an installation access token to access this endpoint.
Response
Enables an authenticated GitHub App to find the organization’s installation information.
You must use a JWT to access this endpoint.
Response
Installation
The ID of the installation.
Example:1
Any Of
Simple User
Describe whether all repositories have been selected or there’s a selection involved
Allowed values:allselected
Example:https://api.github.com/installations/1/access_tokens
Example:https://api.github.com/installation/repositories
Example:https://github.com/organizations/github/settings/installations/1
Example:1
The ID of the user or organization this token is being scoped to.
Example:Organization
The permissions granted to the user-to-server access token.
Example:{"contents":"read","issues":"read","deployments":"write","single_file":"read"}
Example:config.yaml
Example:true
Example:["config.yml",".github/issue_TEMPLATE.md"]
Example:github-actions
Simple User
Example:"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com"
Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the id
and repository
full_name
of the content reference from the content_reference
event to create an attachment.
The app must create a content attachment within six hours of the content reference URL being posted. See “Using content attachments” for details about content attachments.
You must use an installation access token to access this endpoint.
The owner of the repository. Determined from the repository
full_name
of the content_reference
event.
The name of the repository. Determined from the repository
full_name
of the content_reference
event.
The id
of the content_reference
event.
The title of the attachment
<= 1024 characters
Example:Title of the attachment
The body of the attachment
<= 262144 characters
Example:Body of the attachment
Response
Content Reference attachments allow you to provide context around URLs posted in comments
The ID of the attachment
Example:21
The title of the attachment
<= 1024 characters
Example:Title of the attachment
The body of the attachment
<= 262144 characters
Example:Body of the attachment
The node_id of the content attachment
Example:MDE3OkNvbnRlbnRBdHRhY2htZW50MjE=
Enables an authenticated GitHub App to find the repository’s installation information. The installation’s account type will be either an organization or a user account, depending which account the repository belongs to.
You must use a JWT to access this endpoint.
Response
Installation
The ID of the installation.
Example:1
Any Of
Simple User
Describe whether all repositories have been selected or there’s a selection involved
Allowed values:allselected
Example:https://api.github.com/installations/1/access_tokens
Example:https://api.github.com/installation/repositories
Example:https://github.com/organizations/github/settings/installations/1
Example:1
The ID of the user or organization this token is being scoped to.
Example:Organization
The permissions granted to the user-to-server access token.
Example:{"contents":"read","issues":"read","deployments":"write","single_file":"read"}
Example:config.yaml
Example:true
Example:["config.yml",".github/issue_TEMPLATE.md"]
Example:github-actions
Simple User
Example:"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com"