View Source Tentacat.App.Installations (Tentacat v2.4.0)
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
@spec find(Tentacat.Client.t(), integer()) :: Tentacat.response()
Get a specific installation.
Example
Tentacat.App.Installations.find client, 12
More info at: https://developer.github.com/v3/apps/#get-a-single-installation
@spec list_for_user(Tentacat.Client.t()) :: Tentacat.response()
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
@spec list_mine(Tentacat.Client.t()) :: Tentacat.response()
List installations for the authorized app.
Example
Tentacat.App.Installations.list_mine client
More info at: https://developer.github.com/v3/apps/#find-installations
@spec 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
@spec 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
@spec token(Tentacat.Client.t(), integer()) :: Tentacat.response()
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