module

GitHub::REST::Installations

Instance methods

add_repo_to_installation(installation_id : String, repository_id : String) : Nil
Source
create_content_attachment(token : String, content_reference_id : String, payload : ContentAttachmentPayload) : Installations::ContentAttachment

You must use an installation access token to access this endpoint. https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation

Source
create_installation_token(token : String, installation_id : String, payload : TokenInstallationPayload) : InstallationToken

Need a JWT! please see.

Source
delete_installation(token : String, installation_id : String) : Nil

NOTE: Raises an error if not found Need a JWT! please see.

Source
get_installation(token : String, installation_id : String) : Installation

Need a JWT! please see.

Source
get_org_installation(token : String, organization : String) : Installation

Need a JWT! please see.

Source
get_repo_installation(token : String, owner : String, repository : String) : Installation

Need a JWT! please see.

Source
get_this_app_installations(token : String) : Installation

Need a JWT! please see.

Source
get_user_installation(token : String, username : String) : Installation

Need a JWT! please see.

Source
list_accessible_repos(token : String, installation_id : String) : Installation::InstallationRepositories

NOTE: Requires a user-to-server OAuth access token

Source
list_repositories_installations(token : String) : Installation::InstallationRepositories
Source
list_user_installations(token : String) : Installation::InstallationUsers
Source
remove_repo_from_installation(installation_id : String, repository_id : String) : Nil
Source
revoke_installation_token(token : String) : Nil

You must use an installation access token to access this endpoint. https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation

Source