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

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 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 installations for the authorized app

Example

Tentacat.App.Installations.list_mine client

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

Link to this function

list_repositories(client) View Source
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

Link to this function

list_repositories_for_user(client, installation_id) View Source
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

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