github v0.11.0 Github.Apps.Installations View Source
GitHub Apps Installations.
Link to this section Summary
Link to this section Functions
Get an installation
Example
iex> client = %Github.Client{jwt_token: "jwt_token"}
iex> client |> Github.Apps.Installations.find!(12345)
%Github.Client.Response{
body: %{"id" => 12345, ...},
status: 200,
...
}
List repositories available for the Installation
Example
iex> client = %Github.Client{access_token: "access_token"}
iex> client |> Github.Apps.Installations.list_repos!(page: 1, per_page: 30)
%Github.Client.Response{
body: [%{"email" => "email@example.com", "primary" => true, "verified" => true, "visibility" => "private"}],
status: 200,
...
}