Skip to main content

details

Overview

Namedetails
TypeResource
Idgithub.repos.details

Fields

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

Methods

NameAccessible byRequired Params
getSELECTowner, repo