Tentacat v1.6.0 Tentacat.Teams.Repositories View Source

Link to this section Summary

Link to this section Functions

Link to this function

add(client \\ %Client{}, team_id, owner, repo, body \\ %{}) View Source

Add a team to a repository

Example

Tentacat.Teams.Repositories.add 210840, org, repo
Tentacat.Teams.Repositories.add client, 210840, org, repo, %{permission: "push"}

More info at: https://developer.github.com/v3/teams/#add-or-update-team-repository

Link to this function

list(client \\ %Client{}, team_id) View Source

List all team repositories

Example

Tentacat.Teams.Repositories.list 210840
Tentacat.Teams.Repositories.list client, 210840

More info at: https://developer.github.com/v3/orgs/teams/#list-team-repos