user_installations
Overview
Name | user_installations |
Type | Resource |
Id | github.apps.user_installations |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | The ID of the installation. |
html_url | string | |
contact_email | string | |
repository_selection | string | Describe whether all repositories have been selected or there's a selection involved |
single_file_paths | array | |
has_multiple_single_files | boolean | |
app_slug | string | |
single_file_name | string | |
repositories_url | string | |
account | `` | |
events | array | |
suspended_by | object | Simple User |
target_type | string | |
created_at | string | |
access_tokens_url | string | |
permissions | object | The permissions granted to the user-to-server access token. |
suspended_at | string | |
app_id | integer | |
target_id | integer | The ID of the user or organization this token is being scoped to. |
updated_at | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_user_installation | SELECT | username | Enables an authenticated GitHub App to find the user’s installation information. You must use a JWT to access this endpoint. |
list_installations_for_authenticated_user | SELECT | Lists installations of your GitHub App that the authenticated user has explicit permission (:read , :write , or :admin ) to access.You must use a user-to-server OAuth access token, created for a user who has authorized your GitHub App, to access this endpoint. The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. You can find the permissions for the installation under the permissions key. |