UNPKG

gith

Version:

gith[ooks] - a simple node server that responds to github post-receive events with meaningful data

192 lines (191 loc) 8.75 kB
{ "number": 4, "repository": { "events_url": "https://api.github.com/repos/naholyr/gith/events", "name": "gith", "assignees_url": "https://api.github.com/repos/naholyr/gith/assignees{/user}", "issue_comment_url": "https://api.github.com/repos/naholyr/gith/issues/comments/{number}", "git_tags_url": "https://api.github.com/repos/naholyr/gith/git/tags{/sha}", "open_issues_count": 4, "size": 120, "created_at": "2012-12-07T15:14:53Z", "issues_url": "https://api.github.com/repos/naholyr/gith/issues{/number}", "has_wiki": true, "forks_count": 1, "subscription_url": "https://api.github.com/repos/naholyr/gith/subscription", "tags_url": "https://api.github.com/repos/naholyr/gith/tags{/tag}", "branches_url": "https://api.github.com/repos/naholyr/gith/branches{/branch}", "merges_url": "https://api.github.com/repos/naholyr/gith/merges", "clone_url": "https://github.com/naholyr/gith.git", "hooks_url": "https://api.github.com/repos/naholyr/gith/hooks", "git_commits_url": "https://api.github.com/repos/naholyr/gith/git/commits{/sha}", "private": false, "forks_url": "https://api.github.com/repos/naholyr/gith/forks", "updated_at": "2012-12-07T15:32:18Z", "contents_url": "https://api.github.com/repos/naholyr/gith/contents/{+path}", "watchers": 0, "languages_url": "https://api.github.com/repos/naholyr/gith/languages", "ssh_url": "git@github.com:naholyr/gith.git", "fork": true, "keys_url": "https://api.github.com/repos/naholyr/gith/keys{/key_id}", "url": "https://api.github.com/repos/naholyr/gith", "issue_events_url": "https://api.github.com/repos/naholyr/gith/issues/events{/number}", "labels_url": "https://api.github.com/repos/naholyr/gith/labels{/name}", "git_url": "git://github.com/naholyr/gith.git", "notifications_url": "https://api.github.com/repos/naholyr/gith/notifications{?since,all,participating}", "language": "JavaScript", "id": 7055082, "svn_url": "https://github.com/naholyr/gith", "commits_url": "https://api.github.com/repos/naholyr/gith/commits{/sha}", "downloads_url": "https://api.github.com/repos/naholyr/gith/downloads", "pushed_at": "2012-12-07T15:30:45Z", "comments_url": "https://api.github.com/repos/naholyr/gith/comments{/number}", "open_issues": 4, "has_downloads": true, "mirror_url": null, "archive_url": "https://api.github.com/repos/naholyr/gith/{archive_format}{/ref}", "collaborators_url": "https://api.github.com/repos/naholyr/gith/collaborators{/collaborator}", "homepage": null, "statuses_url": "https://api.github.com/repos/naholyr/gith/statuses/{sha}", "has_issues": false, "trees_url": "https://api.github.com/repos/naholyr/gith/git/trees{/sha}", "full_name": "naholyr/gith", "git_refs_url": "https://api.github.com/repos/naholyr/gith/git/refs{/sha}", "description": "simple node server that responds to github post-receive events with meaningful data", "teams_url": "https://api.github.com/repos/naholyr/gith/teams", "forks": 1, "stargazers_url": "https://api.github.com/repos/naholyr/gith/stargazers", "subscribers_url": "https://api.github.com/repos/naholyr/gith/subscribers", "watchers_count": 0, "html_url": "https://github.com/naholyr/gith", "blobs_url": "https://api.github.com/repos/naholyr/gith/git/blobs{/sha}", "compare_url": "https://api.github.com/repos/naholyr/gith/compare/{base}...{head}", "milestones_url": "https://api.github.com/repos/naholyr/gith/milestones{/number}", "owner": { "avatar_url": "https://secure.gravatar.com/avatar/396445b6e14727dcb6b3d6a66d52b567?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "events_url": "https://api.github.com/users/naholyr/events{/privacy}", "gists_url": "https://api.github.com/users/naholyr/gists{/gist_id}", "gravatar_id": "396445b6e14727dcb6b3d6a66d52b567", "received_events_url": "https://api.github.com/users/naholyr/received_events", "starred_url": "https://api.github.com/users/naholyr/starred{/owner}{/repo}", "url": "https://api.github.com/users/naholyr", "id": 214067, "following_url": "https://api.github.com/users/naholyr/following", "subscriptions_url": "https://api.github.com/users/naholyr/subscriptions", "type": "User", "organizations_url": "https://api.github.com/users/naholyr/orgs", "repos_url": "https://api.github.com/users/naholyr/repos", "login": "naholyr", "followers_url": "https://api.github.com/users/naholyr/followers" }, "contributors_url": "https://api.github.com/repos/naholyr/gith/contributors", "pulls_url": "https://api.github.com/repos/naholyr/gith/pulls{/number}" }, "pull_request": { "number": 4, "issue_url": "https://github.com/naholyr/gith/issues/4", "head": { "label": "bonjourmodule:test3", "repo": [ null ], "sha": "abd633ff2744039e4bda1c697cea3d03152df3fc", "ref": "test3", "user": [ null ] }, "merged_by": null, "created_at": "2012-12-07T15:50:13Z", "changed_files": 1, "merged": false, "comments": 0, "body": "", "title": "Test3", "additions": 1, "diff_url": "https://github.com/naholyr/gith/pull/4.diff", "updated_at": "2012-12-07T15:50:13Z", "url": "https://api.github.com/repos/naholyr/gith/pulls/4", "_links": { "html": [ null ], "self": [ null ], "comments": [ null ], "issue": [ null ], "review_comments": [ null ] }, "merge_commit_sha": "", "review_comments_url": "https://github.com/naholyr/gith/pull/4/comments", "id": 3281103, "commits_url": "https://github.com/naholyr/gith/pull/4/commits", "comments_url": "https://api.github.com/repos/naholyr/gith/issues/4/comments", "assignee": null, "patch_url": "https://github.com/naholyr/gith/pull/4.patch", "mergeable_state": "unknown", "mergeable": null, "milestone": null, "closed_at": null, "merged_at": null, "commits": 2, "user": { "avatar_url": "https://secure.gravatar.com/avatar/396445b6e14727dcb6b3d6a66d52b567?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "gists_url": "https://api.github.com/users/naholyr/gists{/gist_id}", "received_events_url": "https://api.github.com/users/naholyr/received_events", "events_url": "https://api.github.com/users/naholyr/events{/privacy}", "gravatar_id": "396445b6e14727dcb6b3d6a66d52b567", "url": "https://api.github.com/users/naholyr", "starred_url": "https://api.github.com/users/naholyr/starred{/owner}{/repo}", "id": 214067, "following_url": "https://api.github.com/users/naholyr/following", "subscriptions_url": "https://api.github.com/users/naholyr/subscriptions", "type": "User", "organizations_url": "https://api.github.com/users/naholyr/orgs", "repos_url": "https://api.github.com/users/naholyr/repos", "login": "naholyr", "followers_url": "https://api.github.com/users/naholyr/followers" }, "deletions": 135, "review_comments": 0, "html_url": "https://github.com/naholyr/gith/pull/4", "state": "open", "base": { "label": "naholyr:master", "repo": [ null ], "sha": "b493393b12a780735832a8ece5e16e723aef1318", "ref": "master", "user": [ null ] }, "review_comment_url": "/repos/naholyr/gith/pulls/comments/{number}" }, "sender": { "avatar_url": "https://secure.gravatar.com/avatar/396445b6e14727dcb6b3d6a66d52b567?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "events_url": "https://api.github.com/users/naholyr/events{/privacy}", "gists_url": "https://api.github.com/users/naholyr/gists{/gist_id}", "gravatar_id": "396445b6e14727dcb6b3d6a66d52b567", "received_events_url": "https://api.github.com/users/naholyr/received_events", "starred_url": "https://api.github.com/users/naholyr/starred{/owner}{/repo}", "url": "https://api.github.com/users/naholyr", "id": 214067, "following_url": "https://api.github.com/users/naholyr/following", "subscriptions_url": "https://api.github.com/users/naholyr/subscriptions", "type": "User", "organizations_url": "https://api.github.com/users/naholyr/orgs", "repos_url": "https://api.github.com/users/naholyr/repos", "login": "naholyr", "followers_url": "https://api.github.com/users/naholyr/followers" }, "action": "opened" }