repos
Overview
Name | repos |
Type | Resource |
Id | github.teams.repos |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | |
name | string | |
description | string | |
allow_forking | boolean | |
archive_url | string | |
archived | boolean | |
assignees_url | string | |
blobs_url | string | |
branches_url | string | |
clone_url | string | |
code_of_conduct | object | Code Of Conduct |
collaborators_url | string | |
comments_url | string | |
commits_url | string | |
compare_url | string | |
contents_url | string | |
contributors_url | string | |
created_at | string | |
default_branch | string | |
delete_branch_on_merge | boolean | |
deployments_url | string | |
disabled | boolean | |
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_discussions | boolean | |
has_downloads | boolean | |
has_issues | boolean | |
has_pages | boolean | |
has_projects | boolean | |
has_wiki | boolean | |
homepage | string | |
hooks_url | string | |
html_url | string | |
is_template | boolean | |
issue_comment_url | string | |
issue_events_url | string | |
issues_url | string | |
keys_url | string | |
labels_url | string | |
language | string | |
languages_url | string | |
license | object | |
merges_url | string | |
milestones_url | string | |
mirror_url | string | |
network_count | integer | |
node_id | string | |
notifications_url | string | |
open_issues | integer | |
open_issues_count | integer | |
owner | object | A GitHub user. |
permissions | object | |
private | boolean | |
pulls_url | string | |
pushed_at | string | |
releases_url | string | |
role_name | string | |
security_and_analysis | object | |
size | integer | The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0. |
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 | |
topics | array | |
trees_url | string | |
updated_at | string | |
url | string | |
visibility | string | |
watchers | integer | |
watchers_count | integer | |
web_commit_signoff_required | boolean |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_repos_in_org | SELECT | org, team_slug | Lists a team's repositories visible to the authenticated user. Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos . |
list_repos_legacy | SELECT | team_id | 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 List team repositories endpoint. |
remove_repo_in_org | DELETE | org, owner, repo, team_slug | If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. Note: You can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo} . |
remove_repo_legacy | EXEC | owner, repo, team_id | 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 Remove a repository from a team endpoint. If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. |