Skip to main content

repos

Overview

Namerepos
TypeResource
Idgithub.migrations.repos

Fields

NameDatatypeDescription
idinteger
namestring
descriptionstring
allow_forkingboolean
archive_urlstring
archivedboolean
assignees_urlstring
blobs_urlstring
branches_urlstring
clone_urlstring
code_of_conductobjectCode Of Conduct
collaborators_urlstring
comments_urlstring
commits_urlstring
compare_urlstring
contents_urlstring
contributors_urlstring
created_atstring
default_branchstring
delete_branch_on_mergeboolean
deployments_urlstring
disabledboolean
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
licenseobject
merges_urlstring
milestones_urlstring
mirror_urlstring
network_countinteger
node_idstring
notifications_urlstring
open_issuesinteger
open_issues_countinteger
ownerobjectA GitHub user.
permissionsobject
privateboolean
pulls_urlstring
pushed_atstring
releases_urlstring
role_namestring
security_and_analysisobject
sizeintegerThe size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
ssh_urlstring
stargazers_countinteger
stargazers_urlstring
statuses_urlstring
subscribers_countinteger
subscribers_urlstring
subscription_urlstring
svn_urlstring
tags_urlstring
teams_urlstring
temp_clone_tokenstring
topicsarray
trees_urlstring
updated_atstring
urlstring
visibilitystring
watchersinteger
watchers_countinteger
web_commit_signoff_requiredboolean

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.