Tentacat v1.6.0 Tentacat.App.Installations View Source
Link to this section 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
Link to this section Functions
find(client, installation_id)
View Source
find(Tentacat.Client.t(), integer()) :: Tentacat.response()
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
list_for_user(client)
View Source
list_for_user(Tentacat.Client.t()) :: Tentacat.response()
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
list_mine(client)
View Source
list_mine(Tentacat.Client.t()) :: Tentacat.response()
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
list_repositories(client)
View Source
list_repositories(Tentacat.Client.t()) :: Tentacat.response()
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)
View Source
list_repositories_for_user(Tentacat.Client.t(), integer()) ::
Tentacat.response()
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)
View Source
token(Tentacat.Client.t(), integer()) :: Tentacat.response()
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