Skip to main content

details

Overview

Namedetails
TypeResource
Idgithub.repos.details

Fields

NameDatatypeDescription
idinteger
namestring
descriptionstring
allow_auto_mergeboolean
allow_forkingboolean
allow_merge_commitboolean
allow_rebase_mergeboolean
allow_squash_mergeboolean
allow_update_branchboolean
anonymous_access_enabledbooleanWhether anonymous git access is allowed.
archive_urlstring
archivedboolean
assignees_urlstring
blobs_urlstring
branches_urlstring
clone_urlstring
code_of_conductobjectCode of Conduct Simple
collaborators_urlstring
comments_urlstring
commits_urlstring
compare_urlstring
contents_urlstring
contributors_urlstring
created_atstring
default_branchstring
delete_branch_on_mergeboolean
deployments_urlstring
disabledbooleanReturns whether or not this repository disabled.
downloads_urlstring
events_urlstring
forkboolean
forksinteger
forks_countinteger
forks_urlstring
full_namestring
git_commits_urlstring
git_refs_urlstring
git_tags_urlstring
git_urlstring
has_discussionsboolean
has_downloadsboolean
has_issuesboolean
has_pagesboolean
has_projectsboolean
has_wikiboolean
homepagestring
hooks_urlstring
html_urlstring
is_templateboolean
issue_comment_urlstring
issue_events_urlstring
issues_urlstring
keys_urlstring
labels_urlstring
languagestring
languages_urlstring
licenseobjectLicense Simple
master_branchstring
merge_commit_messagestringThe 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_titlestringThe 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_urlstring
milestones_urlstring
mirror_urlstring
network_countinteger
node_idstring
notifications_urlstring
open_issuesinteger
open_issues_countinteger
organizationobjectA GitHub user.
ownerobjectA GitHub user.
parentobjectA repository on GitHub.
permissionsobject
privateboolean
pulls_urlstring
pushed_atstring
releases_urlstring
security_and_analysisobject
sizeintegerThe size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
sourceobjectA repository on GitHub.
squash_merge_commit_messagestringThe 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_titlestringThe 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_urlstring
stargazers_countinteger
stargazers_urlstring
statuses_urlstring
subscribers_countinteger
subscribers_urlstring
subscription_urlstring
svn_urlstring
tags_urlstring
teams_urlstring
temp_clone_tokenstring
template_repositoryobjectA repository on GitHub.
topicsarray
trees_urlstring
updated_atstring
urlstring
use_squash_pr_title_as_defaultboolean
visibilitystringThe repository visibility: public, private, or internal.
watchersinteger
watchers_countinteger
web_commit_signoff_requiredboolean

Methods

NameAccessible byRequired Params
getSELECTowner, repo