gh_teams_put_repos_by_repo: In order to add a repository to a team, the authenticated...

Description Usage Arguments Details

Description

In order to add a repository to a team, the authenticated user must be an owner of the org that the team is associated with. Also, the repository must be owned by the organization, or a direct fork of a repository owned by the organization.

Usage

1
gh_teams_put_repos_by_repo(teamId, owner, repo, ...)

Arguments

teamId

Id of team.

owner

Name of a organization.

repo

Name of a repository.

...

Additional parameters to pass to gh. See details.

Details

Additional parameters that can be passed:

type

It takes values in: all, public, private, forks, sources, member. The default is: all

Accept

Is used to set specified media type.


ramnathv/gh3 documentation built on May 7, 2019, 12:53 a.m.