Github API - Test Config

GET /teams/{team_id}/repos/{owner}/{repo}
repos
teams

Note: Repositories inherited through a parent team will also be checked.

Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new Check team permissions for a repository endpoint.

You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom media type via the Accept header:
Check team permissions for a repository (Legacy)

Arguments
key team-id

team-id [scalar]

The unique identifier of the team.

API:
Github Open API
(version: 1.1.4)

key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json team-repository

team-repository [object]

A team's access to a repository.

Attributes
allow_auto_merge boolean

Whether to allow Auto-merge to be used on pull requests.

allow_forking boolean

Whether to allow forking this repo

allow_merge_commit boolean

Whether to allow merge commits for pull requests.

allow_rebase_merge boolean

Whether to allow rebase merges for pull requests.

allow_squash_merge boolean

Whether to allow squash merges for pull requests.

archive_url string

archived boolean

Whether the repository is archived.

assignees_url string

blobs_url string

branches_url string

clone_url string

collaborators_url string

comments_url string

commits_url string

compare_url string

contents_url string

contributors_url string

created_at string

default_branch string

The default branch of the repository.

delete_branch_on_merge boolean

Whether to delete head branches when pull requests are merged

deployments_url string

description string

disabled boolean

Returns whether or not this repository disabled.

downloads_url string

events_url string

fork boolean

forks integer

forks_count integer

forks_url string

full_name string

git_commits_url string

git_refs_url string

git_tags_url string

git_url string

has_downloads boolean

Whether downloads are enabled.

has_issues boolean

Whether issues are enabled.

has_pages boolean

has_projects boolean

Whether projects are enabled.

has_wiki boolean

Whether the wiki is enabled.

homepage string

hooks_url string

html_url string

id integer

Unique identifier of the repository

is_template boolean

Whether this repository acts as a template that can be used to generate new repositories.

issue_comment_url string

issue_events_url string

issues_url string

keys_url string

labels_url string

language string

languages_url string

master_branch string

merges_url string

milestones_url string

mirror_url string

name string

The name of the repository.

network_count integer

node_id string

notifications_url string

open_issues integer

open_issues_count integer

permissions 2121

private boolean

Whether the repository is private or public.

pulls_url string

pushed_at string

releases_url string

role_name string

size integer

ssh_url string

stargazers_count integer

stargazers_url string

statuses_url string

subscribers_count integer

subscribers_url string

subscription_url string

svn_url string

tags_url string

teams_url string

temp_clone_token string

template_repository nullable-repository

topics string []

trees_url string

updated_at string

url string

visibility string

The repository visibility: public, private, or internal.

watchers integer

watchers_count integer

web_commit_signoff_required boolean

Whether to require contributors to sign off on web-based commits

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)