Skip to main content

forks

Overview

Nameforks
TypeResource
Idgithub.repos.forks

Fields

NameDatatypeDescription
idinteger
namestring
descriptionstring
watchers_countinteger
comments_urlstring
delete_branch_on_mergeboolean
blobs_urlstring
is_templateboolean
archivedboolean
commits_urlstring
git_refs_urlstring
pushed_atstring
forkboolean
downloads_urlstring
privateboolean
events_urlstring
git_commits_urlstring
has_pagesboolean
labels_urlstring
stargazers_urlstring
issue_comment_urlstring
temp_clone_tokenstring
updated_atstring
contributors_urlstring
issues_urlstring
clone_urlstring
releases_urlstring
has_issuesboolean
trees_urlstring
keys_urlstring
urlstring
template_repositoryobjectA git repository
teams_urlstring
code_of_conductobjectCode Of Conduct
stargazers_countinteger
licenseobject
visibilitystring
mirror_urlstring
created_atstring
git_urlstring
subscription_urlstring
watchersinteger
pulls_urlstring
full_namestring
assignees_urlstring
allow_forkingboolean
node_idstring
hooks_urlstring
has_projectsboolean
tags_urlstring
ownerobjectSimple User
default_branchstring
has_wikiboolean
deployments_urlstring
milestones_urlstring
languages_urlstring
notifications_urlstring
disabledboolean
collaborators_urlstring
html_urlstring
subscribers_urlstring
permissionsobject
git_tags_urlstring
merges_urlstring
sizeinteger
subscribers_countinteger
forks_urlstring
role_namestring
open_issues_countinteger
statuses_urlstring
ssh_urlstring
contents_urlstring
svn_urlstring
topicsarray
has_downloadsboolean
languagestring
branches_urlstring
forksinteger
open_issuesinteger
archive_urlstring
network_countinteger
compare_urlstring
issue_events_urlstring
forks_countinteger
homepagestring

Methods

NameAccessible byRequired ParamsDescription
list_forksSELECTowner, repo
create_forkINSERTowner, repoCreate a fork for the authenticated user.

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Support.