Github API - Test Config

GET /repos/{owner}/{repo}
repos

The parent and source objects are present when the repository is a fork. parent is the repository this repository was forked from, source is the ultimate source for the network.

Note: In order to see the security_and_analysis block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization."
Get a repository

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json full-repository

full-repository [object]

Full Repository

Attributes
allow_auto_merge boolean

allow_forking boolean

allow_merge_commit boolean

allow_rebase_merge boolean

allow_squash_merge boolean

allow_update_branch boolean

anonymous_access_enabled boolean

Whether anonymous git access is allowed.

archive_url string

archived boolean

assignees_url string

blobs_url string

branches_url string

clone_url string

code_of_conduct code-of-conduct-simple

collaborators_url string

comments_url string

commits_url string

compare_url string

contents_url string

contributors_url string

created_at string

default_branch string

delete_branch_on_merge boolean

deployments_url string

description 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

has_downloads boolean

has_issues boolean

has_pages boolean

has_projects boolean

has_wiki boolean

homepage string

hooks_url string

html_url string

id integer

is_template boolean

issue_comment_url string

issue_events_url string

issues_url string

keys_url string

labels_url string

language string

languages_url string

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

name string

network_count integer

node_id string

notifications_url string

open_issues integer

open_issues_count integer

organization nullable-simple-user

owner simple-user

parent repository

permissions 1989

private boolean

pulls_url string

pushed_at string

releases_url string

security_and_analysis security-and-analysis

size integer

The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.

source repository

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

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 nullable-repository

topics string []

trees_url string

updated_at string

url string

use_squash_pr_title_as_default boolean

visibility string

The repository visibility: public, private, or internal.

watchers integer

watchers_count integer

web_commit_signoff_required boolean

API:
Github Open API
(version: 1.1.4)
301 moved_permanently

moved_permanently [scalar]

Moved permanently

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)