Skip to main content

repos

Overview

Namerepos
TypeResource
Idgithub.migrations.repos

Fields

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

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.