Skip to content

Instantly share code, notes, and snippets.

@avtar
Last active June 28, 2017 20:45
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 avtar/b68d46badec3c5525776e651229f151c to your computer and use it in GitHub Desktop.
Save avtar/b68d46badec3c5525776e651229f151c to your computer and use it in GitHub Desktop.
GitHub payloads
#Headers
Request URL: http://*.ngrok.io/hooks/sync-gitlab-mirror
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/18889e1
X-GitHub-Delivery: 37dead80-5c0d-11e7-8b3d-2fbc1f31f592
X-GitHub-Event: create
#Payload
{
"ref": "test-pr-branch2",
"ref_type": "branch",
"master_branch": "master",
"description": "A library to add lucene-like sorting of array content.",
"pusher_type": "user",
"repository": {
"id": 95491084,
"name": "gpii-sort",
"full_name": "avtar/gpii-sort",
"owner": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/avtar/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://api.github.com/repos/avtar/gpii-sort",
"forks_url": "https://api.github.com/repos/avtar/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/avtar/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/avtar/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/avtar/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/avtar/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/avtar/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/avtar/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/avtar/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/avtar/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/avtar/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/avtar/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/avtar/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/avtar/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/avtar/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/avtar/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/avtar/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/avtar/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/avtar/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/avtar/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/avtar/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/avtar/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/avtar/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/avtar/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/avtar/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/avtar/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/avtar/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/avtar/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/avtar/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/avtar/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/avtar/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/avtar/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/avtar/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/avtar/gpii-sort/deployments",
"created_at": "2017-06-26T21:29:10Z",
"updated_at": "2017-06-26T21:29:12Z",
"pushed_at": "2017-06-28T14:22:29Z",
"git_url": "git://github.com/avtar/gpii-sort.git",
"ssh_url": "git@github.com:avtar/gpii-sort.git",
"clone_url": "https://github.com/avtar/gpii-sort.git",
"svn_url": "https://github.com/avtar/gpii-sort",
"homepage": null,
"size": 42,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 2,
"forks": 1,
"open_issues": 2,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
}
}
#Headers
Request URL: http://*.ngrok.io/hooks/sync-gitlab-mirror
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/18889e1
X-GitHub-Delivery: aac709d0-5c41-11e7-87e9-a060a9b598a3
X-GitHub-Event: pull_request
#Payload
{
"action": "opened",
"number": 4,
"pull_request": {
"url": "https://api.github.com/repos/avtar/gpii-sort/pulls/4",
"id": 128014580,
"html_url": "https://github.com/avtar/gpii-sort/pull/4",
"diff_url": "https://github.com/avtar/gpii-sort/pull/4.diff",
"patch_url": "https://github.com/avtar/gpii-sort/pull/4.patch",
"issue_url": "https://api.github.com/repos/avtar/gpii-sort/issues/4",
"number": 4,
"state": "open",
"locked": false,
"title": "Update .vagrant.yml",
"user": {
"login": "p4a-test",
"id": 26096916,
"avatar_url": "https://avatars1.githubusercontent.com/u/26096916?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/p4a-test",
"html_url": "https://github.com/p4a-test",
"followers_url": "https://api.github.com/users/p4a-test/followers",
"following_url": "https://api.github.com/users/p4a-test/following{/other_user}",
"gists_url": "https://api.github.com/users/p4a-test/gists{/gist_id}",
"starred_url": "https://api.github.com/users/p4a-test/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/p4a-test/subscriptions",
"organizations_url": "https://api.github.com/users/p4a-test/orgs",
"repos_url": "https://api.github.com/users/p4a-test/repos",
"events_url": "https://api.github.com/users/p4a-test/events{/privacy}",
"received_events_url": "https://api.github.com/users/p4a-test/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2017-06-28T20:37:56Z",
"updated_at": "2017-06-28T20:37:56Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": null,
"assignee": null,
"assignees": [
],
"requested_reviewers": [
],
"milestone": null,
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/pulls/4/commits",
"review_comments_url": "https://api.github.com/repos/avtar/gpii-sort/pulls/4/comments",
"review_comment_url": "https://api.github.com/repos/avtar/gpii-sort/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/issues/4/comments",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/0ed97c4b38ada1ce6f9afa177659e99445ff33a1",
"head": {
"label": "p4a-test:p4a-test-patch-1",
"ref": "p4a-test-patch-1",
"sha": "0ed97c4b38ada1ce6f9afa177659e99445ff33a1",
"user": {
"login": "p4a-test",
"id": 26096916,
"avatar_url": "https://avatars1.githubusercontent.com/u/26096916?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/p4a-test",
"html_url": "https://github.com/p4a-test",
"followers_url": "https://api.github.com/users/p4a-test/followers",
"following_url": "https://api.github.com/users/p4a-test/following{/other_user}",
"gists_url": "https://api.github.com/users/p4a-test/gists{/gist_id}",
"starred_url": "https://api.github.com/users/p4a-test/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/p4a-test/subscriptions",
"organizations_url": "https://api.github.com/users/p4a-test/orgs",
"repos_url": "https://api.github.com/users/p4a-test/repos",
"events_url": "https://api.github.com/users/p4a-test/events{/privacy}",
"received_events_url": "https://api.github.com/users/p4a-test/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 95557447,
"name": "gpii-sort",
"full_name": "p4a-test/gpii-sort",
"owner": {
"login": "p4a-test",
"id": 26096916,
"avatar_url": "https://avatars1.githubusercontent.com/u/26096916?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/p4a-test",
"html_url": "https://github.com/p4a-test",
"followers_url": "https://api.github.com/users/p4a-test/followers",
"following_url": "https://api.github.com/users/p4a-test/following{/other_user}",
"gists_url": "https://api.github.com/users/p4a-test/gists{/gist_id}",
"starred_url": "https://api.github.com/users/p4a-test/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/p4a-test/subscriptions",
"organizations_url": "https://api.github.com/users/p4a-test/orgs",
"repos_url": "https://api.github.com/users/p4a-test/repos",
"events_url": "https://api.github.com/users/p4a-test/events{/privacy}",
"received_events_url": "https://api.github.com/users/p4a-test/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/p4a-test/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://api.github.com/repos/p4a-test/gpii-sort",
"forks_url": "https://api.github.com/repos/p4a-test/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/p4a-test/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/p4a-test/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/p4a-test/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/p4a-test/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/p4a-test/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/p4a-test/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/p4a-test/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/p4a-test/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/p4a-test/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/p4a-test/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/p4a-test/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/p4a-test/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/p4a-test/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/p4a-test/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/p4a-test/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/p4a-test/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/p4a-test/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/p4a-test/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/p4a-test/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/p4a-test/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/p4a-test/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/p4a-test/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/p4a-test/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/p4a-test/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/p4a-test/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/p4a-test/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/p4a-test/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/p4a-test/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/p4a-test/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/p4a-test/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/p4a-test/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/p4a-test/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/p4a-test/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/p4a-test/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/p4a-test/gpii-sort/deployments",
"created_at": "2017-06-27T12:47:15Z",
"updated_at": "2017-06-27T12:47:17Z",
"pushed_at": "2017-06-28T20:37:28Z",
"git_url": "git://github.com/p4a-test/gpii-sort.git",
"ssh_url": "git@github.com:p4a-test/gpii-sort.git",
"clone_url": "https://github.com/p4a-test/gpii-sort.git",
"svn_url": "https://github.com/p4a-test/gpii-sort",
"homepage": null,
"size": 42,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 0,
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "master"
}
},
"base": {
"label": "avtar:master",
"ref": "master",
"sha": "c26bf9995c34133d2335c47eb24451c74a3349af",
"user": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 95491084,
"name": "gpii-sort",
"full_name": "avtar/gpii-sort",
"owner": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/avtar/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://api.github.com/repos/avtar/gpii-sort",
"forks_url": "https://api.github.com/repos/avtar/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/avtar/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/avtar/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/avtar/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/avtar/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/avtar/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/avtar/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/avtar/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/avtar/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/avtar/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/avtar/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/avtar/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/avtar/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/avtar/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/avtar/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/avtar/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/avtar/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/avtar/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/avtar/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/avtar/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/avtar/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/avtar/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/avtar/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/avtar/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/avtar/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/avtar/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/avtar/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/avtar/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/avtar/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/avtar/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/avtar/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/avtar/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/avtar/gpii-sort/deployments",
"created_at": "2017-06-26T21:29:10Z",
"updated_at": "2017-06-26T21:29:12Z",
"pushed_at": "2017-06-28T14:27:47Z",
"git_url": "git://github.com/avtar/gpii-sort.git",
"ssh_url": "git@github.com:avtar/gpii-sort.git",
"clone_url": "https://github.com/avtar/gpii-sort.git",
"svn_url": "https://github.com/avtar/gpii-sort",
"homepage": null,
"size": 43,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 4,
"forks": 1,
"open_issues": 4,
"watchers": 0,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/4"
},
"html": {
"href": "https://github.com/avtar/gpii-sort/pull/4"
},
"issue": {
"href": "https://api.github.com/repos/avtar/gpii-sort/issues/4"
},
"comments": {
"href": "https://api.github.com/repos/avtar/gpii-sort/issues/4/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/4/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/4/commits"
},
"statuses": {
"href": "https://api.github.com/repos/avtar/gpii-sort/statuses/0ed97c4b38ada1ce6f9afa177659e99445ff33a1"
}
},
"merged": false,
"mergeable": null,
"rebaseable": null,
"mergeable_state": "unknown",
"merged_by": null,
"comments": 0,
"review_comments": 0,
"maintainer_can_modify": true,
"commits": 1,
"additions": 1,
"deletions": 0,
"changed_files": 1
},
"repository": {
"id": 95491084,
"name": "gpii-sort",
"full_name": "avtar/gpii-sort",
"owner": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/avtar/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://api.github.com/repos/avtar/gpii-sort",
"forks_url": "https://api.github.com/repos/avtar/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/avtar/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/avtar/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/avtar/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/avtar/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/avtar/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/avtar/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/avtar/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/avtar/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/avtar/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/avtar/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/avtar/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/avtar/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/avtar/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/avtar/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/avtar/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/avtar/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/avtar/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/avtar/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/avtar/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/avtar/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/avtar/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/avtar/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/avtar/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/avtar/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/avtar/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/avtar/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/avtar/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/avtar/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/avtar/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/avtar/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/avtar/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/avtar/gpii-sort/deployments",
"created_at": "2017-06-26T21:29:10Z",
"updated_at": "2017-06-26T21:29:12Z",
"pushed_at": "2017-06-28T14:27:47Z",
"git_url": "git://github.com/avtar/gpii-sort.git",
"ssh_url": "git@github.com:avtar/gpii-sort.git",
"clone_url": "https://github.com/avtar/gpii-sort.git",
"svn_url": "https://github.com/avtar/gpii-sort",
"homepage": null,
"size": 43,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 4,
"forks": 1,
"open_issues": 4,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "p4a-test",
"id": 26096916,
"avatar_url": "https://avatars1.githubusercontent.com/u/26096916?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/p4a-test",
"html_url": "https://github.com/p4a-test",
"followers_url": "https://api.github.com/users/p4a-test/followers",
"following_url": "https://api.github.com/users/p4a-test/following{/other_user}",
"gists_url": "https://api.github.com/users/p4a-test/gists{/gist_id}",
"starred_url": "https://api.github.com/users/p4a-test/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/p4a-test/subscriptions",
"organizations_url": "https://api.github.com/users/p4a-test/orgs",
"repos_url": "https://api.github.com/users/p4a-test/repos",
"events_url": "https://api.github.com/users/p4a-test/events{/privacy}",
"received_events_url": "https://api.github.com/users/p4a-test/received_events",
"type": "User",
"site_admin": false
}
}
#Headers
Request URL: http://*.ngrok.io/hooks/sync-gitlab-mirror
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/18889e1
X-GitHub-Delivery: f50909f0-5c0d-11e7-9b8d-371cfd479d3f
X-GitHub-Event: pull_request
#Payload
{
"action": "opened",
"number": 3,
"pull_request": {
"url": "https://api.github.com/repos/avtar/gpii-sort/pulls/3",
"id": 127936155,
"html_url": "https://github.com/avtar/gpii-sort/pull/3",
"diff_url": "https://github.com/avtar/gpii-sort/pull/3.diff",
"patch_url": "https://github.com/avtar/gpii-sort/pull/3.patch",
"issue_url": "https://api.github.com/repos/avtar/gpii-sort/issues/3",
"number": 3,
"state": "open",
"locked": false,
"title": "Update .vagrant.yml",
"user": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2017-06-28T14:27:47Z",
"updated_at": "2017-06-28T14:27:47Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": null,
"assignee": null,
"assignees": [
],
"requested_reviewers": [
],
"milestone": null,
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/pulls/3/commits",
"review_comments_url": "https://api.github.com/repos/avtar/gpii-sort/pulls/3/comments",
"review_comment_url": "https://api.github.com/repos/avtar/gpii-sort/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/issues/3/comments",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/ff331096689b158e34646149aaa7cb05af45e12e",
"head": {
"label": "avtar:test-pr-branch2",
"ref": "test-pr-branch2",
"sha": "ff331096689b158e34646149aaa7cb05af45e12e",
"user": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 95491084,
"name": "gpii-sort",
"full_name": "avtar/gpii-sort",
"owner": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/avtar/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://api.github.com/repos/avtar/gpii-sort",
"forks_url": "https://api.github.com/repos/avtar/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/avtar/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/avtar/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/avtar/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/avtar/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/avtar/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/avtar/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/avtar/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/avtar/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/avtar/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/avtar/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/avtar/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/avtar/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/avtar/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/avtar/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/avtar/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/avtar/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/avtar/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/avtar/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/avtar/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/avtar/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/avtar/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/avtar/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/avtar/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/avtar/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/avtar/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/avtar/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/avtar/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/avtar/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/avtar/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/avtar/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/avtar/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/avtar/gpii-sort/deployments",
"created_at": "2017-06-26T21:29:10Z",
"updated_at": "2017-06-26T21:29:12Z",
"pushed_at": "2017-06-28T14:22:29Z",
"git_url": "git://github.com/avtar/gpii-sort.git",
"ssh_url": "git@github.com:avtar/gpii-sort.git",
"clone_url": "https://github.com/avtar/gpii-sort.git",
"svn_url": "https://github.com/avtar/gpii-sort",
"homepage": null,
"size": 42,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 3,
"forks": 1,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
}
},
"base": {
"label": "avtar:master",
"ref": "master",
"sha": "c26bf9995c34133d2335c47eb24451c74a3349af",
"user": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 95491084,
"name": "gpii-sort",
"full_name": "avtar/gpii-sort",
"owner": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/avtar/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://api.github.com/repos/avtar/gpii-sort",
"forks_url": "https://api.github.com/repos/avtar/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/avtar/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/avtar/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/avtar/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/avtar/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/avtar/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/avtar/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/avtar/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/avtar/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/avtar/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/avtar/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/avtar/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/avtar/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/avtar/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/avtar/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/avtar/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/avtar/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/avtar/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/avtar/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/avtar/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/avtar/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/avtar/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/avtar/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/avtar/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/avtar/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/avtar/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/avtar/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/avtar/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/avtar/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/avtar/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/avtar/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/avtar/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/avtar/gpii-sort/deployments",
"created_at": "2017-06-26T21:29:10Z",
"updated_at": "2017-06-26T21:29:12Z",
"pushed_at": "2017-06-28T14:22:29Z",
"git_url": "git://github.com/avtar/gpii-sort.git",
"ssh_url": "git@github.com:avtar/gpii-sort.git",
"clone_url": "https://github.com/avtar/gpii-sort.git",
"svn_url": "https://github.com/avtar/gpii-sort",
"homepage": null,
"size": 42,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 3,
"forks": 1,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/3"
},
"html": {
"href": "https://github.com/avtar/gpii-sort/pull/3"
},
"issue": {
"href": "https://api.github.com/repos/avtar/gpii-sort/issues/3"
},
"comments": {
"href": "https://api.github.com/repos/avtar/gpii-sort/issues/3/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/3/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/avtar/gpii-sort/pulls/3/commits"
},
"statuses": {
"href": "https://api.github.com/repos/avtar/gpii-sort/statuses/ff331096689b158e34646149aaa7cb05af45e12e"
}
},
"merged": false,
"mergeable": null,
"rebaseable": null,
"mergeable_state": "unknown",
"merged_by": null,
"comments": 0,
"review_comments": 0,
"maintainer_can_modify": false,
"commits": 1,
"additions": 2,
"deletions": 1,
"changed_files": 1
},
"repository": {
"id": 95491084,
"name": "gpii-sort",
"full_name": "avtar/gpii-sort",
"owner": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/avtar/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://api.github.com/repos/avtar/gpii-sort",
"forks_url": "https://api.github.com/repos/avtar/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/avtar/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/avtar/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/avtar/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/avtar/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/avtar/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/avtar/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/avtar/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/avtar/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/avtar/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/avtar/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/avtar/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/avtar/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/avtar/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/avtar/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/avtar/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/avtar/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/avtar/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/avtar/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/avtar/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/avtar/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/avtar/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/avtar/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/avtar/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/avtar/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/avtar/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/avtar/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/avtar/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/avtar/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/avtar/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/avtar/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/avtar/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/avtar/gpii-sort/deployments",
"created_at": "2017-06-26T21:29:10Z",
"updated_at": "2017-06-26T21:29:12Z",
"pushed_at": "2017-06-28T14:22:29Z",
"git_url": "git://github.com/avtar/gpii-sort.git",
"ssh_url": "git@github.com:avtar/gpii-sort.git",
"clone_url": "https://github.com/avtar/gpii-sort.git",
"svn_url": "https://github.com/avtar/gpii-sort",
"homepage": null,
"size": 42,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 3,
"forks": 1,
"open_issues": 3,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
}
}
#Headers
Request URL: http://*.ngrok.io/hooks/sync-gitlab-mirror
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/18889e1
X-GitHub-Delivery: 37dead80-5c0d-11e7-9f2d-c8893bdb03ba
X-GitHub-Event: push
#Payload
{
"ref": "refs/heads/test-pr-branch2",
"before": "0000000000000000000000000000000000000000",
"after": "ff331096689b158e34646149aaa7cb05af45e12e",
"created": true,
"deleted": false,
"forced": false,
"base_ref": null,
"compare": "https://github.com/avtar/gpii-sort/commit/ff331096689b",
"commits": [
{
"id": "ff331096689b158e34646149aaa7cb05af45e12e",
"tree_id": "edce350328349edc4b10f70a9048f70438a8133c",
"distinct": true,
"message": "Update .vagrant.yml",
"timestamp": "2017-06-28T10:22:29-04:00",
"url": "https://github.com/avtar/gpii-sort/commit/ff331096689b158e34646149aaa7cb05af45e12e",
"author": {
"name": "Avtar Gill",
"email": "avtargill@gmail.com",
"username": "avtar"
},
"committer": {
"name": "GitHub",
"email": "noreply@github.com",
"username": "web-flow"
},
"added": [
],
"removed": [
],
"modified": [
".vagrant.yml"
]
}
],
"head_commit": {
"id": "ff331096689b158e34646149aaa7cb05af45e12e",
"tree_id": "edce350328349edc4b10f70a9048f70438a8133c",
"distinct": true,
"message": "Update .vagrant.yml",
"timestamp": "2017-06-28T10:22:29-04:00",
"url": "https://github.com/avtar/gpii-sort/commit/ff331096689b158e34646149aaa7cb05af45e12e",
"author": {
"name": "Avtar Gill",
"email": "avtargill@gmail.com",
"username": "avtar"
},
"committer": {
"name": "GitHub",
"email": "noreply@github.com",
"username": "web-flow"
},
"added": [
],
"removed": [
],
"modified": [
".vagrant.yml"
]
},
"repository": {
"id": 95491084,
"name": "gpii-sort",
"full_name": "avtar/gpii-sort",
"owner": {
"name": "avtar",
"email": "avtargill@gmail.com",
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/avtar/gpii-sort",
"description": "A library to add lucene-like sorting of array content.",
"fork": true,
"url": "https://github.com/avtar/gpii-sort",
"forks_url": "https://api.github.com/repos/avtar/gpii-sort/forks",
"keys_url": "https://api.github.com/repos/avtar/gpii-sort/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/avtar/gpii-sort/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/avtar/gpii-sort/teams",
"hooks_url": "https://api.github.com/repos/avtar/gpii-sort/hooks",
"issue_events_url": "https://api.github.com/repos/avtar/gpii-sort/issues/events{/number}",
"events_url": "https://api.github.com/repos/avtar/gpii-sort/events",
"assignees_url": "https://api.github.com/repos/avtar/gpii-sort/assignees{/user}",
"branches_url": "https://api.github.com/repos/avtar/gpii-sort/branches{/branch}",
"tags_url": "https://api.github.com/repos/avtar/gpii-sort/tags",
"blobs_url": "https://api.github.com/repos/avtar/gpii-sort/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/avtar/gpii-sort/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/avtar/gpii-sort/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/avtar/gpii-sort/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/avtar/gpii-sort/statuses/{sha}",
"languages_url": "https://api.github.com/repos/avtar/gpii-sort/languages",
"stargazers_url": "https://api.github.com/repos/avtar/gpii-sort/stargazers",
"contributors_url": "https://api.github.com/repos/avtar/gpii-sort/contributors",
"subscribers_url": "https://api.github.com/repos/avtar/gpii-sort/subscribers",
"subscription_url": "https://api.github.com/repos/avtar/gpii-sort/subscription",
"commits_url": "https://api.github.com/repos/avtar/gpii-sort/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/avtar/gpii-sort/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/avtar/gpii-sort/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/avtar/gpii-sort/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/avtar/gpii-sort/contents/{+path}",
"compare_url": "https://api.github.com/repos/avtar/gpii-sort/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/avtar/gpii-sort/merges",
"archive_url": "https://api.github.com/repos/avtar/gpii-sort/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/avtar/gpii-sort/downloads",
"issues_url": "https://api.github.com/repos/avtar/gpii-sort/issues{/number}",
"pulls_url": "https://api.github.com/repos/avtar/gpii-sort/pulls{/number}",
"milestones_url": "https://api.github.com/repos/avtar/gpii-sort/milestones{/number}",
"notifications_url": "https://api.github.com/repos/avtar/gpii-sort/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/avtar/gpii-sort/labels{/name}",
"releases_url": "https://api.github.com/repos/avtar/gpii-sort/releases{/id}",
"deployments_url": "https://api.github.com/repos/avtar/gpii-sort/deployments",
"created_at": 1498512550,
"updated_at": "2017-06-26T21:29:12Z",
"pushed_at": 1498659749,
"git_url": "git://github.com/avtar/gpii-sort.git",
"ssh_url": "git@github.com:avtar/gpii-sort.git",
"clone_url": "https://github.com/avtar/gpii-sort.git",
"svn_url": "https://github.com/avtar/gpii-sort",
"homepage": null,
"size": 42,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 2,
"forks": 1,
"open_issues": 2,
"watchers": 0,
"default_branch": "master",
"stargazers": 0,
"master_branch": "master"
},
"pusher": {
"name": "avtar",
"email": "avtargill@gmail.com"
},
"sender": {
"login": "avtar",
"id": 19056,
"avatar_url": "https://avatars2.githubusercontent.com/u/19056?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/avtar",
"html_url": "https://github.com/avtar",
"followers_url": "https://api.github.com/users/avtar/followers",
"following_url": "https://api.github.com/users/avtar/following{/other_user}",
"gists_url": "https://api.github.com/users/avtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avtar/subscriptions",
"organizations_url": "https://api.github.com/users/avtar/orgs",
"repos_url": "https://api.github.com/users/avtar/repos",
"events_url": "https://api.github.com/users/avtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/avtar/received_events",
"type": "User",
"site_admin": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment