repos
Note: To edit a repository's topics, use the Replace all repository topics endpoint.
Update a repository
Arguments
Returns
full-repository [object]
Full Repository
Attributes
allow_auto_merge boolean
allow_forking boolean
allow_merge_commit boolean
allow_rebase_merge boolean
allow_squash_merge boolean
allow_update_branch boolean
anonymous_access_enabled boolean
Whether anonymous git access is allowed.
archive_url string
archived boolean
assignees_url string
blobs_url string
branches_url string
clone_url string
code_of_conduct code-of-conduct-simple
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
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_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
id integer
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 nullable-license-simple
master_branch string
merge_commit_message string
The default value for a merge commit message.
PR_TITLE
- default to the pull request's title.PR_BODY
- default to the pull request's body.BLANK
- default to a blank commit message.
merge_commit_title string
The default value for a merge commit title.
PR_TITLE
- default to the pull request's title.MERGE_MESSAGE
- default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
merges_url string
milestones_url string
mirror_url string
name string
network_count integer
node_id string
notifications_url string
open_issues integer
open_issues_count integer
organization nullable-simple-user
owner simple-user
parent repository
permissions 1989
private boolean
pulls_url string
pushed_at string
releases_url string
security_and_analysis security-and-analysis
size integer
The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
source repository
squash_merge_commit_message string
The default value for a squash merge commit message:
PR_BODY
- default to the pull request's body.COMMIT_MESSAGES
- default to the branch's commit messages.BLANK
- default to a blank commit message.
squash_merge_commit_title string
The default value for a squash merge commit title:
PR_TITLE
- default to the pull request's title.COMMIT_OR_PR_TITLE
- default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
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
use_squash_pr_title_as_default boolean
visibility string
The repository visibility: public, private, or internal.
watchers integer
watchers_count integer
web_commit_signoff_required boolean
temporary_redirect [scalar]
Temporary Redirect
validation_failed [scalar]
Validation failed, or the endpoint has been spammed.