Tentacat v1.2.0 Tentacat.App.Installations

Summary

Functions

Get a specific installation

List installations accessible with the authenticated app user

List installations for the authorized app

List repositories for the authenticated installation

List repositories in an installation that are accessible with to the authenticated app user

Get an authorization token for an installation

Functions

find(client, installation_id)

Specs

Get a specific installation

Example

Tentacat.App.Installations.find client, 12

More info at: https://developer.github.com/v3/apps/#get-a-single-installation

list_for_user(client)

Specs

List installations accessible with the authenticated app user

Example

Tentacat.App.Installations.list_for_user client

More info at: https://developer.github.com/v3/apps/#list-installations-for-user

list_mine(client)

Specs

List installations for the authorized app

Example

Tentacat.App.Installations.list_mine client

More info at: https://developer.github.com/v3/apps/#find-installations

list_repositories(client)

Specs

list_repositories(Tentacat.Client.t) :: Tentacat.response

List repositories for the authenticated installation

Example

Tentacat.App.Installations.list_repositories

More info at: https://developer.github.com/v3/apps/installations/#list-repositories

list_repositories_for_user(client, installation_id)

Specs

list_repositories_for_user(Tentacat.Client.t, integer) :: Tentacat.response

List repositories in an installation that are accessible with to the authenticated app user

Example

Tentacat.App.Installations.list_repositories_for_user client, 154

More info at: https://developer.github.com/v3/apps/#list-installations-for-user

token(client, installation_id)

Specs

Get an authorization token for an installation

Example

Tentacat.App.Installations.token client, 12

More info at: https://developer.github.com/v3/apps/#create-a-new-installation-token