repos_for_auth_user
Overview
Name | repos_for_auth_user |
Type | Resource |
Id | github.repos.repos_for_auth_user |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | Unique identifier of the repository |
name | string | The name of the repository. |
description | string | |
allow_auto_merge | boolean | Whether to allow Auto-merge to be used on pull requests. |
allow_forking | boolean | Whether to allow forking this repo |
allow_merge_commit | boolean | Whether to allow merge commits for pull requests. |
allow_rebase_merge | boolean | Whether to allow rebase merges for pull requests. |
allow_squash_merge | boolean | Whether to allow squash merges for pull requests. |
allow_update_branch | boolean | Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. |
anonymous_access_enabled | boolean | Whether anonymous git access is enabled for this repository |
archive_url | string | |
archived | boolean | Whether the repository is archived. |
assignees_url | string | |
blobs_url | string | |
branches_url | string | |
clone_url | string | |
collaborators_url | string | |
comments_url | string | |
commits_url | string | |
compare_url | string | |
contents_url | string | |
contributors_url | string | |
created_at | string | |
default_branch | string | The default branch of the repository. |
delete_branch_on_merge | boolean | Whether to delete head branches when pull requests are merged |
deployments_url | string | |
disabled | boolean | Returns whether or not this repository disabled. |
downloads_url | string | |
events_url | string | |
fork | boolean | |
forks | integer | |
forks_count | integer | |
forks_url | string | |
full_name | string | |
git_commits_url | string | |
git_refs_url | string | |
git_tags_url | string | |
git_url | string | |
has_discussions | boolean | Whether discussions are enabled. |
has_downloads | boolean | Whether downloads are enabled. |
has_issues | boolean | Whether issues are enabled. |
has_pages | boolean | |
has_projects | boolean | Whether projects are enabled. |
has_wiki | boolean | Whether the wiki is enabled. |
homepage | string | |
hooks_url | string | |
html_url | string | |
is_template | boolean | Whether this repository acts as a template that can be used to generate new repositories. |
issue_comment_url | string | |
issue_events_url | string | |
issues_url | string | |
keys_url | string | |
labels_url | string | |
language | string | |
languages_url | string | |
license | object | License Simple |
master_branch | string | |
merge_commit_message | string | The 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. |
merge_commit_title | string | The 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). |
merges_url | string | |
milestones_url | string | |
mirror_url | string | |
network_count | integer | |
node_id | string | |
notifications_url | string | |
open_issues | integer | |
open_issues_count | integer | |
organization | object | A GitHub user. |
owner | object | A GitHub user. |
permissions | object | |
private | boolean | Whether the repository is private or public. |
pulls_url | string | |
pushed_at | string | |
releases_url | string | |
size | integer | The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0. |
squash_merge_commit_message | string | The 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. |
squash_merge_commit_title | string | The 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). |
ssh_url | string | |
stargazers_count | integer | |
stargazers_url | string | |
starred_at | string | |
statuses_url | string | |
subscribers_count | integer | |
subscribers_url | string | |
subscription_url | string | |
svn_url | string | |
tags_url | string | |
teams_url | string | |
temp_clone_token | string | |
template_repository | object | |
topics | array | |
trees_url | string | |
updated_at | string | |
url | string | |
use_squash_pr_title_as_default | boolean | Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead. |
visibility | string | The repository visibility: public, private, or internal. |
watchers | integer | |
watchers_count | integer | |
web_commit_signoff_required | boolean | Whether to require contributors to sign off on web-based commits |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_for_authenticated_user | SELECT | Lists repositories that the authenticated user has explicit permission (:read , :write , or :admin ) to access.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. | |
create_for_authenticated_user | INSERT | data__name | Creates a new repository for the authenticated user. OAuth scope requirements When using OAuth, authorizations must include: public_repo scope or repo scope to create a public repository. Note: For GitHub AE, use repo scope to create an internal repository.repo scope to create a private repository. |