Tentacat v1.2.0 Tentacat.Teams.Repositories

Summary

Functions

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

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

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

Specs

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