Skip to main content

repos

Overview

Namerepos
TypeResource
Idgithub.migrations.repos

Fields

NameDatatypeDescription
idinteger
namestring
descriptionstring
urlstring
issue_comment_urlstring
has_pagesboolean
has_projectsboolean
languagestring
has_issuesboolean
deployments_urlstring
releases_urlstring
licenseobject
forksinteger
is_templateboolean
code_of_conductobjectCode Of Conduct
statuses_urlstring
issues_urlstring
git_refs_urlstring
pulls_urlstring
security_and_analysisobject
contents_urlstring
downloads_urlstring
forks_countinteger
full_namestring
keys_urlstring
forkboolean
svn_urlstring
subscribers_urlstring
clone_urlstring
tags_urlstring
assignees_urlstring
teams_urlstring
privateboolean
archivedboolean
updated_atstring
has_wikiboolean
blobs_urlstring
milestones_urlstring
merges_urlstring
disabledboolean
notifications_urlstring
node_idstring
allow_forkingboolean
events_urlstring
temp_clone_tokenstring
visibilitystring
comments_urlstring
has_downloadsboolean
default_branchstring
ownerobjectA GitHub user.
watchersinteger
homepagestring
issue_events_urlstring
ssh_urlstring
trees_urlstring
permissionsobject
open_issuesinteger
subscribers_countinteger
hooks_urlstring
stargazers_urlstring
branches_urlstring
delete_branch_on_mergeboolean
web_commit_signoff_requiredboolean
watchers_countinteger
created_atstring
open_issues_countinteger
subscription_urlstring
commits_urlstring
contributors_urlstring
languages_urlstring
archive_urlstring
labels_urlstring
forks_urlstring
compare_urlstring
role_namestring
git_urlstring
has_discussionsboolean
mirror_urlstring
pushed_atstring
collaborators_urlstring
html_urlstring
stargazers_countinteger
topicsarray
network_countinteger
git_tags_urlstring
sizeintegerThe size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
git_commits_urlstring

Methods

NameAccessible byRequired ParamsDescription
list_repos_for_authenticated_userSELECTmigration_idLists all the repositories for this user migration.
list_repos_for_orgSELECTmigration_id, orgList all the repositories for this organization migration.
unlock_repo_for_authenticated_userEXECmigration_id, repo_nameUnlocks a repository. You can lock repositories when you start a user migration. Once the migration is complete you can unlock each repository to begin using it again or delete the repository if you no longer need the source data. Returns a status of 404 Not Found if the repository is not locked.
unlock_repo_for_orgEXECmigration_id, org, repo_nameUnlocks a repository that was locked for migration. You should unlock each migrated repository and delete them when the migration is complete and you no longer need the source data.