Create a repository using a template
Creates a new repository using a repository template. Use the template_owner and template_repo route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the Get a repository endpoint and check that the is_template key is true.
OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.
Path parameters
The account owner of the template repository. The name is not case sensitive.
The name of the template repository without the .git extension. The name is not case sensitive.
Request body
Response
Response
Example response
{
"id": 1296269,
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
"name": "Hello-World",
"full_name": "octocat/Hello-World",
"owner": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "41d064eb2195891e12d0413f63227ea7",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"starred_at": "\"2020-07-09T00:17:55Z\""
},
"html_url": "https://github.com/octocat/Hello-World",
"description": "This your first repo!",
"url": "https://api.github.com/repos/octocat/Hello-World",
"archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
"assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
"blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
"branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
"collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
"comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
"commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
"compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
"contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
"contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
"deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
"downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
"events_url": "http://api.github.com/repos/octocat/Hello-World/events",
"forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
"git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
"git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
"git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
"git_url": "git:github.com/octocat/Hello-World.git",
"issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
"issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
"issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
"keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
"labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
"languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
"merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
"milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
"notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
"pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
"releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
"ssh_url": "git@github.com:octocat/Hello-World.git",
"stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
"statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
"subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
"subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
"tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
"teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
"trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
"clone_url": "https://github.com/octocat/Hello-World.git",
"mirror_url": "git:git.example.com/octocat/Hello-World",
"hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
"svn_url": "https://svn.github.com/octocat/Hello-World",
"homepage": "https://github.com",
"forks_count": 9,
"stargazers_count": 80,
"watchers_count": 80,
"size": 108,
"default_branch": "master",
"is_template": true,
"topics": [
"octocat",
"atom",
"electron",
"API"
],
"has_issues": true,
"has_projects": true,
"has_wiki": true,
"has_downloads": true,
"has_discussions": true,
"visibility": "public",
"pushed_at": "2011-01-26T19:06:43Z",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z",
"allow_rebase_merge": true,
"template_repository": {
"id": 42,
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
"name": "Team Environment",
"full_name": "octocat/Hello-World",
"license": {
"key": "mit",
"name": "MIT License",
"url": "https://api.github.com/licenses/mit",
"spdx_id": "MIT",
"node_id": "MDc6TGljZW5zZW1pdA=="
},
"owner": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "41d064eb2195891e12d0413f63227ea7",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"starred_at": "\"2020-07-09T00:17:55Z\""
},
"html_url": "https://github.com/octocat/Hello-World",
"description": "This your first repo!",
"url": "https://api.github.com/repos/octocat/Hello-World",
"archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
"assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
"blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
"branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
"collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
"comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
"commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
"compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
"contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
"contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
"deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
"downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
"events_url": "http://api.github.com/repos/octocat/Hello-World/events",
"forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
"git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
"git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
"git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
"git_url": "git:github.com/octocat/Hello-World.git",
"issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
"issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
"issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
"keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
"labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
"languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
"merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
"milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
"notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
"pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
"releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
"ssh_url": "git@github.com:octocat/Hello-World.git",
"stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
"statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
"subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
"subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
"tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
"teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
"trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
"clone_url": "https://github.com/octocat/Hello-World.git",
"mirror_url": "git:git.example.com/octocat/Hello-World",
"hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
"svn_url": "https://svn.github.com/octocat/Hello-World",
"homepage": "https://github.com",
"forks_count": 9,
"stargazers_count": 80,
"watchers_count": 80,
"size": 108,
"default_branch": "master",
"is_template": true,
"has_issues": true,
"has_projects": true,
"has_wiki": true,
"has_downloads": true,
"has_discussions": true,
"pushed_at": "2011-01-26T19:06:43Z",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z",
"allow_rebase_merge": true,
"allow_squash_merge": true,
"allow_merge_commit": true,
"starred_at": "\"2020-07-09T00:17:42Z\""
},
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_update_branch": true,
"squash_merge_commit_title": "PR_TITLE",
"squash_merge_commit_message": "PR_BODY",
"merge_commit_title": "PR_TITLE",
"merge_commit_message": "PR_BODY",
"allow_forking": true,
"subscribers_count": 42,
"license": {
"key": "mit",
"name": "MIT License",
"url": "https://api.github.com/licenses/mit",
"spdx_id": "MIT",
"node_id": "MDc6TGljZW5zZW1pdA=="
},
"organization": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "41d064eb2195891e12d0413f63227ea7",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"starred_at": "\"2020-07-09T00:17:55Z\""
},
"parent": {
"id": 42,
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
"name": "Team Environment",
"full_name": "octocat/Hello-World",
"license": {
"key": "mit",
"name": "MIT License",
"url": "https://api.github.com/licenses/mit",
"spdx_id": "MIT",
"node_id": "MDc6TGljZW5zZW1pdA=="
},
"owner": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "41d064eb2195891e12d0413f63227ea7",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"starred_at": "\"2020-07-09T00:17:55Z\""
},
"html_url": "https://github.com/octocat/Hello-World",
"description": "This your first repo!",
"url": "https://api.github.com/repos/octocat/Hello-World",
"archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
"assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
"blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
"branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
"collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
"comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
"commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
"compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
"contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
"contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
"deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
"downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
"events_url": "http://api.github.com/repos/octocat/Hello-World/events",
"forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
"git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
"git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
"git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
"git_url": "git:github.com/octocat/Hello-World.git",
"issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
"issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
"issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
"keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
"labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
"languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
"merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
"milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
"notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
"pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
"releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
"ssh_url": "git@github.com:octocat/Hello-World.git",
"stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
"statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
"subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
"subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
"tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
"teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
"trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
"clone_url": "https://github.com/octocat/Hello-World.git",
"mirror_url": "git:git.example.com/octocat/Hello-World",
"hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
"svn_url": "https://svn.github.com/octocat/Hello-World",
"homepage": "https://github.com",
"forks_count": 9,
"stargazers_count": 80,
"watchers_count": 80,
"size": 108,
"default_branch": "master",
"is_template": true,
"has_issues": true,
"has_projects": true,
"has_wiki": true,
"has_downloads": true,
"has_discussions": true,
"pushed_at": "2011-01-26T19:06:43Z",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z",
"allow_rebase_merge": true,
"allow_squash_merge": true,
"allow_merge_commit": true,
"starred_at": "\"2020-07-09T00:17:42Z\""
},
"source": {
"id": 42,
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
"name": "Team Environment",
"full_name": "octocat/Hello-World",
"license": {
"key": "mit",
"name": "MIT License",
"url": "https://api.github.com/licenses/mit",
"spdx_id": "MIT",
"node_id": "MDc6TGljZW5zZW1pdA=="
},
"owner": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "41d064eb2195891e12d0413f63227ea7",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"starred_at": "\"2020-07-09T00:17:55Z\""
},
"html_url": "https://github.com/octocat/Hello-World",
"description": "This your first repo!",
"url": "https://api.github.com/repos/octocat/Hello-World",
"archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
"assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
"blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
"branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
"collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
"comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
"commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
"compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
"contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
"contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
"deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
"downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
"events_url": "http://api.github.com/repos/octocat/Hello-World/events",
"forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
"git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
"git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
"git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
"git_url": "git:github.com/octocat/Hello-World.git",
"issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
"issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
"issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
"keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
"labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
"languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
"merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
"milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
"notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
"pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
"releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
"ssh_url": "git@github.com:octocat/Hello-World.git",
"stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
"statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
"subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
"subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
"tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
"teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
"trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
"clone_url": "https://github.com/octocat/Hello-World.git",
"mirror_url": "git:git.example.com/octocat/Hello-World",
"hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
"svn_url": "https://svn.github.com/octocat/Hello-World",
"homepage": "https://github.com",
"forks_count": 9,
"stargazers_count": 80,
"watchers_count": 80,
"size": 108,
"default_branch": "master",
"is_template": true,
"has_issues": true,
"has_projects": true,
"has_wiki": true,
"has_downloads": true,
"has_discussions": true,
"pushed_at": "2011-01-26T19:06:43Z",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z",
"allow_rebase_merge": true,
"allow_squash_merge": true,
"allow_merge_commit": true,
"starred_at": "\"2020-07-09T00:17:42Z\""
},
"code_of_conduct": {
"url": "https://api.github.com/repos/github/docs/community/code_of_conduct",
"key": "citizen_code_of_conduct",
"name": "Citizen Code of Conduct",
"html_url": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
}
}Changes
Changed in 2 of the 50 revisions of this API.1013149
- ●
removed the optional property
parent/network_countfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
parent/organizationfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
parent/subscribers_countfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
parent/template_repositoryfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
source/network_countfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
source/organizationfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
source/subscribers_countfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
source/template_repositoryfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
template_repository/network_countfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
template_repository/organizationfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
template_repository/subscribers_countfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
template_repository/template_repositoryfrom the response with the201statusresponse-optional-property-removed
- ●
- ▲
the response property
temp_clone_tokenbecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/created_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/descriptionbecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/homepagebecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/languagebecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/mirror_urlbecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/owner/gravatar_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/pushed_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
template_repository/updated_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
has_downloadsbecame optional for the status201response-property-became-optional
- ●
removed the optional property
starred_atfrom the response with the201statusresponse-optional-property-removed
- ○
added the optional property
code_of_conductto the response with the201statusresponse-optional-property-added
- ○
added the optional property
parentto the response with the201statusresponse-optional-property-added
- ○
added the optional property
security_and_analysisto the response with the201statusresponse-optional-property-added
- ○
added the optional property
sourceto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/allow_forkingto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/anonymous_access_enabledto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/has_discussionsto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/master_branchto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/organizationto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/owner/emailto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/owner/nameto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/owner/starred_atto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/starred_atto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/template_repositoryto the response with the201statusresponse-optional-property-added
- ○
added the optional property
template_repository/web_commit_signoff_requiredto the response with the201statusresponse-optional-property-added
- ○
the response property
has_discussionsbecame required for the status201response-property-became-required
- ○
the response property
network_countbecame required for the status201response-property-became-required
- ○
the response property
subscribers_countbecame required for the status201response-property-became-required
- ○
the response property
template_repository/archive_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/archivedbecame required for the status201response-property-became-required
- ○
the response property
template_repository/assignees_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/blobs_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/branches_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/clone_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/collaborators_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/comments_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/commits_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/compare_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/contents_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/contributors_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/created_atbecame required for the status201response-property-became-required
- ○
the response property
template_repository/default_branchbecame required for the status201response-property-became-required
- ○
the response property
template_repository/deployments_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/descriptionbecame required for the status201response-property-became-required
- ○
the response property
template_repository/disabledbecame required for the status201response-property-became-required
- ○
the response property
template_repository/downloads_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/events_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/forkbecame required for the status201response-property-became-required
- ○
the response property
template_repository/forks_countbecame required for the status201response-property-became-required
- ○
the response property
template_repository/forks_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/full_namebecame required for the status201response-property-became-required
- ○
the response property
template_repository/git_commits_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/git_refs_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/git_tags_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/git_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/has_downloadsbecame required for the status201response-property-became-required
- ○
the response property
template_repository/has_issuesbecame required for the status201response-property-became-required
- ○
the response property
template_repository/has_pagesbecame required for the status201response-property-became-required
- ○
the response property
template_repository/has_projectsbecame required for the status201response-property-became-required
- ○
the response property
template_repository/has_wikibecame required for the status201response-property-became-required
- ○
the response property
template_repository/homepagebecame required for the status201response-property-became-required
- ○
the response property
template_repository/hooks_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/html_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/idbecame required for the status201response-property-became-required
- ○
the response property
template_repository/issue_comment_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/issue_events_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/issues_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/keys_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/labels_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/languagebecame required for the status201response-property-became-required
- ○
the response property
template_repository/languages_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/merges_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/milestones_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/mirror_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/namebecame required for the status201response-property-became-required
- ○
the response property
template_repository/node_idbecame required for the status201response-property-became-required
- ○
the response property
template_repository/notifications_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/open_issues_countbecame required for the status201response-property-became-required
- ○
the response property
template_repository/ownerbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/avatar_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/events_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/followers_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/following_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/gists_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/gravatar_idbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/html_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/idbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/loginbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/node_idbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/organizations_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/received_events_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/repos_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/site_adminbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/starred_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/subscriptions_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/typebecame required for the status201response-property-became-required
- ○
the response property
template_repository/owner/urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/permissions/adminbecame required for the status201response-property-became-required
- ○
the response property
template_repository/permissions/pullbecame required for the status201response-property-became-required
- ○
the response property
template_repository/permissions/pushbecame required for the status201response-property-became-required
- ○
the response property
template_repository/privatebecame required for the status201response-property-became-required
- ○
the response property
template_repository/pulls_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/pushed_atbecame required for the status201response-property-became-required
- ○
the response property
template_repository/releases_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/sizebecame required for the status201response-property-became-required
- ○
the response property
template_repository/ssh_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/stargazers_countbecame required for the status201response-property-became-required
- ○
the response property
template_repository/stargazers_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/statuses_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/subscribers_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/subscription_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/svn_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/tags_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/teams_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/trees_urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/updated_atbecame required for the status201response-property-became-required
- ○
the response property
template_repository/urlbecame required for the status201response-property-became-required
- ○
the response property
template_repository/watchers_countbecame required for the status201response-property-became-required
- ○
the
allow_auto_mergeresponse's property default valuefalsewas added for the status201response-property-default-value-added
- ○
the
allow_merge_commitresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
allow_rebase_mergeresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
allow_squash_mergeresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
allow_update_branchresponse's property default valuefalsewas added for the status201response-property-default-value-added
- ○
the
anonymous_access_enabledresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
archivedresponse's property default valuefalsewas added for the status201response-property-default-value-added
- ○
the
delete_branch_on_mergeresponse's property default valuefalsewas added for the status201response-property-default-value-added
- ○
the
has_downloadsresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
has_issuesresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
has_projectsresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
has_wikiresponse's property default valuetruewas added for the status201response-property-default-value-added
- ○
the
is_templateresponse's property default valuefalsewas added for the status201response-property-default-value-added
- ○
the
privateresponse's property default valuefalsewas added for the status201response-property-default-value-added
- ○
the
use_squash_pr_title_as_defaultresponse's property default valuefalsewas added for the status201response-property-default-value-added
- ○
the
visibilityresponse's property default valuepublicwas added for the status201response-property-default-value-added
- ○
the
allow_auto_mergeresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
allow_merge_commitresponse's property default valuetruewas removed for the status201response-property-default-value-removed
- ○
the
allow_rebase_mergeresponse's property default valuetruewas removed for the status201response-property-default-value-removed
- ○
the
allow_squash_mergeresponse's property default valuetruewas removed for the status201response-property-default-value-removed
- ○
the
allow_update_branchresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
archivedresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
delete_branch_on_mergeresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
has_discussionsresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
has_downloadsresponse's property default valuetruewas removed for the status201response-property-default-value-removed
- ○
the
has_issuesresponse's property default valuetruewas removed for the status201response-property-default-value-removed
- ○
the
has_projectsresponse's property default valuetruewas removed for the status201response-property-default-value-removed
- ○
the
has_wikiresponse's property default valuetruewas removed for the status201response-property-default-value-removed
- ○
the
is_templateresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
privateresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
use_squash_pr_title_as_defaultresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
the
visibilityresponse's property default valuepublicwas removed for the status201response-property-default-value-removed
- ○
the
web_commit_signoff_requiredresponse's property default valuefalsewas removed for the status201response-property-default-value-removed
- ○
response property
template_repository/has_downloadsdeprecatedresponse-property-deprecated
- ○
response property
template_repository/use_squash_pr_title_as_defaultdeprecatedresponse-property-deprecated
- ○
response property
has_downloadsreactivatedresponse-property-reactivated
- ○
response property
use_squash_pr_title_as_defaultreactivatedresponse-property-reactivated
- ○
added the required property
template_repository/forksto the response with the201statusresponse-required-property-added
- ○
added the required property
template_repository/licenseto the response with the201statusresponse-required-property-added
- ○
added the required property
template_repository/open_issuesto the response with the201statusresponse-required-property-added
- ○
added the required property
template_repository/watchersto the response with the201statusresponse-required-property-added
- ▲