Page MenuHomeDevCentral
Paste P306

Change default branch on GitHub example payload
ActivePublic

Authored by dereckson on Sat, Apr 23, 16:44.
{
"action": "edited",
"changes": {
"default_branch": {
"from": "master"
}
},
"repository": {
"id": 45983949,
"node_id": "MDEwOlJlcG9zaXRvcnk0NTk4Mzk0OQ==",
"name": "docker-php-cli",
"full_name": "nasqueron/docker-php-cli",
"private": false,
"owner": {
"login": "nasqueron",
"id": 5605546,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU2MDU1NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5605546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nasqueron",
"html_url": "https://github.com/nasqueron",
"followers_url": "https://api.github.com/users/nasqueron/followers",
"following_url": "https://api.github.com/users/nasqueron/following{/other_user}",
"gists_url": "https://api.github.com/users/nasqueron/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nasqueron/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nasqueron/subscriptions",
"organizations_url": "https://api.github.com/users/nasqueron/orgs",
"repos_url": "https://api.github.com/users/nasqueron/repos",
"events_url": "https://api.github.com/users/nasqueron/events{/privacy}",
"received_events_url": "https://api.github.com/users/nasqueron/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/nasqueron/docker-php-cli",
"description": "PHP console application base image",
"fork": false,
"url": "https://api.github.com/repos/nasqueron/docker-php-cli",
"forks_url": "https://api.github.com/repos/nasqueron/docker-php-cli/forks",
"keys_url": "https://api.github.com/repos/nasqueron/docker-php-cli/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/nasqueron/docker-php-cli/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/nasqueron/docker-php-cli/teams",
"hooks_url": "https://api.github.com/repos/nasqueron/docker-php-cli/hooks",
"issue_events_url": "https://api.github.com/repos/nasqueron/docker-php-cli/issues/events{/number}",
"events_url": "https://api.github.com/repos/nasqueron/docker-php-cli/events",
"assignees_url": "https://api.github.com/repos/nasqueron/docker-php-cli/assignees{/user}",
"branches_url": "https://api.github.com/repos/nasqueron/docker-php-cli/branches{/branch}",
"tags_url": "https://api.github.com/repos/nasqueron/docker-php-cli/tags",
"blobs_url": "https://api.github.com/repos/nasqueron/docker-php-cli/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/nasqueron/docker-php-cli/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/nasqueron/docker-php-cli/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/nasqueron/docker-php-cli/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/nasqueron/docker-php-cli/statuses/{sha}",
"languages_url": "https://api.github.com/repos/nasqueron/docker-php-cli/languages",
"stargazers_url": "https://api.github.com/repos/nasqueron/docker-php-cli/stargazers",
"contributors_url": "https://api.github.com/repos/nasqueron/docker-php-cli/contributors",
"subscribers_url": "https://api.github.com/repos/nasqueron/docker-php-cli/subscribers",
"subscription_url": "https://api.github.com/repos/nasqueron/docker-php-cli/subscription",
"commits_url": "https://api.github.com/repos/nasqueron/docker-php-cli/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/nasqueron/docker-php-cli/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/nasqueron/docker-php-cli/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/nasqueron/docker-php-cli/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/nasqueron/docker-php-cli/contents/{+path}",
"compare_url": "https://api.github.com/repos/nasqueron/docker-php-cli/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/nasqueron/docker-php-cli/merges",
"archive_url": "https://api.github.com/repos/nasqueron/docker-php-cli/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/nasqueron/docker-php-cli/downloads",
"issues_url": "https://api.github.com/repos/nasqueron/docker-php-cli/issues{/number}",
"pulls_url": "https://api.github.com/repos/nasqueron/docker-php-cli/pulls{/number}",
"milestones_url": "https://api.github.com/repos/nasqueron/docker-php-cli/milestones{/number}",
"notifications_url": "https://api.github.com/repos/nasqueron/docker-php-cli/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/nasqueron/docker-php-cli/labels{/name}",
"releases_url": "https://api.github.com/repos/nasqueron/docker-php-cli/releases{/id}",
"deployments_url": "https://api.github.com/repos/nasqueron/docker-php-cli/deployments",
"created_at": "2015-11-11T13:39:56Z",
"updated_at": "2021-04-21T06:27:19Z",
"pushed_at": "2021-09-12T10:44:49Z",
"git_url": "git://github.com/nasqueron/docker-php-cli.git",
"ssh_url": "git@github.com:nasqueron/docker-php-cli.git",
"clone_url": "https://github.com/nasqueron/docker-php-cli.git",
"svn_url": "https://github.com/nasqueron/docker-php-cli",
"homepage": "http://docker.nasqueron.org",
"size": 29,
"stargazers_count": 2,
"watchers_count": 2,
"language": "Dockerfile",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 3,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"topics": [
"docker",
"php"
],
"visibility": "public",
"forks": 3,
"open_issues": 0,
"watchers": 2,
"default_branch": "main"
},
"organization": {
"login": "nasqueron",
"id": 5605546,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU2MDU1NDY=",
"url": "https://api.github.com/orgs/nasqueron",
"repos_url": "https://api.github.com/orgs/nasqueron/repos",
"events_url": "https://api.github.com/orgs/nasqueron/events",
"hooks_url": "https://api.github.com/orgs/nasqueron/hooks",
"issues_url": "https://api.github.com/orgs/nasqueron/issues",
"members_url": "https://api.github.com/orgs/nasqueron/members{/member}",
"public_members_url": "https://api.github.com/orgs/nasqueron/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/5605546?v=4",
"description": "Central hub of a budding community of creative people, writers, developers and thinkers."
},
"sender": {
"login": "dereckson",
"id": 135563,
"node_id": "MDQ6VXNlcjEzNTU2Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/135563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dereckson",
"html_url": "https://github.com/dereckson",
"followers_url": "https://api.github.com/users/dereckson/followers",
"following_url": "https://api.github.com/users/dereckson/following{/other_user}",
"gists_url": "https://api.github.com/users/dereckson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dereckson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dereckson/subscriptions",
"organizations_url": "https://api.github.com/users/dereckson/orgs",
"repos_url": "https://api.github.com/users/dereckson/repos",
"events_url": "https://api.github.com/users/dereckson/events{/privacy}",
"received_events_url": "https://api.github.com/users/dereckson/received_events",
"type": "User",
"site_admin": false
}
}