Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created February 9, 2024 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anna-geller/df2532c0699e3ba4f572a88fbdf19a13 to your computer and use it in GitHub Desktop.
Save anna-geller/df2532c0699e3ba4f572a88fbdf19a13 to your computer and use it in GitHub Desktop.
{
"action": "opened",
"number": 1,
"pull_request": {
"id": 123456789,
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
"html_url": "https://github.com/octocat/Hello-World/pull/1",
"diff_url": "https://github.com/octocat/Hello-World/pull/1.diff",
"patch_url": "https://github.com/octocat/Hello-World/pull/1.patch",
"issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1",
"number": 1,
"state": "open",
"title": "Update the README with new information",
"user": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"body": "This is a pretty simple change that we need to pull into master.",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"merged_at": null,
"merge_commit_sha": null,
"assignees": [],
"requested_reviewers": [],
"labels": [],
"milestone": null,
"commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1/commits",
"review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1/comments",
"review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1/comments",
"statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
"head": {
"label": "octocat:new-branch",
"ref": "new-branch",
"sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"user": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"repo": {
"id": 1296269,
"url": "https://api.github.com/repos/octocat/Hello-World",
"name": "Hello-World"
}
},
"base": {
"label": "octocat:master",
"ref": "master",
"sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"user": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"repo": {
"id": 1296269,
"url": "https://api.github.com/repos/octocat/Hello-World",
"name": "Hello-World"
}
}
},
"repository": {
"id": 1296269,
"name": "Hello-World",
"full_name": "octocat/Hello-World",
"owner": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"html_url": "https://github.com/octocat/Hello-World",
"description": "This your first repo!",
"url": "https://api.github.com/repos/octocat/Hello-World",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"pushed_at": "2020-01-01T00:00:00Z",
"git_url": "git://github.com/octocat/Hello-World.git",
"ssh_url": "git@github.com:octocat/Hello-World.git",
"clone_url": "https://github.com/octocat/Hello-World.git",
"svn_url": "https://github.com/octocat/Hello-World",
"homepage": null,
"size": 108,
"stargazers_count": 80,
"watchers_count": 80,
"language": "Ruby",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 9,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": {
"key": "mit",
"name": "MIT License",
"url": "https://api.github.com/licenses/mit"
},
"forks": 9,
"open_issues": 1,
"watchers": 80,
"default_branch": "master"
},
"sender": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"html_url": "https://github.com/octocat"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment