Skip to content

Instantly share code, notes, and snippets.

@swinton
Created April 17, 2018 21:48
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 swinton/323b92230418019b972f1a9eef9b4bbe to your computer and use it in GitHub Desktop.
Save swinton/323b92230418019b972f1a9eef9b4bbe to your computer and use it in GitHub Desktop.
{
"_links": {
"comments": {
"href": "https://api.github.com/repos/swinton/example/issues/2/comments"
},
"commits": {
"href": "https://api.github.com/repos/swinton/example/pulls/2/commits"
},
"html": {
"href": "https://github.com/swinton/example/pull/2"
},
"issue": {
"href": "https://api.github.com/repos/swinton/example/issues/2"
},
"review_comment": {
"href": "https://api.github.com/repos/swinton/example/pulls/comments{/number}"
},
"review_comments": {
"href": "https://api.github.com/repos/swinton/example/pulls/2/comments"
},
"self": {
"href": "https://api.github.com/repos/swinton/example/pulls/2"
},
"statuses": {
"href": "https://api.github.com/repos/swinton/example/statuses/c2e88a72f22170cd8144fe411701037e7b1c0cf8"
}
},
"additions": 3,
"assignee": null,
"assignees": [],
"author_association": "OWNER",
"base": {
"label": "swinton:master",
"ref": "master",
"repo": {
"archive_url": "https://api.github.com/repos/swinton/example/{archive_format}{/ref}",
"archived": false,
"assignees_url": "https://api.github.com/repos/swinton/example/assignees{/user}",
"blobs_url": "https://api.github.com/repos/swinton/example/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/swinton/example/branches{/branch}",
"clone_url": "https://github.com/swinton/example.git",
"collaborators_url": "https://api.github.com/repos/swinton/example/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/swinton/example/comments{/number}",
"commits_url": "https://api.github.com/repos/swinton/example/commits{/sha}",
"compare_url": "https://api.github.com/repos/swinton/example/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/swinton/example/contents/{+path}",
"contributors_url": "https://api.github.com/repos/swinton/example/contributors",
"created_at": "2017-06-29T20:03:02Z",
"default_branch": "master",
"deployments_url": "https://api.github.com/repos/swinton/example/deployments",
"description": "This is an example repo, for demonstration purposes",
"downloads_url": "https://api.github.com/repos/swinton/example/downloads",
"events_url": "https://api.github.com/repos/swinton/example/events",
"fork": false,
"forks": 0,
"forks_count": 0,
"forks_url": "https://api.github.com/repos/swinton/example/forks",
"full_name": "swinton/example",
"git_commits_url": "https://api.github.com/repos/swinton/example/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/swinton/example/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/swinton/example/git/tags{/sha}",
"git_url": "git://github.com/swinton/example.git",
"has_downloads": true,
"has_issues": true,
"has_pages": false,
"has_projects": true,
"has_wiki": true,
"homepage": null,
"hooks_url": "https://api.github.com/repos/swinton/example/hooks",
"html_url": "https://github.com/swinton/example",
"id": 95814968,
"issue_comment_url": "https://api.github.com/repos/swinton/example/issues/comments{/number}",
"issue_events_url": "https://api.github.com/repos/swinton/example/issues/events{/number}",
"issues_url": "https://api.github.com/repos/swinton/example/issues{/number}",
"keys_url": "https://api.github.com/repos/swinton/example/keys{/key_id}",
"labels_url": "https://api.github.com/repos/swinton/example/labels{/name}",
"language": null,
"languages_url": "https://api.github.com/repos/swinton/example/languages",
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit"
},
"merges_url": "https://api.github.com/repos/swinton/example/merges",
"milestones_url": "https://api.github.com/repos/swinton/example/milestones{/number}",
"mirror_url": null,
"name": "example",
"notifications_url": "https://api.github.com/repos/swinton/example/notifications{?since,all,participating}",
"open_issues": 2,
"open_issues_count": 2,
"owner": {
"avatar_url": "https://avatars2.githubusercontent.com/u/27806?v=4",
"events_url": "https://api.github.com/users/swinton/events{/privacy}",
"followers_url": "https://api.github.com/users/swinton/followers",
"following_url": "https://api.github.com/users/swinton/following{/other_user}",
"gists_url": "https://api.github.com/users/swinton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/swinton",
"id": 27806,
"login": "swinton",
"organizations_url": "https://api.github.com/users/swinton/orgs",
"received_events_url": "https://api.github.com/users/swinton/received_events",
"repos_url": "https://api.github.com/users/swinton/repos",
"site_admin": true,
"starred_url": "https://api.github.com/users/swinton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swinton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/swinton"
},
"private": false,
"pulls_url": "https://api.github.com/repos/swinton/example/pulls{/number}",
"pushed_at": "2018-04-10T22:00:08Z",
"releases_url": "https://api.github.com/repos/swinton/example/releases{/id}",
"size": 1,
"ssh_url": "git@github.com:swinton/example.git",
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/swinton/example/stargazers",
"statuses_url": "https://api.github.com/repos/swinton/example/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/swinton/example/subscribers",
"subscription_url": "https://api.github.com/repos/swinton/example/subscription",
"svn_url": "https://github.com/swinton/example",
"tags_url": "https://api.github.com/repos/swinton/example/tags",
"teams_url": "https://api.github.com/repos/swinton/example/teams",
"trees_url": "https://api.github.com/repos/swinton/example/git/trees{/sha}",
"updated_at": "2017-06-29T20:03:02Z",
"url": "https://api.github.com/repos/swinton/example",
"watchers": 0,
"watchers_count": 0
},
"sha": "6100e1f22903a7d071b14ae2476cbf0bc9e70e40",
"user": {
"avatar_url": "https://avatars2.githubusercontent.com/u/27806?v=4",
"events_url": "https://api.github.com/users/swinton/events{/privacy}",
"followers_url": "https://api.github.com/users/swinton/followers",
"following_url": "https://api.github.com/users/swinton/following{/other_user}",
"gists_url": "https://api.github.com/users/swinton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/swinton",
"id": 27806,
"login": "swinton",
"organizations_url": "https://api.github.com/users/swinton/orgs",
"received_events_url": "https://api.github.com/users/swinton/received_events",
"repos_url": "https://api.github.com/users/swinton/repos",
"site_admin": true,
"starred_url": "https://api.github.com/users/swinton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swinton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/swinton"
}
},
"body": "",
"changed_files": 1,
"closed_at": null,
"comments": 0,
"comments_url": "https://api.github.com/repos/swinton/example/issues/2/comments",
"commits": 1,
"commits_url": "https://api.github.com/repos/swinton/example/pulls/2/commits",
"created_at": "2018-04-10T22:00:07Z",
"deletions": 2,
"diff_url": "https://github.com/swinton/example/pull/2.diff",
"head": {
"label": "swinton:annotations",
"ref": "annotations",
"repo": {
"archive_url": "https://api.github.com/repos/swinton/example/{archive_format}{/ref}",
"archived": false,
"assignees_url": "https://api.github.com/repos/swinton/example/assignees{/user}",
"blobs_url": "https://api.github.com/repos/swinton/example/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/swinton/example/branches{/branch}",
"clone_url": "https://github.com/swinton/example.git",
"collaborators_url": "https://api.github.com/repos/swinton/example/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/swinton/example/comments{/number}",
"commits_url": "https://api.github.com/repos/swinton/example/commits{/sha}",
"compare_url": "https://api.github.com/repos/swinton/example/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/swinton/example/contents/{+path}",
"contributors_url": "https://api.github.com/repos/swinton/example/contributors",
"created_at": "2017-06-29T20:03:02Z",
"default_branch": "master",
"deployments_url": "https://api.github.com/repos/swinton/example/deployments",
"description": "This is an example repo, for demonstration purposes",
"downloads_url": "https://api.github.com/repos/swinton/example/downloads",
"events_url": "https://api.github.com/repos/swinton/example/events",
"fork": false,
"forks": 0,
"forks_count": 0,
"forks_url": "https://api.github.com/repos/swinton/example/forks",
"full_name": "swinton/example",
"git_commits_url": "https://api.github.com/repos/swinton/example/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/swinton/example/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/swinton/example/git/tags{/sha}",
"git_url": "git://github.com/swinton/example.git",
"has_downloads": true,
"has_issues": true,
"has_pages": false,
"has_projects": true,
"has_wiki": true,
"homepage": null,
"hooks_url": "https://api.github.com/repos/swinton/example/hooks",
"html_url": "https://github.com/swinton/example",
"id": 95814968,
"issue_comment_url": "https://api.github.com/repos/swinton/example/issues/comments{/number}",
"issue_events_url": "https://api.github.com/repos/swinton/example/issues/events{/number}",
"issues_url": "https://api.github.com/repos/swinton/example/issues{/number}",
"keys_url": "https://api.github.com/repos/swinton/example/keys{/key_id}",
"labels_url": "https://api.github.com/repos/swinton/example/labels{/name}",
"language": null,
"languages_url": "https://api.github.com/repos/swinton/example/languages",
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit"
},
"merges_url": "https://api.github.com/repos/swinton/example/merges",
"milestones_url": "https://api.github.com/repos/swinton/example/milestones{/number}",
"mirror_url": null,
"name": "example",
"notifications_url": "https://api.github.com/repos/swinton/example/notifications{?since,all,participating}",
"open_issues": 2,
"open_issues_count": 2,
"owner": {
"avatar_url": "https://avatars2.githubusercontent.com/u/27806?v=4",
"events_url": "https://api.github.com/users/swinton/events{/privacy}",
"followers_url": "https://api.github.com/users/swinton/followers",
"following_url": "https://api.github.com/users/swinton/following{/other_user}",
"gists_url": "https://api.github.com/users/swinton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/swinton",
"id": 27806,
"login": "swinton",
"organizations_url": "https://api.github.com/users/swinton/orgs",
"received_events_url": "https://api.github.com/users/swinton/received_events",
"repos_url": "https://api.github.com/users/swinton/repos",
"site_admin": true,
"starred_url": "https://api.github.com/users/swinton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swinton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/swinton"
},
"private": false,
"pulls_url": "https://api.github.com/repos/swinton/example/pulls{/number}",
"pushed_at": "2018-04-10T22:00:08Z",
"releases_url": "https://api.github.com/repos/swinton/example/releases{/id}",
"size": 1,
"ssh_url": "git@github.com:swinton/example.git",
"stargazers_count": 0,
"stargazers_url": "https://api.github.com/repos/swinton/example/stargazers",
"statuses_url": "https://api.github.com/repos/swinton/example/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/swinton/example/subscribers",
"subscription_url": "https://api.github.com/repos/swinton/example/subscription",
"svn_url": "https://github.com/swinton/example",
"tags_url": "https://api.github.com/repos/swinton/example/tags",
"teams_url": "https://api.github.com/repos/swinton/example/teams",
"trees_url": "https://api.github.com/repos/swinton/example/git/trees{/sha}",
"updated_at": "2017-06-29T20:03:02Z",
"url": "https://api.github.com/repos/swinton/example",
"watchers": 0,
"watchers_count": 0
},
"sha": "c2e88a72f22170cd8144fe411701037e7b1c0cf8",
"user": {
"avatar_url": "https://avatars2.githubusercontent.com/u/27806?v=4",
"events_url": "https://api.github.com/users/swinton/events{/privacy}",
"followers_url": "https://api.github.com/users/swinton/followers",
"following_url": "https://api.github.com/users/swinton/following{/other_user}",
"gists_url": "https://api.github.com/users/swinton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/swinton",
"id": 27806,
"login": "swinton",
"organizations_url": "https://api.github.com/users/swinton/orgs",
"received_events_url": "https://api.github.com/users/swinton/received_events",
"repos_url": "https://api.github.com/users/swinton/repos",
"site_admin": true,
"starred_url": "https://api.github.com/users/swinton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swinton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/swinton"
}
},
"html_url": "https://github.com/swinton/example/pull/2",
"id": 180739615,
"issue_url": "https://api.github.com/repos/swinton/example/issues/2",
"labels": [],
"locked": false,
"maintainer_can_modify": false,
"merge_commit_sha": "3c2bfbbf2e5fe466a4a1f8befe10bd2379072fb2",
"mergeable": true,
"mergeable_state": "clean",
"merged": false,
"merged_at": null,
"merged_by": null,
"milestone": null,
"number": 2,
"patch_url": "https://github.com/swinton/example/pull/2.patch",
"rebaseable": true,
"requested_reviewers": [],
"requested_teams": [],
"review_comment_url": "https://api.github.com/repos/swinton/example/pulls/comments{/number}",
"review_comments": 0,
"review_comments_url": "https://api.github.com/repos/swinton/example/pulls/2/comments",
"state": "open",
"statuses_url": "https://api.github.com/repos/swinton/example/statuses/c2e88a72f22170cd8144fe411701037e7b1c0cf8",
"title": "Tidy up README",
"updated_at": "2018-04-10T22:00:07Z",
"url": "https://api.github.com/repos/swinton/example/pulls/2",
"user": {
"avatar_url": "https://avatars2.githubusercontent.com/u/27806?v=4",
"events_url": "https://api.github.com/users/swinton/events{/privacy}",
"followers_url": "https://api.github.com/users/swinton/followers",
"following_url": "https://api.github.com/users/swinton/following{/other_user}",
"gists_url": "https://api.github.com/users/swinton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/swinton",
"id": 27806,
"login": "swinton",
"organizations_url": "https://api.github.com/users/swinton/orgs",
"received_events_url": "https://api.github.com/users/swinton/received_events",
"repos_url": "https://api.github.com/users/swinton/repos",
"site_admin": true,
"starred_url": "https://api.github.com/users/swinton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swinton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/swinton"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment