OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/modules/github_integration/spec/fixtures/github_webhooks/ping/ping.json

288 lines
16 KiB

{
"zen": "Favor focus over features.",
"hook_id": 289587351,
"hook": {
"type": "Repository",
"id": 289587351,
"name": "web",
"active": true,
"events": ["*"],
"config": {
"content_type": "json",
"insecure_ssl": "0",
"url": "http://dyndns.test_usernaut.de/webhooks/github?key=12a17eb237b75e3625f4642ce7ecefa8cfd91a619d8bf12dc738415a7bed860a"
},
"updated_at": "2021-03-31T23:00:38Z",
"created_at": "2021-03-31T23:00:38Z",
"url": "https://api.github.com/repos/test_user/webhooks_playground/hooks/289587351",
"test_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks/289587351/test",
"ping_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks/289587351/pings",
"last_response": { "code": null, "status": "unused", "message": null }
},
"repository": {
"id": 353509696,
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM1MDk2OTY=",
"name": "webhooks_playground",
"full_name": "test_user/webhooks_playground",
"private": false,
"owner": {
"login": "test_user",
"id": 206108,
"node_id": "MDQ6VXNlcjIwNjEwOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/test_user",
"html_url": "https://github.com/test_user",
"followers_url": "https://api.github.com/users/test_user/followers",
"following_url": "https://api.github.com/users/test_user/following{/other_user}",
"gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
"starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
"organizations_url": "https://api.github.com/users/test_user/orgs",
"repos_url": "https://api.github.com/users/test_user/repos",
"events_url": "https://api.github.com/users/test_user/events{/privacy}",
"received_events_url": "https://api.github.com/users/test_user/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/test_user/webhooks_playground",
"description": "a toy repo to play with GH webhooks",
"fork": false,
"url": "https://api.github.com/repos/test_user/webhooks_playground",
"forks_url": "https://api.github.com/repos/test_user/webhooks_playground/forks",
"keys_url": "https://api.github.com/repos/test_user/webhooks_playground/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/test_user/webhooks_playground/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/test_user/webhooks_playground/teams",
"hooks_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks",
"issue_events_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/events{/number}",
"events_url": "https://api.github.com/repos/test_user/webhooks_playground/events",
"assignees_url": "https://api.github.com/repos/test_user/webhooks_playground/assignees{/user}",
"branches_url": "https://api.github.com/repos/test_user/webhooks_playground/branches{/branch}",
"tags_url": "https://api.github.com/repos/test_user/webhooks_playground/tags",
"blobs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/test_user/webhooks_playground/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/test_user/webhooks_playground/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/test_user/webhooks_playground/statuses/{sha}",
"languages_url": "https://api.github.com/repos/test_user/webhooks_playground/languages",
"stargazers_url": "https://api.github.com/repos/test_user/webhooks_playground/stargazers",
"contributors_url": "https://api.github.com/repos/test_user/webhooks_playground/contributors",
"subscribers_url": "https://api.github.com/repos/test_user/webhooks_playground/subscribers",
"subscription_url": "https://api.github.com/repos/test_user/webhooks_playground/subscription",
"commits_url": "https://api.github.com/repos/test_user/webhooks_playground/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/test_user/webhooks_playground/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/test_user/webhooks_playground/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/test_user/webhooks_playground/contents/{+path}",
"compare_url": "https://api.github.com/repos/test_user/webhooks_playground/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/test_user/webhooks_playground/merges",
"archive_url": "https://api.github.com/repos/test_user/webhooks_playground/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/test_user/webhooks_playground/downloads",
"issues_url": "https://api.github.com/repos/test_user/webhooks_playground/issues{/number}",
"pulls_url": "https://api.github.com/repos/test_user/webhooks_playground/pulls{/number}",
"milestones_url": "https://api.github.com/repos/test_user/webhooks_playground/milestones{/number}",
"notifications_url": "https://api.github.com/repos/test_user/webhooks_playground/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/test_user/webhooks_playground/labels{/name}",
"releases_url": "https://api.github.com/repos/test_user/webhooks_playground/releases{/id}",
"deployments_url": "https://api.github.com/repos/test_user/webhooks_playground/deployments",
"created_at": "2021-03-31T22:46:08Z",
"updated_at": "2021-03-31T22:59:47Z",
"pushed_at": "2021-03-31T22:59:44Z",
"git_url": "git://github.com/test_user/webhooks_playground.git",
"ssh_url": "git@github.com:test_user/webhooks_playground.git",
"clone_url": "https://github.com/test_user/webhooks_playground.git",
"svn_url": "https://github.com/test_user/webhooks_playground",
"homepage": null,
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Ruby",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"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"
},
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main"
},
"sender": {
"login": "test_user",
"id": 206108,
"node_id": "MDQ6VXNlcjIwNjEwOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/test_user",
"html_url": "https://github.com/test_user",
"followers_url": "https://api.github.com/users/test_user/followers",
"following_url": "https://api.github.com/users/test_user/following{/other_user}",
"gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
"starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
"organizations_url": "https://api.github.com/users/test_user/orgs",
"repos_url": "https://api.github.com/users/test_user/repos",
"events_url": "https://api.github.com/users/test_user/events{/privacy}",
"received_events_url": "https://api.github.com/users/test_user/received_events",
"type": "User",
"site_admin": false
},
"key": "12a17eb237b75e3625f4642ce7ecefa8cfd91a619d8bf12dc738415a7bed860a",
"controller": "webhooks/incoming/hooks",
"action": "handle_hook",
"hook_name": "github",
"payload": {
"zen": "Favor focus over features.",
"hook_id": 289587351,
"hook": {
"type": "Repository",
"id": 289587351,
"name": "web",
"active": true,
"events": ["*"],
"config": {
"content_type": "json",
"insecure_ssl": "0",
"url": "http://dyndns.test_usernaut.de/webhooks/github?key=12a17eb237b75e3625f4642ce7ecefa8cfd91a619d8bf12dc738415a7bed860a"
},
"updated_at": "2021-03-31T23:00:38Z",
"created_at": "2021-03-31T23:00:38Z",
"url": "https://api.github.com/repos/test_user/webhooks_playground/hooks/289587351",
"test_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks/289587351/test",
"ping_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks/289587351/pings",
"last_response": { "code": null, "status": "unused", "message": null }
},
"repository": {
"id": 353509696,
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM1MDk2OTY=",
"name": "webhooks_playground",
"full_name": "test_user/webhooks_playground",
"private": false,
"owner": {
"login": "test_user",
"id": 206108,
"node_id": "MDQ6VXNlcjIwNjEwOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/test_user",
"html_url": "https://github.com/test_user",
"followers_url": "https://api.github.com/users/test_user/followers",
"following_url": "https://api.github.com/users/test_user/following{/other_user}",
"gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
"starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
"organizations_url": "https://api.github.com/users/test_user/orgs",
"repos_url": "https://api.github.com/users/test_user/repos",
"events_url": "https://api.github.com/users/test_user/events{/privacy}",
"received_events_url": "https://api.github.com/users/test_user/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/test_user/webhooks_playground",
"description": "a toy repo to play with GH webhooks",
"fork": false,
"url": "https://api.github.com/repos/test_user/webhooks_playground",
"forks_url": "https://api.github.com/repos/test_user/webhooks_playground/forks",
"keys_url": "https://api.github.com/repos/test_user/webhooks_playground/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/test_user/webhooks_playground/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/test_user/webhooks_playground/teams",
"hooks_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks",
"issue_events_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/events{/number}",
"events_url": "https://api.github.com/repos/test_user/webhooks_playground/events",
"assignees_url": "https://api.github.com/repos/test_user/webhooks_playground/assignees{/user}",
"branches_url": "https://api.github.com/repos/test_user/webhooks_playground/branches{/branch}",
"tags_url": "https://api.github.com/repos/test_user/webhooks_playground/tags",
"blobs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/test_user/webhooks_playground/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/test_user/webhooks_playground/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/test_user/webhooks_playground/statuses/{sha}",
"languages_url": "https://api.github.com/repos/test_user/webhooks_playground/languages",
"stargazers_url": "https://api.github.com/repos/test_user/webhooks_playground/stargazers",
"contributors_url": "https://api.github.com/repos/test_user/webhooks_playground/contributors",
"subscribers_url": "https://api.github.com/repos/test_user/webhooks_playground/subscribers",
"subscription_url": "https://api.github.com/repos/test_user/webhooks_playground/subscription",
"commits_url": "https://api.github.com/repos/test_user/webhooks_playground/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/test_user/webhooks_playground/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/test_user/webhooks_playground/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/test_user/webhooks_playground/contents/{+path}",
"compare_url": "https://api.github.com/repos/test_user/webhooks_playground/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/test_user/webhooks_playground/merges",
"archive_url": "https://api.github.com/repos/test_user/webhooks_playground/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/test_user/webhooks_playground/downloads",
"issues_url": "https://api.github.com/repos/test_user/webhooks_playground/issues{/number}",
"pulls_url": "https://api.github.com/repos/test_user/webhooks_playground/pulls{/number}",
"milestones_url": "https://api.github.com/repos/test_user/webhooks_playground/milestones{/number}",
"notifications_url": "https://api.github.com/repos/test_user/webhooks_playground/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/test_user/webhooks_playground/labels{/name}",
"releases_url": "https://api.github.com/repos/test_user/webhooks_playground/releases{/id}",
"deployments_url": "https://api.github.com/repos/test_user/webhooks_playground/deployments",
"created_at": "2021-03-31T22:46:08Z",
"updated_at": "2021-03-31T22:59:47Z",
"pushed_at": "2021-03-31T22:59:44Z",
"git_url": "git://github.com/test_user/webhooks_playground.git",
"ssh_url": "git@github.com:test_user/webhooks_playground.git",
"clone_url": "https://github.com/test_user/webhooks_playground.git",
"svn_url": "https://github.com/test_user/webhooks_playground",
"homepage": null,
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Ruby",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"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"
},
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main"
},
"sender": {
"login": "test_user",
"id": 206108,
"node_id": "MDQ6VXNlcjIwNjEwOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/test_user",
"html_url": "https://github.com/test_user",
"followers_url": "https://api.github.com/users/test_user/followers",
"following_url": "https://api.github.com/users/test_user/following{/other_user}",
"gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
"starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
"organizations_url": "https://api.github.com/users/test_user/orgs",
"repos_url": "https://api.github.com/users/test_user/repos",
"events_url": "https://api.github.com/users/test_user/events{/privacy}",
"received_events_url": "https://api.github.com/users/test_user/received_events",
"type": "User",
"site_admin": false
}
}
}